1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-27 07:22:31 +03:00
Commit Graph

245 Commits

Author SHA1 Message Date
Kay Sievers
01618658fd use autotools 2008-07-30 01:45:23 +02:00
Kay Sievers
726687ad48 delete all Makefiles and move udev source to udev/ 2008-07-30 00:39:15 +02:00
Thomas Koeller
aa5e29a581 use proper directory lib/lib64 for libvolume_id 2008-07-22 15:57:40 +02:00
Kay Sievers
2c0644c1c2 release 123 2008-06-12 00:08:43 +02:00
Erik van Konijnenburg
0c6ecdfd9f volume_id: support for oracleasm 2008-06-11 23:54:56 +02:00
Karel Zak
2f2f54c514 volume_id: enable GFS probing code, add LABEL support
* 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-28 20:07:17 +02:00
Karel Zak
2aae673c96 volume_id: remove unnecessary global variable
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-05-27 01:41:41 +02:00
Kay Sievers
7031a67c95 volume_id: bump version 2008-05-17 16:19:12 +02:00
Karel Zak
661a0bea80 volume_id: clean up linux_raid code
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>
2008-05-13 11:29:17 +02:00
Kay Sievers
d8a9d01704 udevadm: control - fix --env key to accept --env=<KEY>=<value> 2008-04-22 03:19:21 +02:00
Damjan Georgievski
be9c76b434 libvolume_id: recognize swap partitions with a tuxonice hibernate image 2008-04-21 12:44:25 +02:00
Kay Sievers
c70560feef logging: add trailing newline to all strings 2008-04-20 21:07:06 +02:00
Kay Sievers
8b5238670d vol_id: add --offset option 2008-04-09 12:35:03 +02:00
Roy Marples
064360cde8 Makefile: do not require GNU install 2008-03-15 00:02:39 +01:00
Matthias Schwarzott
44d01dced1 volume_id: respect LDFLAGS 2008-02-21 12:28:45 +01:00
Kay Sievers
3f91a27d16 volume_id: update ext detection 2008-02-09 12:17:32 +01:00
Karel Zak
bf79d61233 volume_id: fix typo in function documentation
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-01-24 01:12:33 +01:00
Neil Williams
a141b43506 volume_id: add prefix=, exec_prefix= 2008-01-09 22:36:36 +01:00
Karel Zak
1b4f9b167b volume_id: fix UUID raw buffer usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-01-09 16:15:07 +01:00
Kay Sievers
73ff769c90 volume_id: also add readable check to probe_all()
Otherwise probe_all will run two times into a timout, one
for the raid, and one for the filesystem probe. Thanks to
Tore Anderson for the debugging.
2007-12-17 15:32:41 +01:00
Kay Sievers
2bb4dd9766 volume_id: run only once into a timeout for unreadable devices 2007-12-16 19:56:04 +01:00
Hannes Reinecke
5caa40bea2 volume_id: LVM - add uuid 2007-12-16 19:22:32 +01:00
Kay Sievers
9e5920842b volume_id: md - add metadata minor version
Thanks to Hannes.
2007-12-07 17:26:15 +01:00
Kay Sievers
1e8b8e564c libvolume_id: squashfs - add endianess support for LZMA compression 2007-11-26 01:09:03 +01:00
Michael Prokop
d7515c7bb9 libvolume_id: squashfs+LZMA compression detection 2007-11-26 01:03:08 +01:00
Dan Nicholson
01ac7d96fa volume_id: create relative symlink when $(libdir) = $(usrlibdir) 2007-11-08 00:14:39 +01:00
Dan Nicholson
c8e826147a extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
Kay Sievers
f1bc0fdb0f volume_id: bump version 2007-10-24 16:51:03 +02:00
Kay Sievers
02ee0e3312 volume_id: ntfs - rely on valid master file table 2007-10-23 02:38:23 +02:00
Kay Sievers
74534dbde8 volume_id: LUKS - export version 2007-10-17 18:13:49 +02:00
Kay Sievers
424520043a volume_id: vfat - allow all possible sector sizes
https://bugs.launchpad.net/bugs/147807
2007-10-17 17:59:27 +02:00
Kay Sievers
7b6fd01651 volume_id: fix linux_raid metadata version 1.0 detection
Fixes:
  https://bugs.launchpad.net/ubuntu/+source/udev/+bug/133773
