Building an /etc from scratch...

John Clark jclark at metricsystems.com
Sat Mar 31 00:49:50 UTC 2007


Chuck Swiger schrieb:
> On Mar 30, 2007, at 3:45 PM, John Clark wrote:
>> The doc for building the world indicate that the kernel and /etc are 
>> not build in the 'world'
>> process.
>>
>> How does one create an /etc from src/etc. There does not seem to be a 
>> make target in
>> the main Makefile at the top of the hierarchy.
>
> You might find mergemaster helpful

'mergemaster' seems to have gotten most of the things in the right 
place. The other wyrd problem
I had was since I was booting off of a linux box using an nfs mounted 
root, there seems to be a
problem with 'file locking' and 'pidfile_open'. In looking into it the 
linux box should have handled
nfs file locking, but perhaps not.

Also, as I'm using an nfs mounted file system for my 'root', there seems 
to be a problem with
flock for the calls to 'pidfile_open' and perhaps other calls. Using 
'rc.initdiskless' doesn't seem
to over come these problems.

Thanks,
John Clark.



More information about the freebsd-current mailing list