Re: NFS sharing /usr/ports and /usr/src
From: Tom Munro Glass (gentoo_at_tmgcon.com)
Date: 02/29/04
- Previous message: mj001: "Gphoto2 segfaults"
- In reply to: Matthew Seaman: "Re: NFS sharing /usr/ports and /usr/src"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Matthew Seaman <m.seaman@infracaninophile.co.uk>, freebsd-questions@freebsd.org Date: Mon, 1 Mar 2004 08:22:38 +1300
On Sun, 29 Feb 2004 23:47, Matthew Seaman wrote:
> On Sun, Feb 29, 2004 at 05:45:33PM +1300, Tom Munro Glass wrote:
> > I want to NFS share /usr/ports and /usr/src from a master machine for use
> > by other machines.
<snip>
> > What am I doing wrong?
>
> You've probably got /usr/ports and /usr/src on the same disk
> partition. You can't export two chunks of the same partition to the
> same set of client hosts with different flags. Not only that, but you
> can't do anything that even smacks of changing the flags between two
> exported subdirectories on a single partition. Or in other words,
> it's the partition that gets exported, rather than the particular
> directory trees you specify. I think, although I could be wrong, that
> if you export, say, /usr/src which happens to reside on the /usr
> partition, then an NFS client can be persuaded to access files from
> anywhere on the /usr partition.
>
> What you should do is put the two subdirectories on the same line in
> the exports file:
>
> /usr/ports /usr/src -network 192.168.0.0 -mask 255.255.255.0
>
> Cheers,
>
> Matthew
Thanks for a very clear explanation Matthew. I'd missed a couple of critical
points, namely that you can only have one line in exports per filesystem, and
also that you can specify multiple paths on one line.
Problem solved! Cheers,
Tom
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: mj001: "Gphoto2 segfaults"
- In reply to: Matthew Seaman: "Re: NFS sharing /usr/ports and /usr/src"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: NFS sharing /usr/ports and /usr/src
... You can't export two chunks of the same partition to the ... exported subdirectories
on a single partition. ... then an NFS client can be persuaded to access files from ...
the exports file: ... (freebsd-questions) - Re: Diskless Boot Problem
... Thing is that it's tricky to have both rw and ro ... exports on the same
partition. ... To unsubscribe, ... (freebsd-questions) - Re: write protect a partition.
... what exactly do you mean by "write protect"? ... local administrators to be
able to access files on that partition and not ... Or do you have files already stored
on the partition that you ... > Visit Topic URL to contact author (reg. ...
(microsoft.public.windowsxp.general) - Re: Mounting Problem
... I solved it after reading question 3.2 in part 2 ... of the FAQ(How to Access
Files on a MS-DOS ... Partition or Floppy)(Not perfect, however. ...
(comp.os.linux.misc) - Re: Does FAT32 restrict me to max filesize of 4GB?
... <SNIP> ... > I might want to access files in my currently front
line OS partition - ... > at the moment, if anything serious goes wrong in the XP partition,
I ... giant video files, and leave the O/S, and all program's on a FAT32 drive. ...
(microsoft.public.windowsxp.basics)