public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Initial boot up script location
@ 2002-09-30 19:09 Burton Samograd
  2002-09-30 19:22 ` Burton Samograd
  0 siblings, 1 reply; 8+ messages in thread
From: Burton Samograd @ 2002-09-30 19:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

Hi all,

I'm searching around for the scripts that are run before the ones in
/etc/init.d.  These would be the ones that print the following
messages:

 * Mounting /proc...                            [ ok ]
 * Mounting devfs at /dev...                    [ ok ]
 * Starting devfsd...                           [ ok ]
 * Mounting tmpfs at /mnt/.init.d...            [ ok ]
 * Caching service dependencies...              [ ok ]
 * Activating swap...
 Adding Swap: 136544k swap-space (priority -1)  [ ok ]

 I know that checkroot is run first out of the scripts in
 init.d...where is this mystery boot script that does the above work?

burton

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] Initial boot up script location
  2002-09-30 19:09 [gentoo-dev] Initial boot up script location Burton Samograd
@ 2002-09-30 19:22 ` Burton Samograd
  2002-09-30 20:32   ` Martin Schlemmer
  0 siblings, 1 reply; 8+ messages in thread
From: Burton Samograd @ 2002-09-30 19:22 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

On Mon, Sep 30, 2002 at 12:09:40PM -0700, Burton Samograd wrote:
> Hi all,
> 
> I'm searching around for the scripts that are run before the ones in
> /etc/init.d.  These would be the ones that print the following
> messages:
> 
>  * Mounting /proc...                            [ ok ]
>  * Mounting devfs at /dev...                    [ ok ]
>  * Starting devfsd...                           [ ok ]
>  * Mounting tmpfs at /mnt/.init.d...            [ ok ]
>  * Caching service dependencies...              [ ok ]
>  * Activating swap...
>  Adding Swap: 136544k swap-space (priority -1)  [ ok ]
> 
>  I know that checkroot is run first out of the scripts in
>  init.d...where is this mystery boot script that does the above work?

Reply to my own post...if people are interested it's located in
/etc/rc.

burton



[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] Initial boot up script location
  2002-09-30 19:22 ` Burton Samograd
@ 2002-09-30 20:32   ` Martin Schlemmer
  2002-09-30 21:09     ` Burton Samograd
  2002-10-03  9:29     ` Sebastian Werner
  0 siblings, 2 replies; 8+ messages in thread
From: Martin Schlemmer @ 2002-09-30 20:32 UTC (permalink / raw
  To: Burton Samograd; +Cc: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

On Mon, 2002-09-30 at 21:22, Burton Samograd wrote:
> On Mon, Sep 30, 2002 at 12:09:40PM -0700, Burton Samograd wrote:
> > Hi all,
> > 
> > I'm searching around for the scripts that are run before the ones in
> > /etc/init.d.  These would be the ones that print the following
> > messages:
> > 
> >  * Mounting /proc...                            [ ok ]
> >  * Mounting devfs at /dev...                    [ ok ]
> >  * Starting devfsd...                           [ ok ]
> >  * Mounting tmpfs at /mnt/.init.d...            [ ok ]
> >  * Caching service dependencies...              [ ok ]
> >  * Activating swap...
> >  Adding Swap: 136544k swap-space (priority -1)  [ ok ]
> > 
> >  I know that checkroot is run first out of the scripts in
> >  init.d...where is this mystery boot script that does the above work?
> 
> Reply to my own post...if people are interested it's located in
> /etc/rc.
> 

I guess you made a type-o and meant: /sbin/rc


-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] Initial boot up script location
  2002-09-30 20:32   ` Martin Schlemmer
@ 2002-09-30 21:09     ` Burton Samograd
  2002-10-03  9:29     ` Sebastian Werner
  1 sibling, 0 replies; 8+ messages in thread
From: Burton Samograd @ 2002-09-30 21:09 UTC (permalink / raw
  To: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

On Mon, Sep 30, 2002 at 10:32:42PM +0200, Martin Schlemmer wrote:
> I guess you made a type-o and meant: /sbin/rc

Yup.  My bad. Thanks for the correction.

burton 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] Initial boot up script location
  2002-09-30 20:32   ` Martin Schlemmer
  2002-09-30 21:09     ` Burton Samograd
@ 2002-10-03  9:29     ` Sebastian Werner
  2002-10-03  9:58       ` Paul de Vrieze
  1 sibling, 1 reply; 8+ messages in thread
