[Pkg-sysvinit-devel] Bug#653073: mount(1) and df(1) now ugly

jidanni at jidanni.org jidanni at jidanni.org
Sat Dec 24 00:32:11 UTC 2011


I still have one system that I will update today. But before I do,
$ ls -l /etc/mtab /proc/mounts #still separate
-rw-r--r-- 1 root root 712 12-24 07:49 /etc/mtab
lrwxrwxrwx 1 root root  11 12-24 08:04 /proc/mounts -> self/mounts
$ sort -k 2 /etc/mtab /proc/mounts|head
#only root FS called a different name, lots of extra info too that makes mount(1) look ugly.
/dev/sda5 / ext3 rw,errors=remount-ro 0 0
/dev/disk/by-uuid/efd74e43-e0cb-4aa9-8a1d-d258cd465773 / ext3 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
rootfs / rootfs rw 0 0
udev /dev devtmpfs rw,relatime,size=106452k,nr_inodes=26613,mode=755 0 0
udev /dev tmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/sda6 /home ext3 rw 0 0
/dev/sda6 /home ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,size=5120k,mode=755 0 0

So simply linking them will affect df(1) and mount(1) output.
df is no longer readable on small screens, as the one long column now
shoves the rest off the screen.
mount now shows lots of extraneous information that it didn't used to.
Both had been pleasant reading for ~forty years up until today!





More information about the Pkg-sysvinit-devel mailing list