[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426943: *_crypt naming causes df to line-wrap

On Friday 01 June 2007 00:25, martin f krafft wrote:
> The naming of crypto devices as hda1_crypt causes df to use two
> lines for each filesystem. Please consider using just cr_hda1
> instead.

I'm not sure if changing the name for just this reason is wise. df will 
wrap lines in a lot more cases than just this one, including in practice 
any LVM volume.
And you can always use 'df -P' if you really need the output to be on the 
same line (for parsing by a script for example).

As changing the name would for example break the rescue procedure I 
recently documented on [1] (the crypto device name used in the luksOpen 
command needs to match what is in /etc/crypttab to avoid e.g. 
update-initramfs to fail), I would not like to see the name changed 


[1] http://wiki.debian.org/DebianInstaller/Rescue/Crypto

Attachment: pgp3nsDzHG_J3.pgp
Description: PGP signature

Reply to: