Re: Invalid canonicalization for smbfs nodes

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

 



On Thu, Nov 15, 2007 at 08:13:16PM +0100, Pascal Terjan wrote:
> 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

 Fixed (for cifs, nfs and smbfs)

> - In update_mtab_entry(), canonicalize should not be called on remote
> types

 mount(8) doesn't update mtab for these filesystems (we use
 /sbin/mount.<type> in this particular case).

> - 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...

 Fixed.

 Thanks for your report.

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
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