Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367637 - weird df reporting with baselayout-2/openrc
Summary: weird df reporting with baselayout-2/openrc
Status: RESOLVED DUPLICATE of bug 219038
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 08:29 UTC by Dirkjan Ochtman (RETIRED)
Modified: 2011-05-18 00:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirkjan Ochtman (RETIRED) gentoo-dev 2011-05-17 08:29:12 UTC
With baselayout-1:

djc@planck ~ $ df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda3              292G   245G    47G  84% /
udev                    11M   181k    11M   2% /dev
shm                     20G   909M    19G   5% /dev/shm

With baselayout-2:

djc@turing ~ $ df -H
Filesystem             Size   Used  Avail Use% Mounted on
rootfs                 437G   204G   233G  47% /
/dev/root              437G   204G   233G  47% /
rc-svcdir              1.1M   127k   922k  13% /lib64/rc/init.d
udev                    11M   160k    11M   2% /dev
shm                    4.2G      0   4.2G   0% /dev/shm

So it shows the root fs twice, and introduces the weird rc-svcdir "filesystem".
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-17 23:46:59 UTC
I don't see what's weird about it. Those things are mounted, so df lists them.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-05-18 00:04:26 UTC
This isn't a bug. Furthermore, it is covered in the migration guide. http://www.gentoo.org/doc/en/openrc-migration.xml

<quote>
rootfs entry in /etc/mtab

Previously, the initial rootfs entry was removed from /etc/mtab, and only the real root / entry was present. The duplicate rootfs item was actually added back during shutdown. In OpenRC, both entries must be present for full support of initramfs and tmpfs-on-root. This also means that less writing is required during shutdown. 
</quote>
Comment 3 SpanKY gentoo-dev 2011-05-18 00:27:08 UTC

*** This bug has been marked as a duplicate of bug 219038 ***