Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
how to get /dev to be a tmpfs and get populated at boot by udev?
  • From: Rene Salmon <rsalmon@xxxxxxxxxx>
  • Date: Thu, 06 Apr 2006 12:51:53 -0500
  • Message-id: <44355539.1070308@xxxxxxxxxx>


I am trying to boot a suse client with nfsroot. The Suse
client is diskless which is why I need it to boot from a server with
nfsroot("/") readonly.

Everything seems to be working fine except for udev. When the client
boots it complains about /dev being read only. I need /dev to be
entirely a tmpfs and to get populated at boot time by udev.

I changed this line in /etc/init.d/boot.localfs:

echo "Mounting local file systems..."
mount -fv -t proc proc /proc
mount -fv -t sysfs sysfs /sys
mount -fv -t tmpfs tmpfs /dev
mount -fv -t tmpfs tmpfs /dev/shm

but that did not work. I still get the message that /dev is read only
here is the boot message:

Mounting local file systems...
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
Starting udevd touch: cannot touch `/dev/devperms': Read-only file system

Can anyone point me in the right direction or have any idea how to get
/dev to be a tmpfs and get populated by udev at boot?


Rene Salmon
Tulane University
Center for Computational Science
Richardson Building 310
New Orleans, LA 70118
Tel 504-862-8393
Fax 504-862-8392

< Previous Next >
Follow Ups