Kay Sievers
172ee4205c
libvolume_id: nss - use different uuid
2006-05-12 11:35:57 +02:00
Kay Sievers
7331443248
edd_id: fix "(null)" output if "mbr_signature" does not exist
2006-05-10 17:11:00 +02:00
Marco d'Itri
d7fea966f1
path_id: fix bashism
2006-05-09 18:24:43 +02:00
Libor Klepac
5ac7a25e85
path_id: add platform and serio support
2006-05-09 18:23:20 +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
Hannes Reinecke
b12a1fb1c6
path_id: fix SAS device path generation
2006-04-21 20:02:58 +02:00
Kay Sievers
0c4a805bcc
path_id: fix loop for SAS devices
2006-04-13 09:44:07 +02:00
Kay Sievers
485fd28cfa
usb_id: remove uneeded code
2006-04-11 19:33:51 +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
Kay Sievers
92da64c700
volume_id: define exported symbols
2006-03-28 02:52:58 +02:00
Kay Sievers
d5618ac969
volume_id: remove some global symbols
2006-03-27 23:03:25 +02:00
Kay Sievers
e688ad2d0d
because is better than cause
2006-03-27 20:22:00 +02:00
Kay Sievers
c643d61836
volume_id: use shared library by default
2006-03-27 19:30:56 +02:00
Kay Sievers
83cc6ab476
volume_id: rename subdirectory
2006-03-27 18:05:17 +02:00
Kay Sievers
b5e6942671
volume_id: provide a custom debug function
2006-03-27 17:59:22 +02:00
Kay Sievers
2d82e6f053
volume_id: provide library
2006-03-23 10:50:55 +01:00
Hannes Reinecke
24c27caf82
path_id: add bus to USB path
2006-03-22 12:21:49 +01:00
Kay Sievers
a05098641e
fix output for USB path
2006-03-21 17:28:47 +01:00
Kay Sievers
7808297b0f
volume_id: remove all partition table support
2006-03-21 16:16:55 +01:00
Hannes Reinecke
10a9bff1c3
persistent links: add scsi tape links and usb path support
2006-03-21 16:10:18 +01:00
Kay Sievers
0eb9e4a87e
volume_id: remove partition table parsing code
2006-03-21 16:02:07 +01:00
Kay Sievers
2f567dd62e
volume_id: add squashfs detection
2006-03-08 19:44:28 +01:00
Kay Sievers
cdce0be895
remove devfs rules and scripts
2006-03-08 00:34:36 +01:00
Hannes Reinecke
226c074d6d
path_id: support SAS devices
2006-03-01 20:07:20 +01:00
Masatake YAMATO
5016ef53f5
typo in debug text in udev_run_hotplugd.c
2006-03-01 20:02:41 +01:00
Kay Sievers
dd8140ae79
volume_id: add missing return
2006-02-21 19:14:43 +01:00
Kay Sievers
ab925d69d5
volume_id: split raid and filesystem detection
2006-02-21 18:48:28 +01:00
Kay Sievers
467546b586
volume_id: replace __packed__ by PACKED macro
2006-02-21 18:44:18 +01:00
Jeroen Roovers
c779c930f1
fix typo in parisc support to path_id
...
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379
path_id is still broken for parisc boxes. This patch from
Jeroen Roovers <jer@gentoo.org> fixes that.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-02-15 21:06:19 +01:00
Kay Sievers
42878445d7
cramfs detection for bigendian
...
Patch from Olaf Hering <olh@suse.de>.
2006-02-13 06:29:30 +01:00
Kay Sievers
3d94fb8742
scsi_id: remove dead files
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 16:42:49 +01:00
Kay Sievers
c1979c82e1
whitespace fixes
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 16:39:46 +01:00
Kay Sievers
1ef985452b
replace fancy silent build program by simple kernel build like logic
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 04:44:51 +01:00
Kay Sievers
f83cccb979
usb_id: don't fail on other subsytems than "scsi"
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-23 19:09:17 +01:00
Kay Sievers
aabc6a7294
path_id: handle fiber channel
...
Patch from: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-23 19:08:06 +01:00
Kay Sievers
fbc5a2b921
path_id: work with "all devices in /sys/devices"
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-19 04:54:34 +01:00
Kay Sievers
6ecd4d1e36
scsi_id, usb_id: request device parent by subsystem
...
Request specific parents identified by subsystem and don't rely on
a predefined sequence.
Also let the devpath be longer than 72 chars, tsss ...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-18 04:24:48 +01:00
Kay Sievers
e3440f37f0
vol_id: probe volume as user nobody
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-13 13:18:41 +01:00
Kay Sievers
1aa1e24848
replace libsysfs
...
We never used any of the libsysfs convenience features. Here we replace
it completely with 300 lines of code, which are much simpler and a bit
faster cause udev(d) does not open any syfs file for a simple event which
does not need any parent device information.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09 21:18:00 +01:00
Kay Sievers
47fbf3c582
path_id: fix invalid character class
...
Thanks to Marco for the _right_ fix.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09 21:17:24 +01:00
Kay Sievers
892532a939
scsi_id: read page 0x80 with libata drives
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-23 00:06:54 +01:00
Kay Sievers
89a8f4e75e
fix segfaulting create_floppy_devices
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-15 15:56:50 +01:00
Kurt Garloff
cbba4a5446
support pre-SPC3 page 83 format
2005-12-15 13:01:01 +01:00
Hannes Reinecke
d313632b04
fold multiple consecutive whitespace chars into single '_'
2005-12-15 12:22:42 +01:00
Greg Kroah-Hartman
f3aef1a78e
add parisc support to path_id
...
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379 path_id
doesn't work too well for parisc boxes. This patch from Jeroen Roovers
<jer@gentoo.org> fixes that.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-12-07 14:00:05 -08:00
Kay Sievers
a8a614a701
remove outdated and misleading stuff
...
Packagers who still need this, should carry it in their own
package. It just causes too much trouble to users to have it
in the tree and expect that it's needed or the way to do it.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-25 18:50:42 +01:00
Kay Sievers
e0dc4f00ba
move some helpers from extras to /lib/udev
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-22 17:31:38 +01:00
Kay Sievers
cfd0fc6605
libvolume_id: fix weird fat volume recognition
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-21 18:28:56 +01:00
Kay Sievers
d7363ee14c
Makefile: remove exec_prefix and srcdir
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 04:35:37 +01:00
Kay Sievers
88be7e8887
volume_id: use glibc's byteswap
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12 14:28:22 +01:00
Kay Sievers
009364eef9
volume_id: include stddef.h header
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-12 04:11:08 +01:00
Kay Sievers
08f403cc37
fix typo in eventrecorder
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10 04:35:35 +01:00
Kay Sievers
a8d141a3c1
replace udeveventrecorder by a shell script
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-10 02:06:43 +01:00
Greg Kroah-Hartman
f054627f50
Merge branch 'master' of gregkh@master.kernel.org:/pub/scm/linux/hotplug/udev
2005-11-09 09:53:53 -08:00
Greg Kroah-Hartman
54eb6a122f
Make run_directory.c stat the place it is going to try to run.
...
This should remove a lot of error messages that people are seeing.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-11-09 09:53:32 -08:00
Kay Sievers
accff72685
volume_id: provide libvolume_id.a file
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-09 15:08:45 +01:00
Jan Luebbe
0c25d156b0
add man pages for *_id programs
...
I've written manpages for the *_id binaries, which are attached to this
mail.
2005-10-31 02:10:56 +01:00
Kay Sievers
c1bf1edeb7
"STRIPCMD=" for the EXTRAS
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-28 01:49:22 +02:00
Kay Sievers
49fb51c615
use DESTDIR on uninstall, no need to pass prefix to submake
...
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
2005-10-27 18:42:52 +02:00
Kay Sievers
81d719a1d4
volume_id: Version 052
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 21:13:10 +02:00
Kay Sievers
7f0a5b8095
volume_id: fix typo in ext blocksize check
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 21:12:51 +02:00
Kay Sievers
eba25b20ce
volume_id: Version 051
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 19:16:01 +02:00
Kay Sievers
04b222b4b0
volume_id: make FAT32 recognition more robust
...
FAT32 volumes should never have a cluster count, that fits
into a 16 bit value, but mkdosfs can create such volumes.
No sane formatter or Windows will ever do this, but the
Linux kernel as Windows can read/write it.
Thanks to Ted Ts'o <tytso@mit.edu> for convincing me.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 19:15:07 +02:00
Kay Sievers
1305b47167
volume_id: add vxfs include
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 18:56:30 +02:00
Kay Sievers
b586687138
volume_id: fix typo in ocfs
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 18:55:22 +02:00
Kay Sievers
f3c14c6849
volume_id: move blocksize validation to fix jbd recognition
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 18:54:34 +02:00
Kay Sievers
c929358e02
volume_id: check ext fs for valid blocksize, cause magic is only 2 bytes
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 17:41:55 +02:00
Kay Sievers
79bd4f2229
volume_id: add Veritas fs
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 16:31:13 +02:00
Kay Sievers
0ecc6c1b19
volume_id: add OVFS Version 1
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-10-23 16:08:56 +02:00
Kay Sievers
2321ba6fd8
switch tools and volume_id from LGPL to GPLv2
...
After beeing hit by proprietary applications which statically
link the LGPL'd libusb, which needs a patch to reflect the recent
kernel changes, I decided not to provide LGPL code anymore.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-27 16:27:35 +02:00
Kay Sievers
2d8af104e0
remove no longer needed includes
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-27 15:05:34 +02:00
Kay Sievers
3a9fc64167
volume_id: set reiser instead of reiserfs for filesystem type
...
Thanks to Theodore Ts'o <tytso@mit.edu> for the hint and a test image.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18 05:06:10 +02:00
Kay Sievers
0e5f8a1fcc
scsi_id: switch temporary node creation to /dev
...
/tmp is not writable on most systems, so just use /dev to create a
temporary node. If called from a udev rule, "-d $tempnode" should be
used and udev will create a temporary node and pass the name before
calling scsi_id.
Also remove gen_scsi_id_udev_rules.sh per Patrick's request, as it's
no longer needed with the persistent disk links.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-18 04:49:23 +02:00
Kay Sievers
3515c0ad00
ata_id: open volume O_NONBLOCK
...
Opticals like that and should be ok for disks too, as long as we
don't read().
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-16 21:23:36 +02:00
John Hull
4b12433517
edd_id: check that EDD id is unique
...
The attached patch adds a check to edd_id.c to verify that the MBR
signature on the device node passed to the program is unique to only
that disk.
Signed-off-by: John Hull <john_hull@dell.com>
2005-09-16 21:10:12 +02:00
Marco d'Itri
77914dfeda
run_directory: fix typo in "make install"
2005-09-16 21:05:15 +02:00
Edward Goggin
50be140174
scsi_id: derive a UID for a SCSI-2 not compliant with the page 83
...
This patch is to enable the use of scsi_id to derive a UID for a SCSI-2
device which is not compliant with the page 83 inquiry reply format for
either SPC-2 or SPC-3. In this case, the page 83 reply does not
contain a list of Identification descriptors but a single binary encoded
hexa-decimal Vendor Specified Identifier.
The update is being driven by the need for scsi_id to support older
model EMC Symmetrix hardware, that is, models 4, 5, and 6.
2005-09-14 20:23:48 +02:00
Kay Sievers
85701baede
add install test to 'make buildtest'
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 17:29:27 +02:00
Kay Sievers
db28d2ea4f
EXTRAS: cleanup and sync all Makefiles
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 17:00:02 +02:00
Kay Sievers
726b21604a
volume_id: fix error handling with failing read()
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-14 14:29:59 +02:00
Jürg Billeter
1ac216b198
EXTRAS/Makefile: fix install targets to match main Makefile
2005-09-14 14:27:28 +02:00
Kay Sievers
852cc0f58d
remove chassis_id program
...
Broken and unmaintained!
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-12 14:28:59 +02:00
Duncan Sands
609435bad6
firmware_helper: fix write count
2005-09-09 12:38:58 +02:00
Kay Sievers
aab571f362
fix useless but funny name_cdrom.pl script to work again
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 12:24:18 +02:00
Kay Sievers
fc04985839
delete cdromsymlinks* - obsoleted by cdrom_id and IMPORT rules
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-08 03:34:34 +02:00
Kay Sievers
077ed27c55
add edd_id tool to match BIOS EDD disk information
...
Thanks to:
John Hull <John_Hull@Dell.com>
Matt Domsch <Matt_Domsch@Dell.com>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-09-06 12:18:04 +02:00
Kay Sievers
7596a56298
scsi_id: rename SYSFS to LIBSYSFS
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-31 23:36:25 +02:00
Kay Sievers
0e47c219fc
Makefile: remove all the duplicated rules
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-30 17:03:25 +02:00
Kay Sievers
e79952c598
vol_id: ID_LABEL_SAFE will no longer contain fancy characters
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28 23:16:56 +02:00
Thierry Vignaud
c4ef16f92c
switch to '==' in raid-devfs.sh
2005-08-26 14:52:57 +02:00
Kay Sievers
cf7cad9dc9
path_id: remove SUSE specific PATH
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-25 00:40:41 +02:00