From owner-freebsd-questions Tue Jan 6 13:14:48 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA21808 for questions-outgoing; Tue, 6 Jan 1998 13:14:48 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from wiley.csusb.edu (wiley.csusb.edu [139.182.2.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA21801 for ; Tue, 6 Jan 1998 13:14:44 -0800 (PST) (envelope-from wwong@wiley.csusb.edu) Received: (from wwong@localhost) by wiley.csusb.edu (8.8.5/8.6.11) id NAA01733; Tue, 6 Jan 1998 13:13:37 -0800 (PST) From: William Wong Message-Id: <199801062113.NAA01733@wiley.csusb.edu> Subject: Re: Exporting NFS filesystems To: font@Mcs.Net (Font) Date: Tue, 6 Jan 1998 13:13:37 -0800 (PST) Cc: freebsd-questions@freebsd.org In-Reply-To: from "Font" at Jan 6, 98 02:21:07 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I think you really want to send SIGHUP to mountd, not nfsd. Check man > page for details. > > A bug in my MUA causes news.announce.newusers font > to be sent to beneficiaries and senders of UCE/SPAM. @ > mcs.net > Wishes are like dishes. > > On Tue, 6 Jan 1998, William Wong wrote: > > > Date: Tue, 6 Jan 1998 11:21:07 -0800 (PST) > > From: William Wong > > To: freebsd-questions@FreeBSD.ORG > > Subject: Exporting NFS filesystems > > > > Question: How do I export a part of the filesystem after the entry > > has been added to the exports file? I know I can do this on SunOS > > systems using exportfs. Is there an equivalent command to do this? > > I have tried "kill -HUP" on the nfsd and even actually killed it and > > started another one (nfsd -u -t 4) to no avail. showmount shows nothing > > being exported from the system. I don't have to restart the system, > > do I? > > > > I'm running 2.2.5-stable with the NFS option compiled in the kernel. > > In rc.conf I have: > >[omitted] > > -- > > William T. Wong > > Phone: (909) 880-7281 > > email: wwong@wiley.csusb.edu > > > > I originally did a "kill -HUP" on mountd without any success. That's what prompted me to try the other methods in hopes of getting it to work. I did find out what the actual problem was. I didn't RTFM! In the entry, an option was included: -maproot=something -access=something. I guess -access wasn't an option and so mountd considered the whole entry as being invalid without saying so. Removing the -access option did the job. If only the UNIX community was a little more standardized... :) Thanks for the quick response! -- William T. Wong Phone: (909) 880-7281 email: wwong@wiley.csusb.edu