From owner-freebsd-chat@FreeBSD.ORG Mon Dec 3 21:50:24 2007 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BE6616A417 for ; Mon, 3 Dec 2007 21:50:24 +0000 (UTC) (envelope-from reed@reedmedia.net) Received: from c-0500.emailmediator.com (c-0500.emailmediator.com [64.85.162.118]) by mx1.freebsd.org (Postfix) with ESMTP id DC4DB13C442 for ; Mon, 3 Dec 2007 21:50:22 +0000 (UTC) (envelope-from reed@reedmedia.net) Received: from pool-71-170-114-32.dllstx.fios.verizon.net ([71.170.114.32] helo=reedmedia.net) by c-0500.emailmediator.com with esmtpa (Exim 4.67) (envelope-from ) id 1IzJBG-0005pf-6F; Mon, 03 Dec 2007 16:50:22 -0500 Received: from reed@reedmedia.net by reedmedia.net with local (mailout 0.17) id 5109-1196718635; Mon, 03 Dec 2007 15:50:36 -0600 Date: Mon, 3 Dec 2007 15:50:35 -0600 (CST) From: reed@reedmedia.net To: Josh Paetzel In-Reply-To: <200712031421.10635.josh@tcbug.org> Message-ID: References: <200712031421.10635.josh@tcbug.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-chat@freebsd.org Subject: Re: export /cdrom without mounting? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 21:50:24 -0000 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).