Exporting mounted filesystems

Sergey Zaharchenko doublef at tele-kom.ru
Fri Jan 21 11:44:55 PST 2005


On Fri, Jan 21, 2005 at 08:27:00PM +0100,
 Jan Branbergen probably wrote:
Content-Description: body
> >> Hi,
> > >
> > > i am running FBSD 4.10 and i am trying to export mounted
> > filesystems ( usb
> > > stick and cdrom )
> > >
> > > currently there are 2 subdirs in /mnt: da0 and cdrom.
> > >From "man exports" :
> > "................... specifies the mount point(s) and export flags
> > within
> > one local server
> >      file system for one or more
> > hosts................................."
> 
> I will try to clarify:
> 
> HOST1:
> 
> /etc/exports:
> /mnt    -network 192.168.1 -mask 255.255.255.0 -maproot=0
> 
> my /mnt contains 2 directories: da0 and cdrom
> 
> next, on this machine i mount a usb stick:
>   mount_msdos /dev/da0s1 /mnt/da0 

You export a filesystem, not a directory with its subdirectories. You
need to export /mnt/da0 etc. explicitly it /etc/exports.

-- 
DoubleF
Always remember that you are unique.  Just like everyone else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050121/c3185231/attachment.bin


More information about the freebsd-questions mailing list