|
Bugzilla – Full Text Bug Listing |
| Summary: | No /dev in /etc/mtab | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Andreas Schwab <schwab> |
| Component: | Basesystem | Assignee: | Ruediger Oertel <ro> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | hare |
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Andreas Schwab
2005-08-26 18:20:00 UTC
/dev is part of the root file system and udev is used to update missing entries in this directory. /dev is a mount point. Not on standard SuSE Linux 10 nor 9.3 What are you smoking???? Nothing. AFAIK a static initramfsdevs partition is not what we do. This was the result of the dist team meeting. Hannes? Yes, we have /dev a mount point in 10.0. Been there since Preview2. Yes, /dev does not show up in /etc/mtab as it's being mount prior to accessing the root fs and hence prior to creating /etc/mtab. Should it show up there? Andreas, what's your opinion Please ask on research. I personally think it should show up there. Ruediger, this needs to be changed in aaa_base:/etc/sysconfig/boot.localfs:
--- boot.localfs.orig 2005-09-05 16:56:50.000000000 +0200
+++ boot.localfs 2005-09-05 17:06:31.000000000 +0200
@@ -19,7 +19,7 @@
# to get max number of parallel fsck processes
. /etc/sysconfig/boot
-
+. /etc/sysconfig/kernel
if [ -f /etc/sysconfig/dump ]; then
. /etc/sysconfig/dump
fi
@@ -132,7 +132,11 @@ case "$1" in
echo "Mounting local file systems..."
mount -fv -t proc proc /proc
mount -fv -t sysfs sysfs /sys
- mount -fv -t tmpfs tmpfs /dev/shm
+ if [ -n "$DEV_ON_TMPFS" -a "$DEV_ON_TMPFS" != "yes" ] ; then
+ mount -fv -t tmpfs tmpfs /dev/shm
+ else
+ mount -fv -t tmpfs initramdevs /dev
+ fi
rc_status
optpts="-o mode=0620,gid=5"
mount -fv -t devpts $optpts devpts /dev/pts
Can you do it, please?
Are you sure you want to drop the /dev/shm mount? What happens with the old /dev contents when another tmpfs is mounted on top of it? well, what about just listing both, /dev and /dev/shm. Hannes, ok ? Personally, I don't care. I just found it a bit pointless to mount a tmpfs /dev/shm on a tmpfs /dev. But we might as well list both so as not confuse users. Having said that; no-one is ever going to umount /dev/shm, or is he? You are of course right, I was pretty confused. On the other hand, /etc/mtab should list all current mount points, so /dev/shm should be added as well. True. So _if_ /dev/shm is mounted it should be listed there. Only I'm not quite sure that we actually do mount it. initramfs certainly doesn't when using dev on tmpfs (not much point, really). Don't know about aaa_base. Ruediger? See /etc/init.d/boot.shm. Also note that /dev/shm is mounted with a different size (which is configurable) than /dev. submitted for RC2 |