Re: pivot_root & linuxrc problem

2001-03-17 Thread Mike Galbraith
On Sat, 17 Mar 2001, Bernd Eckenfels wrote: > In article <[EMAIL PROTECTED]> you wrote: > > Aha.. so that's it. I've never been able to get /linuxrc to execute > > automagically. I wonder why /linuxrc executes on Art's system, but > > not on mine. I can call it whatever I want and it doesn't

Re: pivot_root linuxrc problem

2001-03-17 Thread Mike Galbraith
On Sat, 17 Mar 2001, Bernd Eckenfels wrote: In article [EMAIL PROTECTED] you wrote: Aha.. so that's it. I've never been able to get /linuxrc to execute automagically. I wonder why /linuxrc executes on Art's system, but not on mine. I can call it whatever I want and it doesn't run

Re: pivot_root & linuxrc problem

2001-03-16 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > Aha.. so that's it. I've never been able to get /linuxrc to execute > automagically. I wonder why /linuxrc executes on Art's system, but > not on mine. I can call it whatever I want and it doesn't run unless > I explicitly start it with

Re: union mounts WAS: pivot_root & linuxrc problem

2001-03-16 Thread Guest section DW
On Fri, Mar 16, 2001 at 05:05:41PM +0300, Art Boulatov wrote: > I've seen new options for "mount" like --bind, --over, but didn't really > get how they work or are they implemented at all. "mount --bind" works on vanilla 2.4. The others don't. - To unsubscribe from this list: send the line

union mounts WAS: pivot_root & linuxrc problem

2001-03-16 Thread Art Boulatov
Hi, One more thing I was wondering about, is the pivot_root call the *final* implementation of the "root filesystem changer" for kernle 2.4.*? I've read about a new VFS extension, that allows multiple filesystems to be stacked at a single mount point. As I have understood it allows to *just*

Re: pivot_root & linuxrc problem

2001-03-16 Thread Art Boulatov
Mike Galbraith wrote: > > Aha.. so that's it. I've never been able to get /linuxrc to execute > automagically. I wonder why /linuxrc executes on Art's system, but > not on mine. I can call it whatever I want and it doesn't run unless > I explicitly start it with init=whatever. > >

Re: pivot_root & linuxrc problem

2001-03-16 Thread Mike Galbraith
On Thu, 15 Mar 2001, Russell King wrote: > On Thu, Mar 15, 2001 at 10:11:55PM +0100, Mike Galbraith wrote: > > On Thu, 15 Mar 2001, Art Boulatov wrote: > > > > > How can I "exec /sbin/init" from "/linuxrc", whatever it is, > > > if "linuxrc" does not get PID=1? > > > > > > Actually, why does NOT

Re: pivot_root linuxrc problem

2001-03-16 Thread Mike Galbraith
On Thu, 15 Mar 2001, Russell King wrote: On Thu, Mar 15, 2001 at 10:11:55PM +0100, Mike Galbraith wrote: On Thu, 15 Mar 2001, Art Boulatov wrote: How can I "exec /sbin/init" from "/linuxrc", whatever it is, if "linuxrc" does not get PID=1? Actually, why does NOT "linuxrc" get

Re: pivot_root linuxrc problem

2001-03-16 Thread Art Boulatov
Mike Galbraith wrote: Aha.. so that's it. I've never been able to get /linuxrc to execute automagically. I wonder why /linuxrc executes on Art's system, but not on mine. I can call it whatever I want and it doesn't run unless I explicitly start it with init=whatever. If it

union mounts WAS: pivot_root linuxrc problem

2001-03-16 Thread Art Boulatov
Hi, One more thing I was wondering about, is the pivot_root call the *final* implementation of the "root filesystem changer" for kernle 2.4.*? I've read about a new VFS extension, that allows multiple filesystems to be stacked at a single mount point. As I have understood it allows to *just*

Re: union mounts WAS: pivot_root linuxrc problem

2001-03-16 Thread Guest section DW
On Fri, Mar 16, 2001 at 05:05:41PM +0300, Art Boulatov wrote: I've seen new options for "mount" like --bind, --over, but didn't really get how they work or are they implemented at all. "mount --bind" works on vanilla 2.4. The others don't. - To unsubscribe from this list: send the line

Re: pivot_root linuxrc problem

2001-03-16 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: Aha.. so that's it. I've never been able to get /linuxrc to execute automagically. I wonder why /linuxrc executes on Art's system, but not on mine. I can call it whatever I want and it doesn't run unless I explicitly start it with init=whatever.

Re: pivot_root & linuxrc problem

2001-03-15 Thread Russell King
On Thu, Mar 15, 2001 at 10:11:55PM +0100, Mike Galbraith wrote: > On Thu, 15 Mar 2001, Art Boulatov wrote: > > > How can I "exec /sbin/init" from "/linuxrc", whatever it is, > > if "linuxrc" does not get PID=1? > > > > Actually, why does NOT "linuxrc" get PID=1? > > That's the question.. the

Re: pivot_root & linuxrc problem

2001-03-15 Thread Mike Galbraith
On Thu, 15 Mar 2001, Art Boulatov wrote: > How can I "exec /sbin/init" from "/linuxrc", whatever it is, > if "linuxrc" does not get PID=1? > > Actually, why does NOT "linuxrc" get PID=1? That's the question.. the first task started gets pid=1, and when that is true, exec /sbin/init has no

pivot_root & linuxrc problem

2001-03-15 Thread Art Boulatov
Hi, may be thats a bug, or I'm doing something really wrong :) from Documentation/initrd.txt: "# cd /new-root # mkdir initrd # pivot_root . initrd Now, the linuxrc process may still access the old root via its executable, shared libraries, standard input/output/error, and its current

pivot_root linuxrc problem

2001-03-15 Thread Art Boulatov
Hi, may be thats a bug, or I'm doing something really wrong :) from Documentation/initrd.txt: "# cd /new-root # mkdir initrd # pivot_root . initrd Now, the linuxrc process may still access the old root via its executable, shared libraries, standard input/output/error, and its current

Re: pivot_root linuxrc problem

2001-03-15 Thread Mike Galbraith
On Thu, 15 Mar 2001, Art Boulatov wrote: How can I "exec /sbin/init" from "/linuxrc", whatever it is, if "linuxrc" does not get PID=1? Actually, why does NOT "linuxrc" get PID=1? That's the question.. the first task started gets pid=1, and when that is true, exec /sbin/init has no problem.

Re: pivot_root linuxrc problem

2001-03-15 Thread Russell King
On Thu, Mar 15, 2001 at 10:11:55PM +0100, Mike Galbraith wrote: On Thu, 15 Mar 2001, Art Boulatov wrote: How can I "exec /sbin/init" from "/linuxrc", whatever it is, if "linuxrc" does not get PID=1? Actually, why does NOT "linuxrc" get PID=1? That's the question.. the first task