Re: export /cdrom without mounting?
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).
_______________________________________________
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
討論串 (同標題文章)