summaryrefslogtreecommitdiff
path: root/packages/udev/files/mount.sh
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2006-11-13 19:10:05 +0000
committerCliff Brake <cbrake@bec-systems.com>2006-11-13 19:10:05 +0000
commitf7171587f09b13c97cc73109cd9eaf7c5aa78e47 (patch)
treeb5946293f56e4dee2d643c5c411ed77405f4001f /packages/udev/files/mount.sh
parent38d9e8aff1967820b22faeea83610c3c359f7705 (diff)
parent40951de5f883d7a2d9d5445a9b73c3424ee245f1 (diff)
merge of '119a1b8e3787f193a0a34391450debc2878897c4'
and '4f36e4b6e145cb3251f372bb7153308459b7ea41'
Diffstat (limited to 'packages/udev/files/mount.sh')
-rw-r--r--packages/udev/files/mount.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/udev/files/mount.sh b/packages/udev/files/mount.sh
index 48c7844690..be8b3dfca9 100644
--- a/packages/udev/files/mount.sh
+++ b/packages/udev/files/mount.sh
@@ -50,6 +50,11 @@ if [ "$ACTION" = "add" ] && [ -n "$DEVNAME" ]; then
fi
# If the device isn't mounted at this point, it isn't configured in fstab
+ # 20061107: Small correction: The rootfs partition may be called just "rootfs" and not by
+ # its true device name so this would break. If the rootfs is mounted on two places
+ # during boot, it confuses the heck out of fsck. So Im auto-adding the root-partition
+ # to /etc/udev/mount.blacklist via postinst
+
cat /proc/mounts | awk '{print $1}' | grep -q "^$DEVNAME$" || automount
fi