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
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
Xinwei Hu
b5254b4203
collect: realloc buffer, if needed
2008-05-27 19:35:03 +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
941d40a074
rules: persistent net - handle "locally administered" ibmveth MAC addresses
2008-05-26 17:11:13 +02:00
Kay Sievers
bc44071db2
edd_id: call it only for sd* and hd*
2008-05-20 08:46:29 +02:00
Kay Sievers
7031a67c95
volume_id: bump version
2008-05-17 16:19:12 +02:00
Kay Sievers
53ba69a0c2
scsi_id: add bsg.h
2008-05-16 12:52:42 +02:00
Matthias Schwarzott
4cd71da560
cdrom_id: fix segfault
2008-05-14 16:03:49 +02:00
Kay Sievers
025570aa3e
scsi_id: add --sg-version= option
2008-05-14 15:02:17 +02:00
Kay Sievers
2d05764a77
scsi_id: remove bus_id option
2008-05-14 13:59:25 +02:00
Kay Sievers
138cf75e4e
scsi_id: update man page
2008-05-14 13:59:11 +02:00
Hannes Reinecke
78d9ecfd4f
scsi_id: add SGv4 support
...
Fall back to SGv3, if SGv3 returns a failure/is not available.
2008-05-14 13:55:49 +02:00
Hannes Reinecke
753417db2b
scsi_id: remove all sysfs dependencies
2008-05-14 13:42:41 +02:00
MUNEDA Takahiro
838436fa32
man: scsi_id
2008-05-14 04:47:33 +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
David Woodhouse
8b6e9f287d
rules_generator: net rules - add "dev_id" value to generated rules
2008-04-27 20:19:44 +02:00
Kay Sievers
d8a9d01704
udevadm: control - fix --env key to accept --env=<KEY>=<value>
2008-04-22 03:19:21 +02:00
Kay Sievers
6b795c99e0
fstab_import: add program to IMPORT matching fstab entry
...
DEVPATH=/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6
SUBSYSTEM=block
...
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
...
FSTAB_NAME=/dev/disk/by-id/scsi-SATA_ST910021AS_3MH0Y3KF-part6
FSTAB_DIR=/home/kay/work
FSTAB_TYPE=ext3
FSTAB_OPTS=defaults
FSTAB_FREQ=1
FSTAB_PASSNO=1
2008-04-21 18:07:05 +02:00
Kay Sievers
953080abd9
cdrom_id: add more help text
2008-04-21 17:41:39 +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
803ac7a6d8
scsi_id: initialize serial strings
2008-04-20 21:08:45 +02:00
Kay Sievers
c70560feef
logging: add trailing newline to all strings
2008-04-20 21:07:06 +02:00