Re: [PATCH] 5 year old bug in main.c (initrd). Can this please be fixed?

From: Dave Cinege (dcinege@psychosis.com)
Date: Thu May 25 2000 - 01:08:46 EST


almesber@lrc.di.epfl.ch wrote:
>
> Dave Cinege wrote:
> > During initrd if root=/dev/ram0, /linuxrc will not be executed.
>
> It's a feature, not a bug ;-) The underlying logic is that one may
> wish to load a RAM disk using the initrd mechanism, but without
> trying to run /linuxrc.

I must argue it is an arbitrary limitation and a bug. It *precludes* you from
using the initrd as your root and executing /linuxrc. (Something I have
probably 100,000 machines doing) The point is there is NO REASON (but personal
preference) to skip /linuxrc when your root is the first ramdisk.
 
The choice to skip execution of /linuxrc should be in userland. In /linuxrc
itself or implied by the absence of the file. Making this choice in the kernel
disenfranchises users of a standard mechanism.

Personally I'd like to see /linuxrc executed if it's present regaudless of
initrd, to allow for a standerized 'pre-init'. I'd be happy to just see this
fixed however.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:13 EST