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  <[EMAIL PROTECTED]>
-
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