On Wed, 6 Jun 2001, Faisal wrote:

> > In this case mount may have been recompiled (statically) to create /dev
> > entries.

Yeah basically check if the requested device exists, if not mknod it with
proper major minors.

> It isn't really essential for the /dev entries to be there. Most lilely the 
> /dev entries that were needed for bootup (the root device) got pivoted out 
> after initrd switched roots. 

umm suppose i want mount some block device in rescue mode then i need the
dev entries before mount() is called. I guess the 1st / system (initrd)
could have the entries for the basic minimum ( /dev/hd's /dev/zero null
etc ). Once the kernel is up and running the initrd can be dumped out and
the real / is mounted from the cd.

I guess i have to dig more, into the root filesystem on the cd, the initrd
and the initialisation scripts. But offhand i remember no device files
being present either on the cd or the initrd image. So having a modified
mount is a distinct possibility.

>In case you need the /dev entries, you can make  them manually using the mknod 
...

Its just an aimless  private investigation ;) on how live cd's work, so no
worries

-- sreangsu


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to