Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] df showing rootfs

Daniel Iliev

2008-05-11

Replies:

Author LoginPost Reply
On Fri, 9 May 2008 15:43:35 -0400
Willie Wong <wwong@(protected):

> Having just upgraded to baselayout2 and openrc, I found that when I
> run df, I get
>
> Filesystem       1K-blocks    Used Available Use% Mounted on
> rootfs           8008068  6827336  1180732 86% /
> /dev/root         8008068  6827336  1180732 86% /
> udev              10240     88   10152  1% /dev
> none             257012      0   257012  0% /dev/shm
> rc-svcdir           1024     56     968  6% /lib/rc/init.d
> /dev/hda6          401572   139560   262012 35% /var
> /dev/hda7         29735368 28433384  1301984 96% /home
>
> Note the first two lines are identical. Is this the way it is
> supposed to be? Or did I miss a configuration variable somewhere
> when I etc-update'd?
>
> Thanks,
>
> Willie

Are you, guys, doing some funky remounts like switch_root or
pivot_root (perhaps in initrd or initfs)?

On a "normal" system I get:
==
localhost ~ # uname -r
2.6.24-gentoo-r4
localhost ~ # df -h | head -n2
Filesystem        Size Used Avail Use% Mounted on
/dev/hda1         6,6G 4,8G 1,8G 74% /
==

On a system with initfs, where I do "switch_root" because of "root on
lvm2" case I get:
==
localhost ~ # uname -r
2.6.24-gentoo-r4-acpi
localhost ~ # df -h | head -2
Filesystem        Size Used Avail Use% Mounted on
/dev/mapper/vg1-root 485M 446M  40M 92% /
==


--
Best regards,
Daniel
--
gentoo-user@(protected)

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