Hello Andrea,

I tried using your patch with XFS... it works with the following setting in  
"/etc/default/cryptdisks":

CRYPTDISKS_CHECK="/usr/sbin/xfs_admin -l"

When you want to suppress that rather unpleasantly output of xfs_admin (it 
calls xfs_db which generates a floating point exception when being tried on a 
crypted disks with wrong key/passwort) you can change line 173 of 
"/etc/init.d/cryptdisks" from

if $CHECK $MAPPER/$dst ; then

to

if $CHECK $MAPPER/$dst &>/dev/nil ;  then 

Well I think there should be a better solution than that but

CRYPTDISKS_CHECK="/usr/sbin/xfs_admin &>/dev/nil -l"

doesn't seem to work and did not figure out a fix of "/etc/init.d/cryptdisks" 
easily. (I just started to learn bash programming ;-).

Regards,
-- 
Martin Steigerwald                            Mail: [EMAIL PROTECTED]
Systemadministrator                           Fon:  +49 (0)911 30999-0
team(ix) GmbH                                 Fax:  +49 (0)911 30999-99
Süd-West-Park 35, 90449 Nürnberg, Deutschland

Reply via email to