[Pkg-mc-devel] Bug#746990: mc: Wrong device name with symbolic link in information panel

Alain Rpnpif rpnpif at free.fr
Sun May 18 17:19:19 UTC 2014


OK, Dmitry, I explain.

Let 2 ext4 partitions : /dev/sdb3 and /dev/sdb4.
/dev/sdb3 is mounted on /mnt/dir3 and /dev/sdb4 is mounted
on /mnt/dir4
Do these bash commands :
cd /mnt/dir3
mkdir mytry3
cd mytry3
echo "try 1" > myfile
mkdir /mnt/dir4/mytry4
cd /mnt/dir4/mytry4
echo "try 1" > myfile
ln -s /mnt/dir3/mytry3 /mnt/dir4/mytry3
mc
Ctrl-x i
Select /mnt/dir4/mytry4/myfile
On the informations panel, device is /dev/sdb4. Good.
Now, select /.. on the top.
Select mytry3
Select myfile
The displayed device is : /dev/sdb4 ! FALSE !
It was not updated.
It should be /dev/sdb3.

I expect that it is more clear.

-- 
Alain Rpnpif



More information about the Pkg-mc-devel mailing list