export /cdrom without mounting?
reed at reedmedia.net
reed at reedmedia.net
Mon Dec 3 13:50:24 PST 2007
On Mon, 3 Dec 2007, Josh Paetzel wrote:
> On Monday 03 December 2007 10:51:33 am reed at 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).
More information about the freebsd-chat
mailing list