chiark / gitweb /
[PATCH] update udev_volume_id
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sun, 5 Sep 2004 16:05:36 +0000 (18:05 +0200)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:00 +0000 (21:37 -0700)
commitc506c4087efe567b3cb382bd228644cde3453b04
tree4bf11457bb3b02b30ca64c64878ad5d62919e906
parentcb7c281b8dfb4b1c53902b197c98ac7bd4c7e421
[PATCH] update udev_volume_id

Here is an update for the volume_id callout to catch up to the latest
and greatest:

o It is able to skip the label reading of linux raid members, which are
  otherwise recognized as a normal filesystem.

o It reads FAT labels stored in the directory instead of the
  superblock (Windows only writes in the directory).

o The NTFS uuid is the right one now.

o It reads all the Apple HFS(+) formats with the labels.

o UFS volumes are recognized but no labels are extracted.

o We use CFLAGS+=-D_FILE_OFFSET_BITS=64 instead of lsee64() which may fix
  a bug mentioned on the klibc mailing list.

A lot of other new features are only used in HAL and not needed in this
simple callout. But if someone stumbles over it and want's to send a patch
for some exotic formats, we better keep it up to date :)
extras/volume_id/Makefile
extras/volume_id/udev_volume_id.c
extras/volume_id/volume_id.c
extras/volume_id/volume_id.h