2007-08-29 06:06:00 +02:00
Kay Sievers
dbb2c414d7 man: recreate man pages 2007-08-28 04:24:08 +02:00
Kay Sievers
82d4209792 volume_id: fix sqashfs detection 2007-08-16 15:02:53 +02:00
Kay Sievers
9ea893ae25 libvolume_id: use /usr/$libdir in pc file 2007-07-22 19:58:04 +02:00
Kay Sievers
2e08169ed4 volume_id: ext4 detection 2007-07-08 17:25:55 +02:00
David Zeuthen
1fdce2f39d vol_id: do not fail if unable to drop privileges 2007-06-07 00:56:20 +02:00
Ryan Lortie
335b8aace3 volume_id: support for long-filename based labels 2007-05-25 03:36:59 +02:00
Kay Sievers
a3b836c6c2 volume_id: terminate overlong label strings 2007-05-25 03:35:18 +02:00
Kay Sievers
8cc6c96f1b volume_id: escape % character 2007-05-21 07:17:09 +02:00
Kay Sievers
d727cb9075 vol_id: export encoded strings 2007-05-17 20:10:09 +02:00
Kay Sievers
b10941c08d volume_id: add and export string encoding function
Needed for mount(8) to lookup LABEL=* in /dev/disk/by-label/*. Characters
not suited for a filename will be escaped and the encoded LABEL=* string
is able to find the corresponding symlink.
2007-05-17 20:09:24 +02:00
Kay Sievers
2f2c4fa442 replace_chars: replace spaces in node name 2007-05-17 20:01:54 +02:00
Kay Sievers
c6594afda4 volume_id: add function documentation 2007-05-15 01:11:48 +02:00
Kay Sievers
f29fdd3cef volume_id: vol_id depends on libvolume_id 2007-05-10 12:40:18 +02:00
Kay Sievers
223cfa97fc volume_id: add remaining names for prober lookup by type 2007-05-09 16:06:15 +02:00
Kay Sievers
9377c8d80c vol_id: use libvolume_id prober list for --probe-all 2007-05-08 20:00:02 +02:00
Kay Sievers
c1091150be volume_id: give access to list of all available probers 2007-05-08 19:59:23 +02:00
Kay Sievers
1c6c7ab118 vol_id: add ID_FS_UUID_SAFE 2007-05-06 02:24:21 +02:00
Kay Sievers
13361e4704 volume_id: rename UUID_64BIT_LE/BE 2007-05-06 02:23:48 +02:00
Kay Sievers
68d5578852 vol_id: README update 2007-05-04 17:16:08 +02:00
Kay Sievers
a6abdbfc7e volume_id: add DDF support 2007-05-04 16:54:46 +02:00
Kay Sievers
444f07fea4 volume_id: add internal UUID_STRING 2007-05-04 16:53:19 +02:00
Matthias Schwarzott
ee466b321e volume_id: fix Makefile for parallel make 2007-05-03 23:24:17 +02:00
Kay Sievers
1d9cdcdf91 vol_id: use volume_id_get_* 2007-05-03 14:24:56 +02:00
Kay Sievers
e7ea9c50e8 volume_id: add volume_id_get_* functions
In a future version of libvolume_id, struct volume_id will be
an opaque data type, which can't be accessed directly.

No interface has changed for now, until all known users are
converted not to access the structure directly.
2007-05-03 14:22:39 +02:00
Kay Sievers
4a86b682ab vol_id: use long options 2007-05-03 11:00:02 +02:00
Kay Sievers
4c13270a77 volume_id: use md native uuid format 2007-05-03 09:24:16 +02:00
Kay Sievers
6ed3edfb69 volume_id: minix version 3 support 2007-04-28 23:45:49 +02:00
Kay Sievers
e18e6d7999 volume_id: old md metadata has only 32 bit for the uuid 2007-04-28 23:06:20 +02:00
Kay Sievers
01ad1ef5f3 volume_id: ext - fix endianess in version number 2007-04-26 22:46:27 +02:00
Kay Sievers
07bc6002ca volume_id: add md metadata 1.0, 1.1, 1.2 support 2007-04-24 18:35:24 +02:00
Kay Sievers
285e2f5218 libvolume_id: do not install static library 2007-04-23 17:44:19 +02:00
Kay Sievers
f0f7c715ae volume_id: get rid of compiler warning 2007-03-18 12:55:21 +01:00
Kay Sievers
915fde1738 update DRIVER== changes 2007-02-24 23:43:04 +01:00
Kay Sievers
bba8160f51 man: correct udevinfo --export-db
Thanks to: Matthias Schwarzott <zzam@gentoo.org>
2007-02-05 16:03:00 +01:00
Kay Sievers
ac77e95948 volume_id: really fix endianess bug in linux_raid detection
Seems we find the md signature in cpu-order on the disk. Let's
look for both endian encodings ...

Thanks to Michael Prokop for his help finding the bug.
2007-02-03 01:12:34 +01:00
Andrey Borzenkov
27283c2fda vol_id: document -L 2007-01-22 22:27:16 +01:00
Andrey Borzenkov
ede9b54171 vol_id: add -L to print raw partition label 2007-01-21 22:49:45 +01:00
Peter Breitenlohner
86f4ea067e fix INSTALL_PROGRAM vs. INSTALL_SCRIPT 2007-01-21 15:48:58 +01:00
Kay Sievers
26133d54e0 man: recreate from xml 2006-11-27 10:30:17 +01:00
Kay Sievers
aa68c048f8 volume_id: fix endianess bug in linux_raid detection 2006-11-15 20:41:25 +01:00
Kay Sievers
2412f0886d volume_id: add comment about hfs uuid conversion 2006-10-15 18:20:15 +02:00
Kay Sievers
2658afdcf1 volume_id: add checksum check to via_raid 2006-10-13 13:17:13 +02:00
Bryan Kadzban
53fc01d507 add IMPORT operations to the udev man page 2006-09-23 22:10:55 +02:00
Kay Sievers
4ca254b382 volume_id: correct iso9660 high sierra header
Thanks to David Härdeman.
2006-09-12 14:33:06 +02:00
Kay Sievers
5c51e31e0e vol_id: use primary group of 'nobody' instead of 'nogroup'
This fixes a Fedora issue not having the group 'nogroup'.
2006-08-20 18:24:34 +02:00
Kay Sievers
708cb35941 volume_id: add suspend partition detection
Based on a patch from:
  Scott James Remnant <scott@ubuntu.com>
2006-08-20 18:23:48 +02:00
Lennart Poettering
aa9a49b4b3 volume_id: fix fat32 cluster chain traversal 2006-08-15 23:53:14 +02:00
Kay Sievers
eb82b76ded libvolume_id: read ufs2 label
Taken from the FreeBSD HAL repository.
2006-08-05 00:02:58 +02:00
Kay Sievers
55c1768ca1 refresh vol_id man page 2006-07-29 02:13:42 +02:00
Kay Sievers
cdf1894863 libvolume_id: add parameter 'size' to all probe functions 2006-07-25 14:59:50 +02:00
Kay Sievers
7d5ccc0810 vol_id: add --skip-raid and --probe-all option 2006-07-13 16:59:01 +02:00
Kay Sievers
c76b97dc4d Makefiles: fix .PHONY for man page target
Thanks to David Härdeman for pointing it out.
2006-07-04 18:41:07 +02:00
Kay Sievers
b879c303a7 netif rename: optimistic loop for the name to become free
Parts from Ubuntu's 70-ifrename.patch.
2006-07-03 00:58:35 +02:00
Kay Sievers
e55a73abb0 libvolume_id: gfs + gfs2 support
Patch from Red Hat.
2006-05-30 16:01:28 +02:00
Kay Sievers
6deef78755 libvolume_id: add more software raid signatures 2006-05-15 21:57:28 +02:00
Kay Sievers
2bac6c64aa libvolume_id: fat - check for signature at end of sector 2006-05-13 18:38:03 +02:00
Kay Sievers
172ee4205c libvolume_id: nss - use different uuid 2006-05-12 11:35:57 +02:00
Kay Sievers
674e00f67c vol_id: add NetWare volume detection 2006-05-09 08:46:07 +02:00
Kay Sievers
3d6d12c6b1 vol_id: fix logging from libvolume_id's log function 2006-04-28 17:52:09 +02:00
Kay Sievers
f7dd3a57a4 volume_id: move some debug to info level 2006-04-08 05:04:35 +02:00
Kay Sievers
1017f139b3 volume_id: fix endianess conversion typo for FAT32 2006-04-05 17:31:49 +02:00
Kay Sievers
66e14ae7de fix symlink targets in Makefiles 2006-04-03 14:40:06 +02:00
Kay Sievers
cee5700cde volume_id: generate man page from xml source 2006-03-30 02:13:22 +02:00
Kay Sievers
f05da2ae00 volume_id: update README 2006-03-30 01:52:12 +02:00
Kay Sievers
1fda06ae98 pass CROSS_COMPILE to AR and RANLIB down to extras/ 2006-03-30 00:48:30 +02:00
Kay Sievers
4809b49e41 move all *_id programs to /lib/udev/ 2006-03-29 14:44:41 +02:00
Kay Sievers
16801abde1 man pages: mention udev(7) not udev(8)
Thanks to:
  Henrique de Moraes Holschuh <hmh@debian.org>
2006-03-28 20:16:34 +02:00
Kay Sievers
15ff0ba36e remove all stripping code 2006-03-28 03:09:18 +02:00