DragonFly BSD
DragonFly users List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ramfs, ports, and cvsupd


From: "George Georgalis" <george@xxxxxxxxx>
Date: Wed, 18 May 2005 13:33:26 -0400

On Wed, May 18, 2005 at 08:20:43AM -0000, Andreas Hauser wrote:
>george wrote @ Mon, 16 May 2005 14:14:19 -0400:
>
>> * how do I make the ram filesystem? mount_null(8) seems the doc, but I'm
>> not sure, I have 1GB ram and 2GB swap.
>
>mount_mfs
>
>mount_null is not working in ram but much more working like a super ln(1).
>A mount that is backed by another filesystem tree. Sadly it's brocken in
>1.2 and later.

Okay, thanks.

>> * How do I specify a directory separate from the sources for the builds
>> (world, ports, et al), to keep the source tree pristine for cvsupd?
>
>WRKDIRPREFIX=/usr/obj
>e.g.

Yep, that's what I was looking for. from /usr/ports/Mk/bsd.port.mk and
/usr/ports/devel/portmk/Mk/

is there a file equivalant or similar to bsd.port.mk for the dfly src or
dfports? I cannot find one, should there be?

>> * Where are the cvsupd config examples (ports/dfly src,doc,site...)?
>
>/usr/share/examples/cvsup

I have a full cvsup mirror of the ports/dfly src,doc,site... trees, I'm
trying to get cvsupd going to make tag based cvsup checkouts available
to my local network (maybe remote).

I have the following by default after cvsup:
/usr/local/cvsup/sup/cvs-dfports/checkouts.cvs
/usr/local/cvsup/sup/cvs-doc/checkouts.cvs
/usr/local/cvsup/sup/cvs-site/checkouts.cvs
/usr/local/cvsup/sup/cvs-src/checkouts.cvs
/usr/local/cvsup/sup/ports-all/checkouts.cvs

and the following repositories:
/usr/local/cvsup/usr/dfports
/usr/local/cvsup/usr/doc
/usr/local/cvsup/usr/ports
/usr/local/cvsup/usr/site
/usr/local/cvsup/usr/src

But I've not been able to get the -b -c and -s cvsupd options all
correct, nor am I sure about the contents of list and releases files
either. The cvsupd man is a bit confusing and I've not found the right
HOWTO yet. So far I'm just getting:

Parsing supfile "DFly-doc-supfile"
Connecting to run.local
Connected to run.local
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Server message: Unknown collection "cvs-site"
Server message: Unknown collection "cvs-doc"
Establishing multiplexed-mode data connection
Running
Skipping collection cvs-site/cvs
Skipping collection cvs-doc/cvs
Shutting down connection to server
Finished successfully

on the client and 

2005.05.18 13:30:33 EDT [4959]: CVSup server started
2005.05.18 13:30:33 EDT [4959]: Software version: SNAP_16_1h
2005.05.18 13:30:33 EDT [4959]: Protocol version: 17.0
2005.05.18 13:30:33 EDT [4959]: Ready to service requests
2005.05.18 13:30:50 EDT [4959]: +0 geo@xxxxxxxxx (run.) [SNAP_16_1h/17.0]
2005.05.18 13:30:50 EDT [4959]: =0 Unknown collection "cvs-site"
2005.05.18 13:30:50 EDT [4959]: =0 Unknown collection "cvs-doc"
2005.05.18 13:30:51 EDT [4959]: -0 [0Kin+0Kout] Finished successfully
2005.05.18 13:30:51 EDT [4959]: Going down

on the server. A typical invocation (for above) is

cvsupd -b /usr/local/cvsup -c /usr/local/cvsup/usr -s ./ -p 2020

>> * Is there a defined pattern I can exclude from the sources, to
>> get started with ports (eg rsync a local copy)?
>
>Not sure what you mean.

Was just looking for a way to duplicate a working ports tree to a new
host, ie if I had used WRKDIRPREFIX in the first place, I could have
just copied /usr/ports, but I just downloaded it all again...

// George


-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george@xxxxxxxxx



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