From: Michael R. <mc...@sa...> - 2001-11-23 00:23:25
|
>>>>> "Flavio" == Flavio Villanustre <li...@ge...> writes: Flavio> On Thu, 22 Nov 2001, Michael Richardson wrote: >> The RedHat root file systems seems to have: >> >> cassidy:/# rpm -q -a | grep devfs >> devfsd-2.4.2-2 >> >> The devfsd on Richard Gooch's page is labelled 1.3.18. >> I can't find a devfsd of any kind in RH 7.2, for which I'm trying to >> generate a root image (or rather, a script to do so). Where did this code >> come from? Flavio> devfsd-2.4.2-2 is the devfsd version that matches with redhat's Flavio> kernel-2.4.2-2 for redhat 7.0 or 7.1 (I don't clearly remember it now). okay, but there isn't one on the RH7.2 CD. That it is "tweaked" for RH suggests why it doesn't work for a stock 2.4.9 kernel. Specifically, I wind up without /dev/tty[0-9]. Even stranger: the debian roots that I have been using don't even have devfsd. well, maybe not. Debian mingetty uses /dev/ttys/X rather than /dev/ttyX.... Aha... wait... the UML RH image has an inittab that has: 0:2345:respawn:/sbin/mingetty ttys/0 1:2345:respawn:/sbin/mingetty ttys/1 2:2345:respawn:/sbin/mingetty ttys/2 Now, this let's mingetty run, but it seems that my /bin/login still doesn't work. Can someone tell me how these images were generated? ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mc...@sa... http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [ |
From: Jeff D. <jd...@ka...> - 2001-11-24 23:38:06
|
mc...@sa... said: > Can someone tell me how these images were generated? Bill Stearns did almost all of the RPM-based ones, I assume using mkrootfs. Jeff |
From: William S. <wst...@po...> - 2001-11-26 14:14:19
|
Good day, all, On Sat, 24 Nov 2001, Jeff Dike wrote: > mc...@sa... said: > > Can someone tell me how these images were generated? > > Bill Stearns did almost all of the RPM-based ones, I assume using mkrootfs. Guilty as charged... Jeff's right; I use the mkrootfs script. I keep the master copy of the mkrootfs, the functions library it calls, and the calling script (updateme) that creates different root filesystems at http://www.stearns.org/mkrootfs/ Likewise, the devfsd rpms (src, i386, and spec) that I create are at http://www.stearns.org/devfsd/ . However, I don't have any record of making a devfsd later than 1.3.18. While rh7.2 doesn't seem to include one (it may be renamed or part of some other package), rh7.1 has a devfsd-2.4.2-2.i386.rpm. Cheers, - Bill --------------------------------------------------------------------------- "Absence of evidence is not evidence of absence." -- SETI, the Search for Extra-Terrestrial Intelligence -------------------------------------------------------------------------- William Stearns (wst...@po...). Mason, Buildkernel, named2hosts, and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com -------------------------------------------------------------------------- |
From: Michael R. <mc...@sa...> - 2001-11-26 03:24:01
|
>>>>> "Jeff" == Jeff Dike <jd...@ka...> writes: Jeff> mc...@sa... said: >> Can someone tell me how these images were generated? Jeff> Bill Stearns did almost all of the RPM-based ones, I assume using mkrootfs. I've never heard of that command. I'm mostly interested in how the contents were arrived at. I can boot RH7.2 image single user, but /bin/login is not cooperating. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mc...@sa... http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [ |
From: Jeff D. <jd...@ka...> - 2001-11-26 03:58:51
|
mc...@sa... said: > I've never heard of that command. > I'm mostly interested in how the contents were arrived at. /usr/bin/mkrootfs There are RPM lists in there. If your login is expecting more traditional tty names, then mknod them in /dev/, fix inittab to use them, and boot UML with devfs off. Jeff |
From: Michael R. <mc...@sa...> - 2001-11-26 04:48:30
|
>>>>> "Jeff" == Jeff Dike <jd...@ka...> writes: Jeff> mc...@sa... said: >> I've never heard of that command. >> I'm mostly interested in how the contents were arrived at. Jeff> /usr/bin/mkrootfs Jeff> There are RPM lists in there. It's a UML thing... aha.. I looked on a box that doesn't not yet UML installed :-) The lists appear 6.2 specific. Jeff> If your login is expecting more traditional tty names, then mknod them in Jeff> /dev/, fix inittab to use them, and boot UML with devfs off. Hmm. that could be. I did try turning devfs off at point, but that didn't help. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mc...@sa... http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [ |
From: Jeff D. <jd...@ka...> - 2001-11-26 05:05:28
|
mc...@sa... said: > Hmm. that could be. I did try turning devfs off at point, but that > didn't help. Either build without devfs configured or put 'devfs=nomount' on the command line... Jeff |
From: Michael R. <mc...@sa...> - 2001-11-26 06:29:22
|
>>>>> "Jeff" == Jeff Dike <jd...@ka...> writes: Jeff> mc...@sa... said: >> Hmm. that could be. I did try turning devfs off at point, but that >> didn't help. Jeff> Either build without devfs configured or put 'devfs=nomount' on the Jeff> command line... I got devfs turned off, I mean.. it didn't cure /bin/login, but I'll try again. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mc...@sa... http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [ |
From: Jeff D. <jd...@ka...> - 2001-11-26 11:54:05
|
mc...@sa... said: > I got devfs turned off, I mean.. it didn't cure /bin/login, but I'll > try again. BTW, are you unable to log in to the stock RH 6.2 rootfs, or did you fiddle it and are now unable to log in to it? Jeff |
From: Michael R. <mc...@sa...> - 2001-11-27 00:12:12
|
>>>>> "Jeff" == Jeff Dike <jd...@ka...> writes: Jeff> mc...@sa... said: >> I got devfs turned off, I mean.. it didn't cure /bin/login, but I'll >> try again. Jeff> BTW, are you unable to log in to the stock RH 6.2 rootfs, or did you fiddle it Jeff> and are now unable to log in to it? neither. I'm trying to write a script which will construct a rootfs for a mostly arbitrary version of RH, with *7.2* being the initial target. mkrootfs I didn't know about when I started - and I should probably hack that instead. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mc...@sa... http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [ |