From owner-freebsd-stable Sun May 9 9:16:43 1999 Delivered-To: freebsd-stable@freebsd.org Received: from unix1.it-datacntr.louisville.edu (unix1.it-datacntr.louisville.edu [136.165.4.27]) by hub.freebsd.org (Postfix) with ESMTP id C669B14BF4 for ; Sun, 9 May 1999 09:16:32 -0700 (PDT) (envelope-from k.stevenson@louisville.edu) Received: from homer.louisville.edu (ktstev01@homer.louisville.edu [136.165.1.20]) by unix1.it-datacntr.louisville.edu (8.8.8/8.8.7) with ESMTP id MAA21106 for ; Sun, 9 May 1999 12:16:30 -0400 Received: (from ktstev01@localhost) by homer.louisville.edu (8.8.8/8.8.8) id MAA15393 for freebsd-stable@FreeBSD.ORG; Sun, 9 May 1999 12:16:30 -0400 (EDT) Message-ID: <19990509121630.A14743@homer.louisville.edu> Date: Sun, 9 May 1999 12:16:30 -0400 From: Keith Stevenson To: freebsd-stable@FreeBSD.ORG Subject: Re: NFS question.. References: <373544F8.2CA1CFBD@bitey.cyber.com.au> <37355B45.6F9B43B5@newsguy.com> <37356B25.DC23929@bitey.cyber.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <37356B25.DC23929@bitey.cyber.com.au>; from Gavan McCormack on Sun, May 09, 1999 at 09:01:57PM +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, May 09, 1999 at 09:01:57PM +1000, Gavan McCormack wrote: > > Someone wanna clear the situation up before I install RH5.2?? (The original > question being, can I export on a per-directory basis from my 3.1-STABLE > machine, without exporting the entire local filesystem?) This is from a 3.1-STABLE box: # df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0s1a 1016303 20277 914722 2% / /dev/wd0s1e 508143 1 467491 0% /home/home1 /dev/wd1s1e 1016303 7702 927297 1% /soft/soft1 /dev/wd0s1g 417119 2 383748 0% /tmp /dev/wd0s1f 2032623 404667 1465347 22% /usr /dev/wd1s1f 1016303 2193 932806 0% /var /dev/wd1s1g 1016303 137 934862 0% /var/log /dev/wd1s1h 925215 6 851192 0% /var/tmp procfs 4 4 0 100% /proc /dev/wfd0s1e 119439 5068 104816 5% /var/adm/tcheck # cd /var/adm/tcheck/ # ls -l total 7 drwxr-xr-x 2 root wheel 512 May 4 11:19 bin drwxr-xr-x 2 root wheel 512 Mar 26 20:58 databases drwxr-xr-x 2 root wheel 512 May 4 11:19 osaka -rw-r--r-- 1 root wheel 3753 Mar 26 20:52 tw.config # showmount -e localhost Exports list on localhost: /var/adm/tcheck/osaka foo.example.org My analysis of this is that FreeBSD _CAN_ export subdirectories under a mount point. As for the issue of whether or not the NFS client can somehow trick the NFS server into granting access about the export point, well I don't export to hosts I don't trust. (You shouldn't with Linux either.) I ran Linux for 5 years prior to switching to FreeBSD. The hardest thing about setting up NFS under Linux is that *&%@! config file format. FreeBSD's /etc/exports format is a lot closer to the commercial *NIXs I work with. I'd recommend against reinstalling RedHat. I came from that world, and have been much happier since I made the switch. I only wish that my HPUX systems were as well-behaved as my FreeBSD boxen. Regards, --Keith Stevenson-- -- Keith Stevenson System Programmer - Data Center Services - University of Louisville k.stevenson@louisville.edu PGP key fingerprint = 4B 29 A8 95 A8 82 EA A2 29 CE 68 DE FC EE B6 A0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message