Bugzilla – Bug 145258
filesystems mounted twice
Last modified: 2006-01-30 15:47:06 UTC
i have a seperate /abuild on /dev/hda12. when booting i see : mount: /dev/hda12 already mounted on /abuild and on an earlier run it was already mounted as e2fsck was called. i will attach /var/log/boot.msg.
Created attachment 64834 [details] boot.msg
Please attach the /etc/fstab
Created attachment 64835 [details] fstab
'udev' and 'boot.localfs' are racing for 'fsck' and 'mount'... See bug #145400 -- but I don't think it's a simple duplicate. Does anybody know, what happens if 'fsck.*' is halfway through a filesystem, while somebody else blindly triggers a 'mount' ? (on every "supported" file-system?)
Shouldn't happen. boot.localfs has a dependency on boot.udev. boot.udev waits for all events to finish, ie also all fsck / mount calls triggered by events will be done once boot.udev finishes. The only instance where this _might_ happen is when using USB disks, as USB detects devices asynchronously.
boot.localfs mounts with "-noopts=hotplug", udev will only touch the hotplug devices now.