Bug 1581 - Duplicate entries in df output
: Duplicate entries in df output
Status: RESOLVED INVALID
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Marathon
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-04 15:41 MSK by FirstLevel
Modified: 2013-02-08 13:13 MSK (History)
5 users (show)

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FirstLevel 2013-02-04 15:41:44 MSK
Description of problem:
I have installed ROSA 2012 Marathon with all updates.
If I execute df command I get the output with duplicate entries.
#df
Файловая система Размер Использовано  Дост Использовано% Cмонтировано в
rootfs              22G         5,0G   16G           25% /
devtmpfs           921M            0  921M            0% /dev
tmpfs              936M         1,4M  935M            1% /dev/shm
tmpfs              936M          25M  912M            3% /run
/dev/sda6           22G         5,0G   16G           25% /
tmpfs              936M          25M  912M            3% /run
tmpfs              936M            0  936M            0% /sys/fs/cgroup
tmpfs              936M            0  936M            0% /media
/dev/sda1          100M          25M   76M           25% /mnt/win_c
/dev/sda2           64G          27G   38G           42% /mnt/win_d
/dev/sda5          1,7G          65M  1,5G            5% /boot
/dev/sda8          207G          23G  184G           12% /home

As You can see "/" and "run" are duplicated 

Some diagnostic info:
uname -a
Linux gasstation 3.0.38-nrj-desktop-1rosa.lts #1 SMP PREEMPT Tue Jul 24 11:00:04 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa | grep setup
rpm-mandriva-setup-1.130-1-rosa.lts2012.0.x86_64
rpm-manbo-setup-2-27-rosa.lts2012.0.noarch
dmsetup-1.02.64-3-rosa.lts2012.0.x86_64
lib64cryptsetup1-1.2.0-5-rosa.lts2012.0.x86_64
cryptsetup-1.2.0-5-rosa.lts2012.0.x86_64
setup-2.7.18-8-rosa.lts2012.0.x86_64

ls -al /etc/mtab
lrwxrwxrwx 1 root root 19 Янв 23 20:53 /etc/mtab -> ../proc/self/mounts




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Sergey Zhemoitel 2013-02-06 18:56:58 MSK
This found in ROSA Fresh (2012.1) too
Comment 2 Sergey Zhemoitel 2013-02-06 18:57:59 MSK
In ROSA Fresh:

df
Файловая система    Размер Использовано  Дост Использовано% Cмонтировано в
rootfs                8,4G         5,1G  3,3G           62% /
devtmpfs              991M         4,0K  991M            1% /dev
tmpfs                1004M          80K 1003M            1% /dev/shm
tmpfs                1004M         4,6M  999M            1% /run
/dev/sdb1             1,5G         1,5G     0          100% /run/initramfs/live
/dev/mapper/live-rw   8,4G         5,1G  3,3G           62% /
tmpfs                1004M            0 1004M            0% /sys/fs/cgroup
tmpfs                1004M          52K 1003M            1% /tmp
Comment 3 Postnikov Dmitry 2013-02-06 19:03:42 MSK
(In reply to comment #2)
> In ROSA Fresh:
> 
> df
> Файловая система    Размер Использовано  Дост Использовано% Cмонтировано в
> rootfs                8,4G         5,1G  3,3G           62% /
> /dev/mapper/live-rw   8,4G         5,1G  3,3G           62% /

But this not dublicate.
Comment 4 Sergey Zhemoitel 2013-02-06 19:07:16 MSK
but what is it then?
Comment 5 Alexander Burmashev 2013-02-06 19:58:56 MSK
It means that  different filesystems were mounted to the same place.
Df shows exactly what it detects, so if 2 entities were mounted to the same place - it will show it.
For example you can have some "fun" by creating a folder /asd and running mount --bind /asd /asd multiple times and then checking df output =) 


Current description is missleading, if you think that there are some duplicated mounts and it is a bug, open a ticket against it and explain why do you think so.
Current bug title leads to a conclusion that df produces some wrong output, which is not the case. The output is absolutely correct. And by the way entries are not "duplicated", they are not the same.