On 03/05/15 11:28, Pádraig Brady wrote:
> On 03/05/15 08:16, Rabin Yasharzadehe wrote:
>> Package: coreutils
>> Version: 8.23-4
>> Severity: important
>>
>> Dear Maintainer,
>>
>>> What led up to the situation?
>> After the upgrade to Debian 8 from Debain 7, 
>> the output of the df command have changed.
>>
>> This change broke oue backup scripts which was looking for
>> the mapper string in the df command output.
>>
>>> Old out put format was 
>>
>> # df -Ph /
>> Filesystem            Size  Used Avail Use% Mounted on
>> /dev/mapper/vg1-root   14G  3.3G  9.8G  25% /
>>
>>> New (bad) output 
>>
>>  # df -Ph /
>>  Filesystem      Size  Used Avail Use% Mounted on
>>  /dev/dm-0       6.7G  3.6G  2.8G  57% /
> 
> Yes coreutils no shows the canonicalized name:
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.14-116-g1e18d84
> 
> It seems a bit coupled to be searching for "mapper".
> Why use that as a selector? Are you backing up devices
> rather than files? Is there asnother way to select devices?

Note if /dev/dm-0 is presented in /proc/mounts
then this is all that is provided by the system to df,
which then has no opportunity to use higher level names.

Padraig


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to