summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile
AgeCommit message (Collapse)Author
2006-03-30volume_id: generate man page from xml sourceKay Sievers
2006-03-29move all *_id programs to /lib/udev/Kay Sievers
2006-03-28remove all stripping codeKay Sievers
2006-03-27volume_id: use shared library by defaultKay Sievers
2006-03-27volume_id: rename subdirectoryKay Sievers
2006-03-23volume_id: provide libraryKay Sievers
2006-01-28replace fancy silent build program by simple kernel build like logicKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09replace libsysfsKay Sievers
We never used any of the libsysfs convenience features. Here we replace it completely with 300 lines of code, which are much simpler and a bit faster cause udev(d) does not open any syfs file for a simple event which does not need any parent device information. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16Makefile: remove exec_prefix and srcdirKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09volume_id: provide libvolume_id.a fileKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-31add man pages for *_id programsJan Luebbe
I've written manpages for the *_id binaries, which are attached to this mail.
2005-10-28"STRIPCMD=" for the EXTRASKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS: cleanup and sync all MakefilesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14EXTRAS/Makefile: fix install targets to match main MakefileJürg Billeter
2005-08-30Makefile: remove all the duplicated rulesKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-01fix GGC signed pointer warnings and switch volume_id to stdintKay Sievers
Solaris uses volume_id now and they fiddled around with configure scripts to map the linux kernel int types. Adding the types locally to volume_id breaks the klibc build, so just switch to these ugly types and forget it. :) Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-17volume_id: add OCFS (Oracle Cluster File System) supportAndre Masella
2005-06-26rename udev_volume_id to vol_id and add --export optionKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05volume_id: use udev-provided log-levelKay Sievers
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-04-26[PATCH] klibc: use klcc wrapper instead of our own Makefilekay.sievers@vrfy.org
2005-04-26[PATCH] The following patch fixes some warnings when compiling volume_idtklauser@access.unizh.ch
2005-04-26[PATCH] udev_volume_id: volume_id version 034kay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: volume_id version 032kay.sievers@vrfy.org
2005-04-26[PATCH] Makefile: add some more warnings and prepare for clean gcc4 compilekay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: new version of volume_idkay.sievers@vrfy.org
Every filesystem has its own subdirectory. The IBM dasd label reading is included into volume_id.
2005-04-26[PATCH] udev_volume_id: links sysfs.a instead of all objectskay.sievers@vrfy.org
cuts down the size from: dynamically linked: 48.030 -> 45.187 statically linked: 149.177 -> 142.362
2005-04-26[PATCH] Patches from Harald Hoyer <harald@redhat.com>.kay.sievers@vrfy.org
2005-04-26[PATCH] fix debug in volume id / fix clashing global var namekay.sievers@vrfy.org
Here we get the logging for udev_volume_id working if it is compiled with DEBUG=true. Also fixed is a name clash with a global variable.
2005-04-26[PATCH] let the extras/ programs build "pretty" alsogreg@kroah.com
2005-04-26[PATCH] update udev_volume_idkay.sievers@vrfy.org
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 :)
2005-04-26[PATCH] udev_volume_id updatekay.sievers@vrfy.org
Here is a update to extras/volume_id/* o The device is now specified by the DEVPATH in the environment, it's no longer needed to pass the major/minor to the callout. o leading spaces and slashes are now removed from the returned string and spaces are replaced by underscore, to not to confuse udev. o Arnd Bergmann <arnd@arndb.de> provided the code to recognize s390 dasd disk labels. The -d switch tries to read the main block device instead of the partition.
2005-04-26[PATCH] udev callout for reading filesystem labelskay.sievers@vrfy.org
here is a small udev toy, which enables udev to name partitions by its filesystem label or uuid's. The following udev rule: KERNEL="sd*", PROGRAM="/sbin/udev_volume_id -M%M -m%m -u", SYMLINK="%c" creates a symlink with the uuid read from the filesystem. If no label or uuid is found the program exits with nonzero and the rule will fail. ext2, ext3, reiserfs, xfs, jfs, vfat, msdos volume labels are supported, ntfs and swap partitions can be recognized. It's possible to compile with klibc and the static binary takes 13kb.