summaryrefslogtreecommitdiff
path: root/extras/volume_id
AgeCommit message (Collapse)Author
2005-04-26[PATCH] volume_id: version 42kay.sievers@vrfy.org
2005-04-26[PATCH] volume_id: version 41kay.sievers@vrfy.org
2005-04-26[PATCH] The following patch fixes some warnings when compiling volume_idtklauser@access.unizh.ch
2005-04-26[PATCH] fix ia64 compilekay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: version 39kay.sievers@vrfy.org
2005-04-26[PATCH] rename LOG to USE_LOG in all placeskay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: volume_id v38kay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: add Reiser4 supporttklauser@access.unizh.ch
2005-04-26[PATCH] udev_volume_id: volume_id v35kay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: fix typokay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: remove temporary node creation and parent handlingkay.sievers@vrfy.org
udev can create the temporary node for us now. (On bootup we don't know where a writable filesystem is mounted). Also the parent handling is not needed anymore, cause udev is able to pass us the node name of the parent device.
2005-04-26[PATCH] udev_volume_id: remove __packed__ from dasd structure as it does not ↵kay.sievers@vrfy.org
work
2005-04-26[PATCH] udev_volume_id: fix dasd disklabel reading with -l optionkay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: volume_id version 034kay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: rename probe_ibm into probe_dasdkay.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: fix -d optioncborntra@de.ibm.com
The -d option in udev_allows to go from a partition to the underlying disk for s390 dasd labels. If the device is already the disk itself, finding the parent will fail, therefore -d on /sys/block/dasda/ for example gives no result at all.
2005-04-26[PATCH] udev_volume_id: fix FAT label readingkay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: version 27kay.sievers@vrfy.org
Fix FAT label reading bug for very large volumes. Recognize FAT label at Win98 formatted volumes. Read iso9660 joliet descriptor for unicode labels. Support uuid/label of swap partitions.
2005-04-26[PATCH] fix udev_volume_id build error.greg@kroah.com
bah, when will I remember to check the extras _before_ I do a release...
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] fix udev_volume_id so it will now build properly.greg@kroah.com
2005-04-26[PATCH] Add support for highpoint ataraid to volume_id to suppresskay.sievers@vrfy.org
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] volume_id fixkay.sievers@vrfy.org
I've been told that open() should not pass O_NONBLOCK.
2005-04-26[PATCH] let the extras/ programs build "pretty" alsogreg@kroah.com
2005-04-26[PATCH] update volume_idkay.sievers@vrfy.org
Here is an update to the latest volume_id which fixes a few bugs with FAT volumes.
2005-04-26[PATCH] volume-id build fix and updatekay.sievers@vrfy.org
Let's try it another way: We define BLKGETSIZE64 in udev-volume_id.c now, cause including <fs.h> does also not work with klibc. This hopefully fixes your compile problem too. Also included is an update to udev_volume_id with the latest fixes for volume_id. It adds a simple logging file to map the debug function, that we can use exactly the same files in HAL and udev.
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] update udev_volume_idkay.sievers@vrfy.org
volume_id is now able to read NTFS labels. Not very exciting, but we keep up to date with the version in HAL. Also __packed__ was needed for the structs, cause the gcc 3.4 compiled version was no longer working properly.
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
On Fri, Apr 30, 2004 at 03:29:54PM -0700, Greg KH wrote: > On Thu, Apr 29, 2004 at 11:04:46PM +0200, Kay Sievers wrote: > > Hi, > > 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. > > Very nice, I was wondering who was going to use that library to make > such a tool. This is even better as we can use klibc for it. Here is a update, which supports iso9660 and udf labels. Not very useful in the udev case, but I've added it for hal, so we just catch up with the latest version.
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.