Search the web
Sign In
New User? Sign Up
FreeBSD-rc · Improving FreeBSD startup scripts
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Linux bootprofile   Message List  
Reply | Forward Message #45 of 729 |
Re: [FreeBSD-rc] Linux bootprofile

> On Fri, Jan 17, 2003 at 12:47:14AM -0800, Doug Barton wrote:
>>While I don't really like the idea of copying files around, it occurred to
>>me that we could do something similar by defining different rc.conf files
>>at boot time. This eliminates the chief problems I have with the
>>bootprofile approach, which are mounting / rw very early, and the copying
>>of files so early in the process.


Take a careful look at the diskless support already
in the FreeBSD tree (which works something like
BootProfile: copies stuff from /conf/etc/* to /etc/
early in the boot phase). I personally have
never really liked that approach, for exactly the
reasons you list.

Integrating support for this into the standard
rc.conf would be nice.

For diskless, the general idea is to define
configurations for each IP address or domain name.
How about altering /etc/defaults/rc.conf to
load:
* /etc/rc.conf (always)
* /etc/rc.conf.${IP} (for each bound IP address)
* /etc/rc.conf.${hostname}

That might cover the needs of diskless folks without
requiring all of that file copying (still doesn't
address variable fstabs or the like... hmmmm).
You should talk to the diskless maintainers about
this idea, as well.

Apart from diskless (or maybe bootable CDROM?), I
don't see a lot of use for varying boot profiles.
One of my biggest problems with Solaris/Linux-style
'runlevels' is that they never really get used.
In my experience, noone ever uses more than three
profiles:
1) Off
2) "repair mode" (aka "single-user mode"), and
3) "normal operation."
We've already got those.

Tim Kientzle




Fri Jan 17, 2003 7:45 pm

timkientzle
Offline Offline
Send Email Send Email

Forward
Message #45 of 729 |
Expand Messages Author Sort by Date

Guys, I was reading this month's SysAdmin magazine, and came across this article about Bootprofile for Linux. You can find more info at ...
Doug Barton
DougB@...
Send Email
Jan 17, 2003
8:47 am

... NetBSD has a configuration manager iirc, src/etc/rc.d/bootconf.sh I'm not entirely sure how it works, but it might worth looking at. -gordon...
Gordon Tetlow
tetlowgm
Online Now Send Email
Jan 17, 2003
4:49 pm

... Take a careful look at the diskless support already in the FreeBSD tree (which works something like BootProfile: copies stuff from /conf/etc/* to /etc/ ...
Tim Kientzle
timkientzle
Offline Send Email
Jan 17, 2003
7:45 pm

... Yeah, diskless is one area where I think copying is a necessary kludge. But, in this situation there is no media to corrupt, and have to try and fix later....
Doug Barton
domain_name_...
Offline Send Email
Jan 17, 2003
8:34 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help