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
4aa0b15efb
fix dbg() callers
2008-09-29 19:03:08 +02:00
Kay Sievers
d0f398bc25
gitignore: move *.8 to subdirs
2008-09-29 05:03:43 +02:00
Kay Sievers
e345e2670a
libudev: rework list handling
2008-09-26 19:44:53 +02:00
Kay Sievers
38f27948cd
always include config.h from Makefile
2008-09-19 23:03:49 -07:00
Alan Jenkins
a4354f9385
scsi_id: compiler warning on 32-bit
...
The sg_io_v4 interface passes pointers as u64s. It turns out GCC
disapproves of us casting a u64 straight to a 32 bit pointer.
cc1: warnings being treated as errors
scsi_serial.c: In function ‘sg_err_category4’:
scsi_serial.c:159: warning: cast to pointer from integer of different size
scsi_serial.c: In function ‘scsi_dump_v4’:
scsi_serial.c:303: warning: cast to pointer from integer of different size
2008-09-19 22:14:46 -07:00
Kay Sievers
c68a293678
vol_id: fix lib logging glue
2008-09-16 00:40:47 -07:00
Kay Sievers
17fcfb5972
use size definitions from libudev
2008-09-10 21:50:21 +02:00
Kay Sievers
31c1f53745
get rid of udev_sysdeps.c
2008-09-10 18:59:42 +02:00
Kay Sievers
ecc9ec579f
convert to libudev and delete udev_utils_string.c
2008-09-10 18:39:23 +02:00
Kay Sievers
7525097713
extras: use libudev code
2008-09-10 18:24:39 +02:00
Kay Sievers
3eb46ec6dd
libudev: do not use any udev source file
2008-09-10 18:00:31 +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
2bb9f412bc
firmware.sh: lookup lookup kernel provided firmware directory
2008-08-29 21:00:43 +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
b7ec267e17
add missing includes
2008-08-12 11:18:39 +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
282988c4f8
move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
...
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in.
2008-07-18 15:56:03 +02:00
Kay Sievers
05364975af
scsi_id: the fallback fix broke error handling
2008-07-10 22:22:10 +02:00
Marco d'Itri
52b375bc3b
scsi_id: man page fix
...
minus signs need to be escaped and the program is not in the $PATH anymore
2008-07-10 00:17:24 +02:00
Thomas Koeller
629e57e0d4
scsi_id: include sys/stat.h
...
I could not build scsi_id because of a missing #include
for sys/stat.h, so I had to add that.
Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org>
2008-07-10 00:08:32 +02:00
Marco d'Itri
03effd3bc9
rules_generator: net rules - do not print error if file is missing and ignore commented rules
...
Fix an error message displayed by write_net_rules when the rules file
does not exist yet. (See Debian bugs #442796 and #475699.)
Ignore commented rules, at least for the easy case.
For clarity, use extended instead of standard regular expressions.
2008-07-07 14:32:33 +02:00
Kay Sievers
24dabba541
scsi_id: fix fallback to sg v3 for sg nodes
2008-07-07 11:18:49 +02:00
Kay Sievers
dad1f0924b
path_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-'
2008-06-26 13:25:31 +02:00
Kay Sievers
7c389ce8a0
collect: fix size_t printf
2008-06-18 10:12:14 +02:00
Tobias Klauser
322fc7a636
collect: check realloc return value
2008-06-18 10:10:29 +02:00
Kay Sievers
9bbdf6eb3c
cdrom_id: fix recognition of blank media
...
Thanks to David!
2008-06-12 07:20:14 +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
Harald Hoyer
1ecb086460
scsi_id: retry open() on -EBUSY
2008-06-11 23:26:18 +02:00
Kay Sievers
ec404619a6
cdrom_id: export ID_CDROM_MEDIA_TRACK_COUNT_AUDIO=, ID_CDROM_MEDIA_TRACK_COUNT_DATA=
...
Iterate over all tracks, instead of looking only at the first
one for audio. Thanks to David!
2008-06-11 23:24:13 +02:00