[linux-cifs-client] Re: mount to symlink dir
Pierre Ossman
drzeus-bugzilla at drzeus.cx
Wed Sep 20 21:40:54 GMT 2006
Steve French wrote:
> Shaggy reminded me about bind mounts, if it were not for the problem
> doing umount, then it would be safer to do
> the "deep tree mounts" (bugzilla.samba.org bug #4040) in userspace (in
> mount.cifs)
> mount -t cifs //server/share/path /mnt
> would be handled by mount.cifs by doing
> mount -t cifs //server/share /mnt
> mount --bind /mnt/path /mnt
>
> Although this is safer (no kernel code change needed) it causes the
> problem that we
> would have to find a way to automatically do "umount /mnt" twice
> (to get rid of bind mount and the underlying mount).
>
> Ideas?
Does this go around the permission problem outlined in #4040?
Rgds
Pierre
More information about the linux-cifs-client
mailing list