built-in samba mount
Roland Smith
rsmith at xs4all.nl
Wed Oct 1 20:02:39 UTC 2008
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 //user at pc/share/folder
> > instead of //pc/share/folder. Other options allow you to configure
> > access rights and owner/group attributes.
> >
>
> I do use //user at pc/share/folder for mounting but I get //user at pc/share
> mounted instead of //user at pc/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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081001/cd6105ab/attachment.pgp
More information about the freebsd-questions
mailing list