public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mathijs Kwik <troxx@segfault.nl>
To: gentoo-dev@cvs.gentoo.org
Subject: [gentoo-dev] devfs-problems and other boot/shutdown glitches
Date: Tue Jul  3 06:28:01 2001	[thread overview]
Message-ID: <20010703142637.A7849@jaspers.hn.org> (raw)

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




                 reply	other threads:[~2001-07-03 12:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010703142637.A7849@jaspers.hn.org \
    --to=troxx@segfault.nl \
    --cc=gentoo-dev@cvs.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox