]> err.no Git - util-linux/commit
blkid: add ID_FS_AMBIVALENT for udev output
authorKarel Zak <kzak@redhat.com>
Wed, 11 Nov 2009 16:21:36 +0000 (17:21 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Nov 2009 16:21:36 +0000 (17:21 +0100)
commitc54670d564e52615faced9f700135527a71da594
treec169ea4805225725a79b39b499c25175a7061158
parent7a3531d48106f3522b7c28825826d526066be766
blkid: add ID_FS_AMBIVALENT for udev output

UI tools that read information from udev need a way how inform users
about ambivalent probing result (more valid filesystems on the
device).

This patch add a new ID_FS_AMBIVALENT variable:

ID_FS_AMBIVALENT=<info> <info> [ ...]

where <info> is:

<usage>:<type>[:<version>]

all strings are encoded (white spaces and utf8 are replaced with \hex).

For example:

# blkid -p -o udev /dev/sda1
ID_FS_AMBIVALEN=filesystem:vfat:FAT12 other:swap:2

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/blkid.c