[Mageia-discuss] File systems ?

David W. Hodgins davidwhodgins at gmail.com
Fri Jun 1 23:22:04 CEST 2012


On Fri, 01 Jun 2012 09:07:42 -0400, Renaud (Ron) Olgiati <renaud at olgiati-in-paraguay.org> wrote:

> I run a script based on df to check the total HD use on my box.
>
> After installing Mageia 2 it gives impossible results, which I attribute to DF
> now showing filesystems which I cannot find referenced in the File Hierarchy
> Standard, like rootfs, devtmpfs or (several) tmpfs (mounted in separate
> locations).
> Can anyone tell me where to find information on those, what they do ?

They are tmpfs filesystems, which by definition means they exist in ram
only.

The rootfs and the /dev/sd?? entry both show up due to the way systemd
does the chroot rather then the pivot method used by sysvinit scripts.

The devtmpfs, is the in ram copy of /dev.

The /run tmpfs is a mountpoint/directory used by systemd to store info
 from before the root filesystem is mounted, and is also used for removable
media mountpoints in some cases.

The cgroup tmpfs mountpoint is used by the kernel and systemd for keeping
track of which processes belong to which group.

To exclude them from df output, pipe it through grep like ...
df 2>/dev/null|grep -v -e tmpfs -e rootfs -e gvfs-fuse

Regards, Dave Hodgins


More information about the Mageia-discuss mailing list