1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:07:35 +00:00

Revert "Kernel & Userland: Allow to mount image files formatted with Ext2FS"

This reverts commit a60ea79a41.

Reverting these changes since they broke things.
Fixes #1608.
This commit is contained in:
Andreas Kling 2020-04-03 21:20:46 +02:00
parent 28be90120b
commit 9ae3cced76
8 changed files with 51 additions and 101 deletions

View file

@ -12,26 +12,18 @@ $ mount
## Description
If invoked without any arguments, `mount` prints a list of all currently mounted
filesystems.
If invoked without any arguments, `mount` prints a list of all currently mounted filesystems.
If invoked as `mount -a`, `mount` mounts all the filesystems configured in
`/etc/fstab`. This is normally done on system startup by
[`SystemServer`(7)](../man7/SystemServer.md).
If invoked as `mount -a`, `mount` mounts all the filesystems configured in `/etc/fstab`. This
is normally done on system startup by [`SystemServer`(7)](../man7/SystemServer.md).
Otherwise, `mount` performs a single filesystem mount. Source should be a path
to a file containing the filesystem image. Target, and fstype have the same
meaning as in the [`mount`(2)](../man2/mount.md) syscall (if not specified,
fstype defaults to `ext2`).
Otherwise, `mount` performs a single filesystem mount. Source, target, and fstype have the
same meaning as in the [`mount`(2)](../man2/mount.md) syscall (if not specified, fstype
defaults to `ext2`).
A special source value "none" is recognized, in which case
[`mount`(8)](mount.md) will not attempt to open the source as a file, and will
pass an invalid file descriptor to [`mount`(2)](../man2/mount.md). This is
useful for mounting pseudo filesystems.
Options correspond to the mount flags, and should be specified as a
comma-separated list of flag names (lowercase and without the `MS_` prefix).
Additionally, the name `defaults` is accepted and ignored.
Options correspond to the mount flags, and should be specified as a comma-separated list of
flag names (lowercase and without the `MS_` prefix). Additionally, the name `defaults` is
accepted and ignored.
## Files