summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-09-05 18:05:36 +0200
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:00 -0700
commitc506c4087efe567b3cb382bd228644cde3453b04 (patch)
tree4bf11457bb3b02b30ca64c64878ad5d62919e906 /extras/volume_id/Makefile
parentcb7c281b8dfb4b1c53902b197c98ac7bd4c7e421 (diff)
[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 :)
Diffstat (limited to 'extras/volume_id/Makefile')
-rw-r--r--extras/volume_id/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile
index 307fdc2f16..8813f9fca5 100644
--- a/extras/volume_id/Makefile
+++ b/extras/volume_id/Makefile
@@ -28,7 +28,11 @@ INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
-override CFLAGS+=-Wall -fno-builtin
+override CFLAGS+=-Wall -fno-builtin -Wchar-subscripts -Wmissing-declarations \
+ -Wnested-externs -Wpointer-arith -Wcast-align \
+ -Wsign-compare
+
+override CFLAGS+=-D_FILE_OFFSET_BITS=64
SYSFS = ../../libsysfs/sysfs_bus.o \
../../libsysfs/sysfs_class.o \