[Pkg-sysvinit-devel] Bug#588675: / left as /dev/root with non-initrd kernel

Christian Kujau lists at nerdbynature.de
Wed Dec 18 03:19:47 UTC 2013


I noticed that too, in wheezy 7.3 (powerpc). No initrd (but a 
self-compiled kernel) is used. And /etc/mtab is now a symlink
to /proc/mounts:

$ head -2 /proc/mounts 
rootfs / rootfs rw 0 0
/dev/root / ext4 rw,nodev,relatime,data=ordered 0 0

$ grep ext4 /etc/fstab
/dev/sda6     /     ext4    nodev,relatime    0 1

$ cat /proc/cmdline 
root=/dev/sda6 ro rootfstype=ext4

$ df -h | head -3
Filesystem           Size  Used Avail Use% Mounted on
rootfs               5.4G  3.6G  1.6G  70% /
/dev/root            5.4G  3.6G  1.6G  70% /

=> Note: #656333 was titled "Please ignore rootfs in df output" but was  
   closed when coreutils-8.20 somehow turned the overly long 
   /dev/disk/by-uuid/... output in "df" into /dev/sdX again.
   Wheezy has coreutils-8.13 now.

$ ls /etc/rcS.d/
README               S05keymap.sh    S08checkroot.sh            
S11cryptdisks        S15udev-mtab    S19mountnfs.sh   S23screen-cleanup
S01mountkernfs.sh    S06keyboard-setup  S09cryptdisks-early        
S12checkfs.sh        S15urandom      S20mountnfs-bootclean.sh  S23x11-common
S02udev              S07hdparm       S10checkroot-bootclean.sh  
S13mountall.sh       S16networking   S21console-screen.sh  S24stop-bootlogd-single
S03mountdevsubfs.sh  S07hostname.sh  S10kmod                    
S14mountall-bootclean.sh  S17rpcbind S22console-setup
S04bootlogd          S07hwclock.sh   S10mtab.sh                 
S15procps            S18nfs-common   S23bootmisc.sh



More information about the Pkg-sysvinit-devel mailing list