#!/bin/sh
# Wrapper to convert busybox blkid output to udev format

# Only interested in the last parameter which indicates the device
while [ "$#" -gt 1 ]
do
    shift
done

echo "ID_FS_USAGE=other"
exec /sbin/blkid | grep "^$1:" | sed -e 's/.*: */ID_FS_/' -e 's/UUID/UUID_ENC/'
