1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
Commit Graph

234 Commits

Author SHA1 Message Date
Alan Jenkins
b29a5e4ab9 use more appropriate alternatives to malloc()
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-21 12:54:57 +02:00
Kay Sievers
d56f94d168 volume_id: btrfs - update magic to latest disk format 2008-10-16 17:10:47 +02:00
Kay Sievers
f183b6ed76 libudev: add global property list 2008-10-16 13:51:29 +02:00
Kay Sievers
f4700eb8a0 vol_id: update README 2008-10-13 03:34:37 +02:00
Steven Whitehouse
2f66462982 volume_id: support for GFS2 UUIDs 2008-10-13 03:23:31 +02:00
Kay Sievers
6a328058e0 volume_id: more fat debugging 2008-10-06 18:17:05 +02:00
Kay Sievers
3cbc96e3be volume_id: add more vfat debugging information 2008-10-06 12:17:47 +02:00
Kay Sievers
0565a00a4c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
Kay Sievers
99370c2152 volume_id: add btrfs 2008-10-03 17:23:12 +02:00
Kay Sievers
59315eeae4 volume_id: better DDF raid detection 2008-10-03 15:01:39 +02:00
Kay Sievers
ab7430c5d8 vol_id: always use the safe string versions for unencoded label and uuid 2008-10-03 14:58:02 +02:00
Kay Sievers
d4f687c013 vol_id: fix logging glue 2008-10-03 14:56:54 +02:00
Kay Sievers
3ab8ebf572 volume_id: add dbg() as noop to check for compile errors 2008-10-03 14:50:57 +02:00
Kay Sievers
22c89d3fd7 vol_id: add size= option 2008-10-03 11:42:47 +02:00
Kay Sievers
e598c5738c libudev: get rid of selinux
"Hello world!" linked against libselinux parses /proc/mounts and
whatever else on startup, even when the lib is not needed at all.
Not funny! Get rid of that thing where it's not absolutely needed.
2008-10-02 18:48:40 +02:00
Kay Sievers
033e9f8cde use no_argument, required_argument, optional_argument in longopts 2008-10-02 16:49:05 +02:00
Kay Sievers
842dacb76f volume_id: hpfs - read label and uuid 2008-10-02 15:16:11 +02:00
Kay Sievers
4dea370d49 build: include Makefile.am.inc in all Makefile.am
Many thanks to Chris Spiegel for finding the still current vol_id
non-large-file-access bug, because of not including config.h.
2008-10-01 18:02:39 +02:00
Kay Sievers
d0f398bc25 gitignore: move *.8 to subdirs 2008-09-29 05:03:43 +02:00
Kay Sievers
38f27948cd always include config.h from Makefile 2008-09-19 23:03:49 -07:00
Kay Sievers
c68a293678 vol_id: fix lib logging glue 2008-09-16 00:40:47 -07:00
Kay Sievers
7525097713 extras: use libudev code 2008-09-10 18:24:39 +02:00
Kay Sievers
b2946df419 libudev: rename libudev-utils.c libudev-util.c 2008-09-10 17:12:33 +02:00
Kay Sievers
7a01f11afb libudev: get rid of udev_utils.c 2008-09-10 17:08:24 +02:00
Kay Sievers
b21b95d722 libudev: get rid of udev_sysfs.c 2008-09-10 14:29:07 +02:00
Kay Sievers
55e9959b15 update file headers 2008-09-10 02:40:42 +02:00
Kay Sievers
ef5c2d048c volume_id: merge util.h in libvolume_id-private.h 2008-09-10 02:31:11 +02:00
Kay Sievers
4f4b12c203 libudev: add selinux 2008-09-10 00:46:17 +02:00
Kay Sievers
e5931bb7d8 udevadm: add --version --help options to man page, hide them as commands 2008-09-07 14:48:33 +02:00
Kay Sievers
f640b32fdd vol_id: add --debug option 2008-09-06 16:37:00 +02:00
Kay Sievers
7643819062 volume_id: linux_raid - fix logic for volumes with size == 0 2008-09-06 16:23:21 +02:00
Kay Sievers
7d563a17f3 use libudev code, unify logging, pass udev context around everywhere 2008-09-06 15:45:31 +02:00
Kay Sievers
c2175d2524 volume_id: fail on undefined __BYTE_ORDER 2008-09-01 16:39:34 +02:00
Kay Sievers
ac877d7cf4 volume_id: hfs - calculate proper uuid 2008-08-31 12:20:24 +02:00
Kay Sievers
550d5c2879 volume_id: remove left-over fd close() 2008-08-29 17:06:08 +02:00
Kay Sievers
2603474ff9 volume_id: remove deprecated functions and bump major version 2008-08-28 23:39:41 +02:00
Kay Sievers
f46a8a98a7 vol_id: make the --offset= argument optional 2008-08-22 10:04:55 +02:00
Kay Sievers
4337f8fcf1 volume_id: create relative links 2008-07-30 15:50:12 +02:00
Kay Sievers
4cf46e2c02 volume_id: move static lib to $prefix 2008-07-30 14:45:43 +02:00
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