# `Sys.Linux.Proc.Mounts`
[🔗](https://github.com/harmont-dev/hyper/blob/main/lib/sys/linux/proc/mounts.ex#L1)

Reads the currently-mounted filesystems from `/proc/mounts`.

# `list`

```elixir
@spec list() :: {:ok, [Sys.Linux.Fstab.Spec.t()]} | {:error, File.posix()}
```

List the currently-mounted filesystems.

# `parse`

```elixir
@spec parse(String.t()) :: [Sys.Linux.Fstab.Spec.t()]
```

Parse a `/proc/mounts` payload: one fstab-formatted line per mount. Lines
that do not parse as fstab entries are skipped — the file is
kernel-generated, so a malformed line is noise, not an error.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
