Skip site navigation (1)Skip section navigation (2)
Date:      21 Jan 2005 20:27:00 CET
From:      Jan Branbergen <freebsd@evation.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Exporting mounted filesystems
Message-ID:  <20050121193402.53FCA43D4C@mx1.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
--0-1804289383-1106336041=:49559
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
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 
or a CD
  mount_cd9660 /dev/acd0c /mnt/cdrom

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

regards,

Jan Branbergen
--0-1804289383-1106336041=:49559--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121193402.53FCA43D4C>