[Pkg-samba-maint] Bug#620818: mount.cifs appends trailing slash to share name in kernel

Jan Engelhardt jengelh at medozas.de
Mon Apr 4 11:55:53 UTC 2011


Package: cifs-utils
Version: 4.9

Bug #586009 has essentially not been solved. Fixing mtab won't help when 
you run systems with /etc/mtab as a symlink to /proc/self/mounts.

# strace -fe mount -s 65536 -v mount -t cifs //localhost/homes /mnt -o user=root
[pid  2734] mount("//localhost/homes/", ".", "cifs", 0, "ip=::1,unc=\\\\localhost\\homes,,ver=1,user=root,pass=abc") = 0

# tail -n1 /proc/self/mounts
//localhost/homes/ /mnt cifs rw,relatime,unc=\\localhost\homes,username=root,uid=0,noforceuid,gid=0,noforcegid,addr=0000:0000:0000:0000:0000:0000:0000:0001,posixpaths,serverino,acl,rsize=16384,wsize=57344,actimeo=1 0 0





More information about the Pkg-samba-maint mailing list