The Samba-Bugzilla – Bug 4712
wishlist: mounting subdirectory from a share
Last modified: 2008-12-05 14:13:29 UTC
runing Debian testing with kernel 2.6.18 and samba 3.0.25a:
# mount -t cifs -o username=noel //localhost/noel/debian /mnt/samba
//localhost/noel 5382836 4484636 898200 84% /mnt/samba
The subdirectory "debian" of the share "noel" is cut off without notice.
The request is to support this mounting of a subdirectory in a share.
Windows doesn't support this but I think it would be helpfull.
From a discussion on IRC, AlexanderAlexander Bokovoy Bokovoy mentioned that this feature has been recently added to the cifs kernel module.
Given the deprecated of smbfs, I think there's no chance that this bug is ever fixed and I propose closing it as WONTFIX
prefixpath mount option (which is automatically added by reasonably current mount.cifs when a user mounts something li,ke //server/share/directory) is now available and should work fine since cifs version 1.52 ("cat /proc/fs/cifs/DebugData to see the cifs module's version)