Comment 6 for bug 809221

Revision history for this message
Tv (tv42) wrote :

mountall calls strip_slashes for the device and the mount path. For mount path, it makes sense. For mounting /dev/sda on something, having /dev mounted first makes sense, and I guess for that you need strip_slashes. Perhaps the strip slashes and that part of the dependency logic should only trigger for bind mounts or things in /dev. A simpler check for that might be "not a remote filesystem" -- you already have is_remote, and for remote filesystems the device just isn't a local path ever.