Bugzilla – Bug 143352
mount hotplug option not working
Last modified: 2006-02-01 01:28:19 UTC
The mount hotplug option is not working since util-linux-2.12r.
The kernel doesn't know about MS_HOTPLUG and reports EINVAL in the mount syscall. That's why the present hotplug option patch does not work any longer. And because the kernel actually doesn't need to know this option, I removed the flag from the mount syscall in mount.c.
Created attachment 65386 [details] fix
Did you submit a fixed package? If not, please do so and resolve this bug.
yes, it's fixed in STABLE.
- ret = mount (args->spec, args->node, args->type, flags, args->data); + /* don't pass MS_HOTPLUG to the kernel (Bug: 143352) */ + ret = mount (args->spec, args->node, args->type, flags & !MS_HOTPLUG, args->data); flags & !MS_HOTPLUG will always be zero.
ok, fix checked in.
!MS_HOTPLUG is 0 ~MS_HOTPLUG is probably what was wanted ...