On Wed, Oct 01, 2008 at 12:43:01PM +0300, EforeZZ wrote: > > > I'm able to mount only //pc/share (not //pc/share/folder) and I do not > > have > > > read access to read contents of "//pc/share" and FreeBSD does not let me > > to > > > change the directory to "//pc/share/folder". > > > Windows allows to mount //pc/share/folder and I have no access problems > > in > > > Windows. > > > Is there any solution for FreeBSD? > > > > Read the mount_smbfs manual page (with the command 'man mount_smbfs'). A > > quick look tells us that you'll need to use //[EMAIL PROTECTED]/share/folder > > instead of //pc/share/folder. Other options allow you to configure > > access rights and owner/group attributes. > > > > I do use //[EMAIL PROTECTED]/share/folder for mounting but I get //[EMAIL > PROTECTED]/share > mounted instead of //[EMAIL PROTECTED]/share/folder. > It seems that the "/folder" part is ignored.
Generally, you can mount a filesystem, but not just a subdirectory. You might be able to mount the share somewhere and then use mount_nullfs to mount the subdirectory you want somewhere else. See mount_nullfs(8). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
pgpx7MAqraxpJ.pgp
Description: PGP signature