Date: Tue, 3 Dec 1996 23:45:07 +1100 (EDT) From: Darren Reed <avalon@coombs.anu.edu.au> To: imp@village.org (Warner Losh) Cc: hackers@freebsd.org Subject: Re: How to unexport something Message-ID: <199612031244.EAA09594@freefall.freebsd.org> In-Reply-To: <199612030616.XAA25038@rover.village.org> from "Warner Losh" at Dec 2, 96 11:16:24 pm
next in thread | previous in thread | raw e-mail | index | archive | help
In some mail from Warner Losh, sie said: > > > Is there an easy way to unexport something? I'd like to unmount my > JAZ drive, but it is exported... Hmmm, looks like you'd need to edit the exportfs file and restart mountd. An "exportfs" interface similar to Sun's would be nice... /usr/etc/exportfs [ -aiuv ] [ -o options ] [ pathname ] OPTIONS -a All. Export all pathnames listed in /etc/exports, or if -u is specified, unexport all of the currently exported pathnames. -i Ignore the options in /etc/exports. Normally, exportfs will consult /etc/exports for the options associated with the exported pathname. -u Unexport the indicated pathnames. -v Verbose. Print each directory or filename as it is exported or unexported. -o options Specify a comma-separated list of optional characteris- tics for the pathname being exported. options can be selected from among: ... NetBSD could do with one of these too, if it is missing... Usually, when something is added to /etc/exports, you just run "exportfs -va" or if you wanted to export /usr/spool/mail you could do "exportfs /var/spool/mail", etc. Darren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612031244.EAA09594>