Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [opensuse] how to get /dev to be a tmpfs and get populated at boot by udev?
  • From: Rene Salmon <rsalmon@xxxxxxxxxx>
  • Date: Tue, 11 Apr 2006 16:47:24 -0500
  • Message-id: <443C23EC.7000002@xxxxxxxxxx>
Hi,

I have installed suse 10.0 and have this set:

/etc/sysconfig/kernel:DEV_ON_TMPFS="yes"

But as far as I can tell "/dev" is still not a tmpfs file system. If I do a df on the server I get this:

/root# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 117206592 1651936 115554656 2% /
10.0.0.10:/scratch/onesis/suse-10
117206592 1651936 115554656 2% /
/dev/ram 10240 112 10128 2% /ram
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
tmpfs 1028024 0 1028024 0% /dev/shm
usbfs 0 0 0 - /proc/bus/usb

The root filesystem "/" is mounted as a read-only file system which is why I need "/dev" to be a tmpfs. Any ideas as to why "/dev" is not being mounted as tmpfs on opensuse 10?

thank you
Rene



Marcus Rueckert wrote:
hi,

[[[
$ grep TMPFS /etc/sysconfig/* ; head -n 1 /etc/SuSE-release /etc/sysconfig/kernel:DEV_ON_TMPFS="yes"
SUSE LINUX 10.0 (i586) OSS
]]]

[[[
$ grep tmpfs * ; head -n 1 /etc/SuSE-release boot:# mount tmpfs on /dev if not already done by initramfs
boot: if test "$dir" = "/dev" -a "$type" = "tmpfs"; then
boot: echo -n "Mounting tmpfs at /dev"
boot: mount -n -t tmpfs -o mode=0755 udev /dev
boot.localfs:openSUSEmount -fv -t tmpfs udev /dev
boot.localfs:openSUSE tmpfs) umount -t tmpfs $fs ;;
boot.localfs:openSUSEumount -avt
noproc,nonfs,nonfs4,nosmbfs,nocifs,notmpfs || {
SUSE LINUX 10.0.42 (X86-64) OSS Beta5
]]]

hope this helps

darix


--
-
--
Rene Salmon
Tulane University
Center for Computational Science
Richardson Building 310
New Orleans, LA 70118
http://www.ccs.tulane.edu
Tel 504-862-8393
Fax 504-862-8392


< Previous Next >