summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib
AgeCommit message (Collapse)Author
2009-05-12delete libvolume_idKay Sievers
2009-03-03volume_id: ntfs - fix uuid settingKay Sievers
In my scenario, the ntfs prober did *not* detect the presence of a ntfs filesystem (i.e. vol_id --probe-all returned *only* ext3). However, if you examine the source of the ntfs prober, it overwrites the uuid field of the volume_id object long before it actually decides there's a valid filesystem there - this resulted in vol_id returning the rather bizarre combination of type=ext3, but a uuid populated by the ntfs prober. https://bugs.edge.launchpad.net/ubuntu/+source/udev/+bug/337015
2009-01-24vol_id: add missing id->type to swap0Karel Zak
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-01-24vol_id: fix ddf version stringKarel Zak
The version string in DDF suberblock does not include the null terminator and the snprintf() function writes at most "size" bytes *including* the null byte. old version: ID_FS_VERSION=02.00.0 new version: ID_FS_VERSION=02.00.00 Signed-off-by: Karel Zak <kzak@redhat.com>
2009-01-15volume_id: support via raid version 2Sven Jost
2008-12-09volume_id: support sub-uuid's and plug in btrfs device uuidKay Sievers
2008-12-09volume_id: btrfs - update formatKay Sievers
2008-12-06make: do not delete autotools generated file with distcleanKay Sievers
[...] running the command `make maintainer-clean' should not delete `configure' even if `configure' can be remade using a rule in the Makefile. More generally, `make maintainer-clean' should not delete anything that needs to exist in order to run `configure' and then begin to build the program. This is the only exception; `maintainer-clean' should delete everything else that can be rebuilt.
2008-12-03volume_id: HPFS code clean upKarel Zak
* fix typo (hs vs. hbb) * set id->{version,usage,type} when all tests pass * be paranoid and don't use hs->version when "hs" source buffer was possibly modified by next volume_id_get_buffer() call. Signed-off-by: Karel Zak <kzak@redhat.com>
2008-11-22update NEWS TODOKay Sievers
2008-11-21volume_id: clear probing result before probing and do not probe a second ↵Kay Sievers
time, if not needed On Thu, Nov 20, 2008 at 14:17, Karel Zak <kzak@redhat.com> wrote: > I see the patch (volume_id_probe_filesystem()) and a few things come > to mind: > > - shouldn't be the relevant parts (label, uuid, version, ...) of > the "struct volume_id" zeroized when you found a signature and > before you call the next probing function? > > - it seems as overkill to use two for()s and probe two times for all > filesystems. What about to store the first result and re-use it? > > - .. or at least never use the second for() when the fist for() found > nothing ;-)
2008-11-21volume_id: update btrfsKay Sievers
2008-11-21volume_id: remove unused usage typesKay Sievers
2008-11-18volume_id: update btrfs magicKay Sievers
2008-11-13volume_id: ntfs - mark as no other fs must matchKay Sievers
2008-11-13fix spelling in commentKay Sievers
2008-11-13volume_id: fat - accept empty FAT32 fsinfo signatureKay Sievers
2008-11-13volume_id: always check for all filesystem types and skip conflicting resultsKay Sievers
We probe for all known filesystems to find conflicting signatures. If we find multiple matching signatures and one of the detected filesystem types claims that it can not co-exist with any other filesystem type, we do not return a probing result. We can not afford to mount a volume with the wrong filesystem code and possibly corrupt it. Linux ssytems have the problem of dozens of possible filesystem types, and volumes with left-over signatures from former filesystem types. Invalid signature need to be removed from the volume to make the filesystem detection successful. We do not want to read that many bytes from probed floppies, skip volumes smaller than a usual floppy disk.
2008-11-13volume_id: fat - move check for msdos signature (0x55 0xaa)Karel Zak
Make the msdos signature (0x55 0xaa) at 510 and 511 optional when the standard FAT magic string is present.
2008-11-05volume_id: btrfs updateKay Sievers
2008-10-22volume_id: swap - larger PAGE_SIZE supportMatthias Koenig
2008-10-21use more appropriate alternatives to malloc()Alan Jenkins
Use calloc to request cleared memory instead. Kernel and libc conspire to make this more efficient. Also, replace one malloc() + strcpy() with strdup(). Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-16volume_id: btrfs - update magic to latest disk formatKay Sievers
2008-10-13volume_id: support for GFS2 UUIDsSteven Whitehouse
2008-10-06volume_id: more fat debuggingKay Sievers
2008-10-06volume_id: add more vfat debugging informationKay Sievers
2008-10-03volume_id: use PRIu64i, PRIx64 macrosKay Sievers
2008-10-03volume_id: add btrfsKay Sievers
2008-10-03volume_id: better DDF raid detectionKay Sievers
2008-10-03volume_id: add dbg() as noop to check for compile errorsKay Sievers
2008-10-02volume_id: hpfs - read label and uuidKay Sievers
2008-10-01build: include Makefile.am.inc in all Makefile.amKay Sievers
Many thanks to Chris Spiegel for finding the still current vol_id non-large-file-access bug, because of not including config.h.
2008-09-10update file headersKay Sievers
2008-09-10volume_id: merge util.h in libvolume_id-private.hKay Sievers
2008-09-06volume_id: linux_raid - fix logic for volumes with size == 0Kay Sievers
2008-09-01volume_id: fail on undefined __BYTE_ORDERKay Sievers
2008-08-31volume_id: hfs - calculate proper uuidKay Sievers
2008-08-29volume_id: remove left-over fd close()Kay Sievers
2008-08-28volume_id: remove deprecated functions and bump major versionKay Sievers
2008-07-30volume_id: create relative linksKay Sievers
2008-07-30volume_id: move static lib to $prefixKay Sievers
2008-07-30use autotoolsKay Sievers
2008-07-30delete all Makefiles and move udev source to udev/Kay Sievers
2008-07-22use proper directory lib/lib64 for libvolume_idThomas Koeller
2008-06-12release 123Kay Sievers
2008-06-11volume_id: support for oracleasmErik van Konijnenburg
2008-05-28volume_id: enable GFS probing code, add LABEL supportKarel Zak
* enables GFS/GFS2 probing code (it's disabled now!) * adds support for LABELs -- it seems that locktable name is usable as a LABEL (at least according to libblkid). * removes extra check of sb_header.mh_format -- nothing in kernel and blkid checks this superblock entry. It seems that check GFS_MAGIC and GFS_METATYPE_SB is enough. Signed-off-by: Karel Zak <kzak@redhat.com>
2008-05-27volume_id: remove unnecessary global variableKarel Zak
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-05-17volume_id: bump versionKay Sievers
2008-05-13volume_id: clean up linux_raid codeKarel Zak
extra global and/or non-static variables suck in shared libraries use "else if" rather than many "return" calls Signed-off-by: Karel Zak <kzak@redhat.com>