New APIs: vfs-label and vfs-uuid return label and uuid for many fs types.
authorRichard Jones <rjones@redhat.com>
Tue, 1 Jun 2010 12:57:12 +0000 (13:57 +0100)
committerRichard Jones <rjones@redhat.com>
Tue, 1 Jun 2010 14:30:08 +0000 (15:30 +0100)
commit27b730a6820b80a49a4da1af9f4c8e8a952f735e
tree0942e13a9e75d313b4b9720b280e4990b10a8fe5
parent21c42e9fabf6cea3d564e338a314479ef120502a
New APIs: vfs-label and vfs-uuid return label and uuid for many fs types.

These APIs generalize the existing 'get-e2label' and 'get-e2uuid'
calls, to provide calls which should be able to get the label
and UUID for most filesystem types.  These use 'blkid' to do the
work.

I have tested that the blkid commands themselves work on RHEL 5.

(Suggested by Yufang Zhang).
daemon/blkid.c
src/MAX_PROC_NR
src/generator.ml