Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2007 15:50:35 -0600 (CST)
From:      reed@reedmedia.net
To:        Josh Paetzel <josh@tcbug.org>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: export /cdrom without mounting?
Message-ID:  <Pine.NEB.4.64.0712031549070.2087@tx.reedmedia.net>
In-Reply-To: <200712031421.10635.josh@tcbug.org>
References:  <Pine.NEB.4.64.0712031042580.2087@tx.reedmedia.net> <200712031421.10635.josh@tcbug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Dec 2007, Josh Paetzel wrote:

> On Monday 03 December 2007 10:51:33 am reed@reedmedia.net wrote:
> > The handbook at
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
> > shows exporting /cdrom.
> >
> > The exports(5) man page seems to indicate a similar exports(5) entry will
> > fail since /cdom is not mounted. And if the -alldirs option is not used it
> > would just export the empty /cdrom directory (empty because not mounted).
> >
> > So should the handbook say that /cdrom should be mounted first?
> >
> > (Usually /cdrom mounted point is listed in /etc/fstab with "noauto".)
> 
> Needing the filesystem mounted that you are trying to share seems sort of 
> intuitive to me.  The handbook doesn't say that /home has to be mounted 
> either....

While I agree for you and me it is intuitive, but the handbook reaches a 
larger audience.

As for /home not a good example. As /home is often a symlink by default to 
/usr/home and is nearly always mounted while /cdrom is not (noauto).



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