Age | Commit message (Collapse) | Author |
|
This functions will:
- umount all mount points that aren't API
- remount read-only all mount points that can't be umounted
- umount all swap devices.
- detach all loopback devices
TODO:
- umount dms
Mountpoints are being read from /proc/self/mountinfo.
Swaps are being read from /proc/swaps.
Loop devices from /sys/class/block/loop*.
|
|
|
|
hierarchies
|
|
and readahead()
|
|
passphrases from the user
|
|
|
|
|
|
|
|
|
|
precedence over distro-specific configuration
In order to unify configuration across distributions we pick the
simple-most option by default (Debian's /etc/hostname) and then fall
back to distro-specific hacks if that doesn't exist.
|
|
of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this
|
|
single user mode
|
|
|
|
|
|
and into a helper binary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|