Hi,
when calling "mount -t smbfs //foo/bar /mnt/foo", mount.smbfs will be
called with /foo/bar if /foo/bar exists locally, and will display its
usage.

I think canonicalize should not be called when type == smbfs but also
for some others (cifs at least), and that would need to be done at
various places:
- In mount_one(), fsprobe_get_devname_for_mounting should not be called
on remote types
- In update_mtab_entry(), canonicalize should not be called on remote
types
- In mounted(), fsprobe_get_devname() is called and then canonicalize()
is also while fsprobe_get_devname() already calls canonicalize() but
the issue there is that the type is unknown...


-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to