Invalid canonicalization for smbfs nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux