Date: Wed, 1 Oct 2008 22:02:36 +0200 From: Roland Smith <rsmith@xs4all.nl> To: EforeZZ <eforezz@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: built-in samba mount Message-ID: <20081001200236.GA58548@slackbox.xs4all.nl> In-Reply-To: <b09816520810010243i618002b6p7521087bc4de34ed@mail.gmail.com> References: <b09816520809300918s10581d07i79dc22ec69e96636@mail.gmail.com> <20080930173802.GB16426@slackbox.xs4all.nl> <b09816520810010243i618002b6p7521087bc4de34ed@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 proble= ms > > 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@pc/share/folder > > instead of //pc/share/folder. Other options allow you to configure > > access rights and owner/group attributes. > > >=20 > I do use //user@pc/share/folder for mounting but I get //user@pc/share > mounted instead of //user@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 --=20 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) --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjj11wACgkQEnfvsMMhpyWHIwCgiZAGeSjhyhqlpMtq/6KDfani 4IcAn2Jn6BRoQc0zVr35FCyuH2q8bwx+ =mghD -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081001200236.GA58548>