Lonnie Abelbeck wrote:
> On Aug 15, 2008, at 10:00 PM, Chris Abnett wrote:
> 
>> Ok I got up and running with unionFS ...
>>
>> However when I went to the /mnt/kd directory created by genunion I  
>> found a
>> really weird looking rc.conf that said do not edit..
> 
> This is new (the do not edit message), but normal.

Lonnie,

Right now, genunion copies the file from /tmp/etc/rc.conf to 
/mnt/kd/rc.conf.  On a clean system, this should contain everything that 
is in /stat/etc/rc.conf, however, I can see how this can be confusing. 
With one of the changes, someone modified /etc/rc to generate 
/tmp/etc/rc.conf using the gen-rc-conf script (which strips comments and 
places that warning at the top).

> Dev's, possibly genunion should no longer automatically create /mnt/kd/ 
> rc.conf ? or copy /stat/etc/rc.conf to /mnt/kd/rc.conf instead of the  
> new stripped down /tmp/etc/rc.conf ?

Yeah, perhaps we should roll back to copying /stat/etc/rc.conf instead 
of /tmp/etc/rc.conf.  I believe whoever committed this though that the 
current used rc.conf would be the most correct one to store on the 
writable area. (or perhaps that practice pre-dates the gen-rc-conf 
script--I forget)

> This would apply to genkd as well.

Agreed.

>> so I took the contents
>> of my ecisting Keydisk and overwrote the kd directory, rebooted and  
>> all is
>> fully functional...
> 
> Good.
> 
>> however the issue I have is if there were changed made
>> to the rc.conf as part of a new build or upgrade where would I get  
>> the newer
>> rc.conf file as I couldn't find it anywhere to be found...
> 
> /stat/etc/rc.conf contains the complete, commented, template for all  
> the system variables.

/tmp/etc/rc.conf is generated on boot based on what's in 
/mnt/kd/rc.conf.d (directory containing various .conf files) or 
/mnt/kd/rc.conf (single file) or if none of those are found, it takes 
the values from /stat/etc/rc.conf.

Values from /mnt/kd/rc.conf.d/*.conf overwrite anything in 
/mnt/kd/rc.conf or /stat/etc/rc.conf

The correct file to edit is /mnt/kd/rc.conf.d/*.conf or /mnt/kd/rc.conf. 
  Afterwhich you can either reboot or issue 'gen-rc-conf' which would 
re-generate the file in /tmp/etc/rc.conf (/etc/rc.conf is a sym link to 
/tmp/etc/rc.conf)


-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
http://www.djhsolutions.com/wiki

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to