On Wed, May 22, 2002 at 05:06:25PM -0500, Omar D. Samuels wrote:
> ----- Original Message -----

> I found that file (it was hidden) and I'm gonna try adding my program to be
> run there.  Boy I feel my brain cells multiplying rapidly... in order to try
> it tho' I need to add something to my /sbin directory and backup my LEAF
> boot disk, how do I backup the changes of the /sbin directory?

Here's a way to find out which package to backup:

go to /var/lib/lrpkg

grep <word> *.list

In this case <word> would be 'sbin', so this is what I get on a
testmachine (Bering) that I happen to have here, so what you get *might* 
differ:

blinder: -root-
# grep sbin *.list
telnetd.list:usr/sbin/in.telnetd
weblet.list:usr/sbin/sh-httpd
weblet.list:usr/sbin/stat.sh

what this tells us is that the only packages that *explicitly* back up
anything with 'sbin' in the path are telnetd and weblet. Which means
that, by extension, /sbin gets backed up by root.lrp

The working principle is that if package foo.lrp mentions /foo in
foo.list, and package foobar.lrp mentions /foo/bar in foobar.list, then
the file /foo/bar will *not* get backed up by foo.lrp but foobar.lrp
eventhough /foo/bin /foo/this/that and /foo/whateverelse *will*

The purpose is to avoid the same file being backed up by different
packages, with possible turmoil to follow...

SO; given the above you'd prolly want to back up root.lrp which backs up
/ and hence everything not explicitly listed by any other package...

At least that's my take on it. Someone CMIIW?

> > If you want foo to run at *boot*, then I guess it needs to go in some
> > /etc/init.d with a link from /etc/rcN.d, but I'm not too sure what the
> > default runlevel is... and I should prolly not elaborate further... ;)

> Sorry I just now realizing what u r saying about the difference between
> login time and boot time, I am getting this now, I'd really love for you to
> explain the /etc/init.d and etc/rc#.d thing, I am only semi-grasping it, I
> mean I have a semi-thesis, but I wanna hear from a real techie.

Well if you want to hear it from a *real* techie, you don't want to hear
it from me ;)

I think maybe you got me wrong... what I meant wasn't that I shouldn't
confuse you with that intel, what I meant was that *I* don't know enough
about the boot process in LEAF to tell you... ;)


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to