Can I mount an smb service subdirectory?

I am using smbmount to mount network NT shares from my Linux box.  One mount point has 750 sub-directories, and I have to wait for them all to load before I can select my target subdirectory.  

Is there a way I can mount a target subdirectory directly if it is not the explicitly shared smb service?

When I attempt to mount the target sub I get a 1644: tree connect failed: ERRDOS - ERRnosuchshare error

Thanks
LVL 5
porearAsked:
Who is Participating?
 
vsamtaniConnect With a Mentor Commented:
No, there's no way to mount at a point below the shared directory. It's a restriction of SMB.

Can you put the smbmount command into a background script, eg one of the startup scripts, or into the /etc/fstab so that it mounts itself at startup?

Vijay

0
 
porearAuthor Commented:
I was afraid this was the case.

I am not mounting these network shares in fstab because they are used infrequently - I'll just suffer the inconvenience.

Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.