public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] devfs-problems and other boot/shutdown glitches
@ 2001-07-03  6:28 Mathijs Kwik
  0 siblings, 0 replies; only message in thread
From: Mathijs Kwik @ 2001-07-03  6:28 UTC (permalink / raw
  To: gentoo-dev

Hey everybody,

I fixed the problems that were related to devfs and also found some other small problems.
what to do? :)
well first of all you can remove /etc/rc.d/init.d/devfsd and their links in rc0 and rcboot.
then do the following:

# cd /sbin
# mv init init.real
# cat > init
#!/bin/sh
if [ $$ -eq 1 ]
then
	mount --bind /dev /dev-state
	mount -n -t devfs none /dev
	/sbin/devfsd /dev
	mknod /dev/initctl p
fi
exec /sbin/init.real $*
[Control-D]
# chmod a+x init

okay that part takes care of devfs

the other problems I found are related to the files /etc/rc.d/init.d/checkroot and checkfs

those don't include the line 
PATH=/sbin:/bin:/usr/sbin:/usr/bin

after the . /etc/rc.d/config/functions line

include it and no more problems with mounting and unmounting partitions+swapspace.

one other small thing I removed because it produced errors is in bootmisc... the lines that set the permissions on /dev/tty* stuff... as far as I can see devfsd takes care of this, I removed them, no problems found.

Greetings,
Mathijs




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-03 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-03  6:28 [gentoo-dev] devfs-problems and other boot/shutdown glitches Mathijs Kwik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox