Contributed by jose on from the keeping-tidy dept.
(Comments are closed)
OpenBSD Journal
Contributed by jose on from the keeping-tidy dept.
(Comments are closed)
Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]
By Anonymous Coward () on
On the machines where I'm low on diskspace, I just mount a large partition from an nfs server with a freshly unpacked source tree on it, and then apply all patches. After the update, the scratch partition can be wiped again.
By Mike Gevaert () deadly@guarded.org on mailto:deadly@guarded.org
http://www.rocketaware.com/man/man8/mount_union.8.htm
Snip>>
EXAMPLES
The commands
mount -t cd9660 -o ro /dev/cd0a /usr/src
mount -t union /var/obj /usr/src
mount the CD-ROM drive /dev/cd0a on /usr/src and then attaches /var/obj on top. For most purposes the effect of this is to make the source tree appear writable even though it is stored on a CD-ROM.
Snip>>
MikeG
Comments
By Anonymous Coward () on
mount -o union /dev/wd0e /unionmountpoint
I.e. union is an option, not a file system type.
Comments
By Mike Gevaert () deadly@guarded.org on mailto:deadly@guarded.org
This way you don't have to use a block device like /dev/wd0e, and can use pretty much anything else for the upper layer.
MikeG
Comments
By Anonymous Coward () on
Does that mean it is impossible to union-mount different file systems? (I guess so..)
Regards
Comments
By tedu () on
By Peter Hessler () spambox@theapt.org on http://www.theapt.org
Comments
By Sean () null-spam@tfh.ca on mailto:null-spam@tfh.ca
Comments
By tedu () on
By Dan Brosemer () odin@cleannorth.org on mailto:odin@cleannorth.org
I don't know if that list is still authoritative or not, but it's a good start at least.
By ViPER () viper@dmrt.net on http://www.dmrt.net
You can just symlink the dir.
export CVS_RSH="/usr/bin/ssh"
export CVSROOT=anoncvs@anoncvs.nl.openbsd.org:/cvs
cd /usr/local
cvs -q checkout -P -rOPENBSD_3_4 src
ln -s /usr/local/src /usr/src
Comments
By Gerardo Santana Gómez Garrido () santana at openbsd.org.mx on http://www.openbsd.org.mx/santana/
"setenv BSDSRCDIR to point to the real location."
By Anonymous Coward () on
Comments
By Dan Brosemer () odin@cleannorth.org on mailto:odin@cleannorth.org
That target makes a bunch of directories and symlinks so that building doesn't pollute the /usr/src hierarchy.
Comments
By Sean () null-spam@tfh.ca on mailto:null-spam@tfh.ca
Comments
By Dan Brosemer () odin@cleannorth.org on mailto:odin@cleannorth.org
287M .
Might want to give it a little headroom, but that's how big mine is after a build of -current last night.
By Ben () on
Comments
By Anonymous Coward () on
By Anonymous Peon () on
(As I understand it, nothing in any BSD's base install will defragment you save a newfs'd partition and copying the data over, but I could be mistaken.)
By Anonymous Coward () on