summaryrefslogtreecommitdiff
path: root/packages/udev/files
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2006-11-13 18:57:30 +0000
committerCliff Brake <cbrake@bec-systems.com>2006-11-13 18:57:30 +0000
commit40951de5f883d7a2d9d5445a9b73c3424ee245f1 (patch)
tree6a9d8dfe2fef258e9dd8b079c3517b0c1edbfbe6 /packages/udev/files
parent1c9e8b7ced097812f43cdd5782023464cef09ed8 (diff)
parente2e9b0ab1d6af8ec246cef0f9d848083dff2b8e0 (diff)
merge of '9ebe19c38b13611632684c440b048e45471bf916'
and 'e0d42dfa54011bb501a5a723ec0554c757bfc933'
Diffstat (limited to 'packages/udev/files')
-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