From: Sebastian Werner @ 2002-10-03  9:29 UTC (permalink / raw
  To: Burton Samograd; +Cc: Gentoo-Dev

Hi!

I think this is really bad but forget to post this sometime ago.
What's about I want to modify this script. All other scripts are protected 
through portage but this file gets overwritten each update. To the developer: 
Is it possible to split this script. I want to see the defined funtions in 
/sbin/rc (leave them in the current place) and the real boot-script in 
/etc/init.d/boot so that I can modify it there... what's about you... what do 
you think?

Regards 

Sebastian

Am Montag, 30. September 2002 22:32 schrieb Martin Schlemmer:
> On Mon, 2002-09-30 at 21:22, Burton Samograd wrote:
> > On Mon, Sep 30, 2002 at 12:09:40PM -0700, Burton Samograd wrote:
> > > Hi all,
> > >
> > > I'm searching around for the scripts that are run before the ones in
> > > /etc/init.d.  These would be the ones that print the following
> > > messages:
> > >
> > >  * Mounting /proc...                            [ ok ]
> > >  * Mounting devfs at /dev...                    [ ok ]
> > >  * Starting devfsd...                           [ ok ]
> > >  * Mounting tmpfs at /mnt/.init.d...            [ ok ]
> > >  * Caching service dependencies...              [ ok ]
> > >  * Activating swap...
> > >  Adding Swap: 136544k swap-space (priority -1)  [ ok ]
> > >
> > >  I know that checkroot is run first out of the scripts in
> > >  init.d...where is this mystery boot script that does the above work?
> >
> > Reply to my own post...if people are interested it's located in
> > /etc/rc.
>
> I guess you made a type-o and meant: /sbin/rc

-- 
==============================================================
 ||                   ||                                   ||
 ||                   || http://www.werner-productions.de  ||
 || Sebastian Werner  || sebastian@werner-productions.de   ||
 ||                   ||                                   ||
 ||                   || Karlsruhe, Germany                ||
 ||                   ||                                   ||
==============================================================
 || Powered by Gentoo 1.4 Beta                             ||
==============================================================



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] Initial boot up script location
  2002-10-03  9:29     ` Sebastian Werner
@ 2002-10-03  9:58       ` Paul de Vrieze
  2002-10-03 10:54         ` Sebastian Werner
  0 siblings, 1 reply; 8+ messages in thread
From: Paul de Vrieze @ 2002-10-03  9:58 UTC (permalink / raw
  To: gentoo-dev

On Thursday 03 October 2002 11:29, Sebastian Werner wrote:
> Hi!
>
> I think this is really bad but forget to post this sometime ago.
> What's about I want to modify this script. All other scripts are protected
> through portage but this file gets overwritten each update. To the
> developer: Is it possible to split this script. I want to see the defined
> funtions in /sbin/rc (leave them in the current place) and the real
> boot-script in /etc/init.d/boot so that I can modify it there... what's
> about you... what do you think?
>

You could of course use chattr to make /sbin/rc immutable, but I would suggest 
you don't, as it is dangerous. 

Paul

ps. you can of course give your own init script a different name and change 
/etc/inittab accordingly.

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] Initial boot up script location
  2002-10-03  9:58       ` Paul de Vrieze
@ 2002-10-03 10:54         ` Sebastian Werner
  2002-10-03 11:01           ` Paul de Vrieze
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Werner @ 2002-10-03 10:54 UTC (permalink / raw
  To: Paul de Vrieze, gentoo-dev

Am Donnerstag, 3. Oktober 2002 11:58 schrieb Paul de Vrieze:
> On Thursday 03 October 2002 11:29, Sebastian Werner wrote:
> > Hi!
> >
> > I think this is really bad but forget to post this sometime ago.
> > What's about I want to modify this script. All other scripts are
> > protected through portage but this file gets overwritten each update. To
> > the developer: Is it possible to split this script. I want to see the
> > defined funtions in /sbin/rc (leave them in the current place) and the
> > real boot-script in /etc/init.d/boot so that I can modify it there...
> > what's about you... what do you think?
>
> You could of course use chattr to make /sbin/rc immutable, but I would
> suggest you don't, as it is dangerous.

Sure but's that's not the correct way I think.

>
> Paul
>
> ps. you can of course give your own init script a different name and change
> /etc/inittab accordingly.

And this not, too.

>

To patch my system is one, and to find a global solution some other. I don't 
see why don't split this big file as I said. This is the easiest way and you 
will found all init scripts in /etc/init.d - much cleaner.

Sebastian

-- 
==============================================================
 ||                   ||                                   ||
 ||                   || http://www.werner-productions.de  ||
 || Sebastian Werner  || sebastian@werner-productions.de   ||
 ||                   ||                                   ||
 ||                   || Karlsruhe, Germany                ||
 ||                   ||                                   ||
==============================================================
 || Powered by Gentoo 1.4 Beta                             ||
==============================================================



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] Initial boot up script location
  2002-10-03 10:54         ` Sebastian Werner
@ 2002-10-03 11:01           ` Paul de Vrieze
  0 siblings, 0 replies; 8+ messages in thread
From: Paul de Vrieze @ 2002-10-03 11:01 UTC (permalink / raw
  To: gentoo-dev

On Thursday 03 October 2002 12:54, Sebastian Werner wrote:

> Sure but's that's not the correct way I think.
>
I know it isn't, that's why its dangerous.

> >
> > ps. you can of course give your own init script a different name and
> > change /etc/inittab accordingly.
>
> And this not, too.
>

The correct way is not to change this script. Maybe you could file a but to 
have some things put in their own init scripts instead of in this file, but 
this file is very dependant on your baselayout, so it should be changed with 
it.

> To patch my system is one, and to find a global solution some other. I
> don't see why don't split this big file as I said. This is the easiest way
> and you will found all init scripts in /etc/init.d - much cleaner.

Some parts of the script can be split, some shouldn't.

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-10-03 11:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-30 19:09 [gentoo-dev] Initial boot up script location Burton Samograd
2002-09-30 19:22 ` Burton Samograd
2002-09-30 20:32   ` Martin Schlemmer
2002-09-30 21:09     ` Burton Samograd
2002-10-03  9:29     ` Sebastian Werner
2002-10-03  9:58       ` Paul de Vrieze
2002-10-03 10:54         ` Sebastian Werner
2002-10-03 11:01           ` Paul de Vrieze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox