Bug#370302: [Pkg-cryptsetup-devel] Bug#370302: a better recommendation for cryptdisks.functions

Jonas Meurer jonas at freesources.org
Sun Jun 4 19:28:56 UTC 2006


On 04/06/2006 David Härdeman wrote:
> >2) The swap-check-script use the "strings" tool which is in "/usr/bin"
> >  :-/. "egrep" can work with binarys so that work with "strings" is
> >  needless.
> 
> A better solution would be to use fstype from klibc or libvol from 
> udev to identify filesystem types.

fstype is in /usr/lib, but vol_id from udev is at /lib/udev/vol_id, and
seems like exactly what we want. for example:
# /lib/udev/vol_id -t /dev/sda4

i'll see whether i find time to implement it in the next days.

...
 jonas




More information about the Pkg-cryptsetup-devel mailing list