mountall
checks all available block devices, LVM volumes and MD RAID devices and tries to
automatically mount them. Filesystems are autodetected and default options used. They are all
mounted into /mnt
with their device names, so for example /mnt/sda1
.
/dev
, /proc
and /sys
When mountall detects that a filesystem contains the directories /dev
, /proc
or /sys
, it
guesses that the partition is a root partition for a Linux system. It then bind-mounts these
directories from System Rescue into it. This helps when chrooting into the path: many common
commands, like grub-install
or rpm
, require these directories to be available and populated.
You can disable this behavior with the --no-bind
option.
mountall - mount all suitable block devices
Usage:
mountall [-n|--no-bind] [-v|--verbose]
--no-bind Don't try to bind-mount /dev /proc and /sys when
the partition has these dirs
--verbose Verbose output.