[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/src on NFS - and /usr/ports



On Tue, 5 Mar 2002 11:55:00 -0800
"David S." <davids@idiom.com> hit the keyboard and punched:

> > Can you build for several machines from one /usr/src?
> > And also, can you do the same for the /usr/ports if you 
> > make it available (read/write) over NFS to several sites?
> 
> If you use the union file system, you can export '/usr/src' read-only
> from the server.  For example,
> 
> 	% mount -t nfs -o ro server:/usr/src /var/tmp/mnt/src
> 	% mount -t union -o -b /var/tmp/mnt/src /usr/src

Just one question though. Do you have to mount it "twice" as you do?
Is there any advantage of this, or must it be done this way?

-- 

Rickard

                                               .--.        .--.
.----------------------------------------.     |  |        |  | .-.
|           Rickard Borgmäster           |     |  |        |  |/  /
|             doktorn@sub.nu             |   .-^  |  .--.  |     <
|         http://doktorn.sub.nu/         |  (  o  | ( () ) |  |\  \
`----------------------------------------'  `-----'  `--'  `--' `--'