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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to