Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] df showing rootfs

Etaoin Shrdlu

2008-05-12

Replies: Find Java Web Hosting

Author LoginPost Reply
On Monday 12 May 2008, 00:41, Daniel Iliev wrote:

> > I am curious why it reads "rootfs" and "/dev/root" in the output of
> > df instead of "/dev/hda2" as I have it in my /etc/fstab, and why
> > there are two entries.
> >
> > W
>
> Alright. Perhaps "man libblkid".
>
> Which leads me to one *really wild* guess after which I'm out of
> ideas. Try refreshing your block device identification cache by:
>
> rm /etc/blkid.tab* && blkid

FWIW, I've always seen those entries (or something quite similar)
in /proc/mounts (for a long time), but never in the output of df.

$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw,noatime 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/sda7 /home ext3 rw,noatime,data=ordered 0 0
none /dev/shm tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0

$ df
Filesystem       1K-blocks    Used Available Use% Mounted on
/dev/sda8         18899832  6396036 12503796 34% /
udev              10240     100   10140  1% /dev
/dev/sda7         96124904 74332380 16909572 82% /home
none             1037040      0  1037040  0% /dev/shm

(I haven't switched to baselayout-2 yet). That said, I have no idea why
the output of df under baselayout-2 differs (although I assume that the
rc-svcdir thing is somehow related to baselayout-2 or openrc).
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.