FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 09-26-2010, 02:57 PM
"Robert P. J. Day"
 
Default couple questions about initrd.img

here's hoping this is on topic. as part of the extra goodies i'm
going to give my RHEL/centos basic admin class this week, i'm going to
get them to open up the standard initrd.img file and see what's
inside. i just did that myself and have a couple simple questions.

first, while the cpio archive physically contains a number of basic
/dev special files, the top-level "init" script runs "mknod" to create
them all, anyway. not a big deal, but is it fair to say that
populating the initrd.img with those initial /dev files is redundant
since init creates them all, anyway?

also, i note that that "init" script appears to call a couple
scripts/commands that don't exist in the initrd, such as hotplug and
mkblkdevs. again, not a big deal but if i show the students what's in
that initrd, chances are someone's going to notice the above and ask
about it, so i might as well have an answer. thanks.

rday

--

================================================== ======================
Robert P. J. Day Waterloo, Ontario, CANADA

Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
================================================== ======================
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-27-2010, 10:09 AM
John Doe
 
Default couple questions about initrd.img

From: Robert P. J. Day <rpjday@crashcourse.ca>

> first, while the cpio archive physically contains a number of basic
> /dev special files, the top-level "init" script runs "mknod" to create
> them all, anyway. not a big deal, but is it fair to say that
> populating the initrd.img with those initial /dev files is redundant
> since init creates them all, anyway?

Maybe needed before the top-level "init" script...?
Or do you mean the mknod is called before the extraction of the initrd.img?

> also, i note that that "init" script appears to call a couple
> scripts/commands that don't exist in the initrd, such as hotplug and
> mkblkdevs. again, not a big deal but if i show the students what's in
> that initrd, chances are someone's going to notice the above and ask
> about it, so i might as well have an answer. thanks.

https://bugzilla.redhat.com/show_bug.cgi?id=201237

JD



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org