Harald Hoyer
f0e10d9351
usrmount/mount-usr.sh: check the right path with ismounted
13 years ago
Harald Hoyer
f225f180e3
usrmount/mount-usr.sh: give emergency_shell if /usr mount failed
13 years ago
Harald Hoyer
7209df9e91
do not umount root, remount it. do not mount ro if not specified
...
also mount /usr readonly if "ro" is specified on the command line
if /usr is a btrfs subvolume of root, use the same mount options
13 years ago
Amadeusz Żołnowski
9fb01d49d6
new option: rd.skipfsck to skip fsck for rootfs and /usr
13 years ago
Amadeusz Żołnowski
2ee48b4b4b
98usrmount: force mounting /usr read-only option (rd.usrmount.ro)
13 years ago
Amadeusz Żołnowski
4ea629b9e1
98usrmount: depend on fs-lib
13 years ago
Harald Hoyer
840d8e4733
add filesystem options to fsck_single()
...
if we have e.g. special btrfs options for "/" and "/usr", we want to use
those for the test mount to determine if the filesystem is corrupted.
13 years ago
Harald Hoyer
9eded206c9
98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab
13 years ago
Harald Hoyer
b642ce5340
98usrmount/mount-usr.sh: ignore comments in fstab
13 years ago
Colin Guthrie
e0a38de881
mount-usr: Calculate and pass full fsck options when mounting /usr.
...
Edited-By: Harald Hoyer <harald@redhat.com>
13 years ago
Harald Hoyer
cd9592385d
98usrmount/mount-usr.sh: honor fs_passno in /etc/fstab
...
If the sixth field in /etc/fstab is "0" or not present for /usr, do not
run fsck.
This prevents fsck for nfs /usr also.
13 years ago
Harald Hoyer
fb67e4aa36
shutdown on demand
...
Do not save and restore the initramfs, but instead, just unpack the
default initramfs for shutdown on shutdown.
13 years ago
Harald Hoyer
075de7be45
98usrmount/mount-usr.sh: remove extra slash
...
otherwise we have /sysroot//usr in fstab
13 years ago
Harald Hoyer
1b91369455
98usrmount/mount-usr.sh: do not mount /usr read-only
...
https://bugzilla.redhat.com/show_bug.cgi?id=782897
13 years ago
Cong Wang
1b7fd0fa3e
Check module dependencies of mount points
...
Like -H, we need to poll every module to check if it is needed
to mount a specific device in '--mount'.
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
13 years ago
Duane Griffin
345f9fa77e
98usrmount/mount-usr.sh: Don't pass mount options to fsck
13 years ago
Colin Guthrie
7eb8797b81
Fix /usr mounting due to variable name typo
13 years ago
Harald Hoyer
470ee2d214
99base/init, 98usrmount: mount /usr if found in /sysroot/etc/fstab
...
We cannot boot correctly without /usr, because of
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
so, we mount /usr readonly.
13 years ago