Exporting mounted filesystems

Jan Branbergen freebsd at evation.com
Fri Jan 21 11:34:03 PST 2005

>> 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:


/mnt    -network 192.168.1 -mask -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 
or a CD
  mount_cd9660 /dev/acd0c /mnt/cdrom

however, when i mount this exported /mnt on another machine ( mount_nfs HOST1:/mnt /mnt ), i do not see the mounted CD or usbstick, just the plain empty da0 and cdrom directories. i can see the files on the CD and usbstick on the local machine fine.

even if i mount the CDROM directly onto /mnt
   mount_cd9660 /dev/acd0c /mnt

i still see just the underlying filesystem ( with 2 empty dirs: da0 and cdrom )

what am I doing wrong? 


Jan Branbergen

More information about the freebsd-questions mailing list