I looked at the man of mount.
Here is a section that might help:
Since Linux 2.4.0 it is possible to remount part of the file hierarchy
somewhere else. The call is
mount --bind olddir newdir
After this call the same contents is accessible in two places. One can
also remount a single file (on a single file).
This call attaches only (part of) a single filesystem, not possible
submounts. The entire file hierarchy including submounts is attached a
second place using
mount --rbind olddir newdir
I don't understand this --rbind but maybe it can help mount the
directory you need after the initial mount of the root dir.
On 7/25/07, Jason Friedman <[EMAIL PROTECTED]> wrote:
Hi all,
I am having trouble with smbmount.
I am able to access a directory using smbclient. The root directory of the
share I am connecting to does not allow its directory to be listed. I don't
have control of the server. The directory that I want is a sub-sub
directory.
so I do something like this:
smbclient //servername/share -U username
and then cd /some/deep/directory
and I can see my files.
I want to replicate this with smbmount:
smbmount //servername/share /mnt/mountpoint -o username=username
It does connect, but I cannot list the directory, nor change to my
directory.
any ideas?
Thanks,
Jason
--
Jason Friedman
Postdoctoral researcher
Pennsylvania State University
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]