Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-28 Thread Rob Landley
I had this unsent on my desktop, buried by other windows. Let me know if the conversation's moved on since, but if so I wasn't cc'd... On Thursday 19 July 2007 9:56:11 am Bodo Eggert wrote: > On Wed, 18 Jul 2007, Rob Landley wrote: > > On Friday 13 July 2007 2:56:00 pm Bodo Eggert wrote: > > > I

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-19 Thread Bodo Eggert
On Thu, 19 Jul 2007, Stephen Smalley wrote: > Not wanting to get into any flamewars here about selinux, but just FYI: > security_sb_post_mountroot is obsolete and can be removed without harm > to selinux; it is a leftover of selinux before we moved the initial > policy load to userspace. These da

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-19 Thread Stephen Smalley
On Thu, 2007-07-19 at 15:56 +0200, Bodo Eggert wrote: > On Wed, 18 Jul 2007, Rob Landley wrote: > > On Friday 13 July 2007 2:56:00 pm Bodo Eggert wrote: > > > > I toyed with setting up a diskless system in initramfs. In the process, I > > > came across some things: > > > > > > 1) There is no way

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-19 Thread Bodo Eggert
On Wed, 18 Jul 2007, Rob Landley wrote: > On Friday 13 July 2007 2:56:00 pm Bodo Eggert wrote: > > I toyed with setting up a diskless system in initramfs. In the process, I > > came across some things: > > > > 1) There is no way to have the kernel not mount a filesystem, > > unless you use /i

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-18 Thread Rob Landley
On Friday 13 July 2007 2:56:00 pm Bodo Eggert wrote: > I toyed with setting up a diskless system in initramfs. In the process, I > came across some things: > > 1) There is no way to have the kernel not mount a filesystem, > unless you use /init or rdinit=. Er, yes. By design. The kernel has

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-14 Thread Al Boldi
Bodo Eggert wrote: > On Sat, 14 Jul 2007, H. Peter Anvin wrote: > > Bodo Eggert wrote: > > > On Sat, 14 Jul 2007, H. Peter Anvin wrote: > > >> Bodo Eggert wrote: > > >>> Setting the name of the rdinit process to the name of the init > > >>> process in order to select the root device should not be t

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-14 Thread Bodo Eggert
On Sat, 14 Jul 2007, H. Peter Anvin wrote: > Bodo Eggert wrote: > > On Sat, 14 Jul 2007, H. Peter Anvin wrote: > >> Bodo Eggert wrote: > >>> Setting the name of the rdinit process to the name of the init process > >>> in order to select the root device should not be the right knob. > >>> > >> What

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-14 Thread H. Peter Anvin
Bodo Eggert wrote: > On Sat, 14 Jul 2007, H. Peter Anvin wrote: >> Bodo Eggert wrote: > >>> Setting the name of the rdinit process to the name of the init process >>> in order to select the root device should not be the right knob. >>> >> What's wrong with it? > > rdinit is supposed to be the pro

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-14 Thread Bodo Eggert
On Sat, 14 Jul 2007, H. Peter Anvin wrote: > Bodo Eggert wrote: > > Setting the name of the rdinit process to the name of the init process > > in order to select the root device should not be the right knob. > > > > What's wrong with it? rdinit is supposed to be the program that mounts, root is

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-14 Thread H. Peter Anvin
Bodo Eggert wrote: > > Setting the name of the rdinit process to the name of the init process > in order to select the root device should not be the right knob. > What's wrong with it? -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-14 Thread Bodo Eggert
On Fri, 13 Jul 2007, H. Peter Anvin wrote: > Bodo Eggert wrote: > > On Fri, 13 Jul 2007, H. Peter Anvin wrote: > >> Bodo Eggert wrote: > >>> I toyed with setting up a diskless system in initramfs. In the process, I > >>> came across some things: > >>> > >>> 1) There is no way to have the kernel n

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-13 Thread H. Peter Anvin
Bodo Eggert wrote: > On Fri, 13 Jul 2007, H. Peter Anvin wrote: >> Bodo Eggert wrote: > >>> I toyed with setting up a diskless system in initramfs. In the process, I >>> came across some things: >>> >>> 1) There is no way to have the kernel not mount a filesystem, >>> unless you use /init or

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-13 Thread Bodo Eggert
On Fri, 13 Jul 2007, H. Peter Anvin wrote: > Bodo Eggert wrote: > > I toyed with setting up a diskless system in initramfs. In the process, I > > came across some things: > > > > 1) There is no way to have the kernel not mount a filesystem, > > unless you use /init or rdinit=. > > And? Jus

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-13 Thread H. Peter Anvin
Bodo Eggert wrote: > I toyed with setting up a diskless system in initramfs. In the process, I > came across some things: > > 1) There is no way to have the kernel not mount a filesystem, > unless you use /init or rdinit=. And? Just use rdinit=/sbin/init and no patch is needed. > 2a) I fig

[PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-13 Thread Bodo Eggert
I toyed with setting up a diskless system in initramfs. In the process, I came across some things: 1) There is no way to have the kernel not mount a filesystem, unless you use /init or rdinit=. 1a) In the process of writing these patches, I found prepare_namespace not to be called if /in