Kay Sievers
e02d738ee4
cdrom_id: remove ARRAY_SIZE() declaration
2008-10-21 12:40:47 +02:00
Kay Sievers
f183b6ed76
libudev: add global property list
2008-10-16 13:51:29 +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
38f27948cd
always include config.h from Makefile
2008-09-19 23:03:49 -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
4f4b12c203
libudev: add selinux
2008-09-10 00:46:17 +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
f46a8a98a7
vol_id: make the --offset= argument optional
2008-08-22 10:04:55 +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
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
9bbdf6eb3c
cdrom_id: fix recognition of blank media
...
Thanks to David!
2008-06-12 07:20:14 +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
Matthias Schwarzott
4cd71da560
cdrom_id: fix segfault
2008-05-14 16:03:49 +02:00
Kay Sievers
953080abd9
cdrom_id: add more help text
2008-04-21 17:41:39 +02:00
Kay Sievers
c70560feef
logging: add trailing newline to all strings
2008-04-20 21:07:06 +02:00
Kay Sievers
fd7a285e62
cdrom_id: replace with version which also exports media properties
...
This is a 12 track audio CD with additional data session:
$ extras/cdrom_id/cdrom_id /dev/dvd
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_DVD_RW=1
ID_CDROM_DVD_RAM=1
ID_CDROM_DVD_PLUS_R=1
ID_CDROM_DVD_PLUS_RW=1
ID_CDROM_DVD_PLUS_R_DL=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_STATE=complete
ID_CDROM_MEDIA_HAS_AUDIO=1
ID_CDROM_MEDIA_SESSION_COUNT=2
ID_CDROM_MEDIA_TRACK_COUNT=13
ID_CDROM_MEDIA_SESSION_LAST_OFFSET=444508160
2008-04-09 23:17:39 +02:00
Roy Marples
064360cde8
Makefile: do not require GNU install
2008-03-15 00:02:39 +01:00
Dan Nicholson
c8e826147a
extras: ignore built and generated files
2007-11-08 00:13:40 +01:00
Peter Breitenlohner
86f4ea067e
fix INSTALL_PROGRAM vs. INSTALL_SCRIPT
2007-01-21 15:48:58 +01:00
Kay Sievers
e136a3360b
cdrom_id: add rules file to call cdrom_id
2006-09-05 03:43:14 +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
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
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
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
d7363ee14c
Makefile: remove exec_prefix and srcdir
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-16 04:35:37 +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
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
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
Jürg Billeter
1ac216b198
EXTRAS/Makefile: fix install targets to match main Makefile
2005-09-14 14:27:28 +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
e331c54dc5
fix typo in cdrom_id syslog
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-18 04:54:59 +02:00
Greg Kroah-Hartman
a961dcbf0d
cdrom_id: change err() to info() to help with debugging problems
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17 16:10:32 -07:00
Greg Kroah-Hartman
fc046d4d08
Always open the cdrom drive in non-blocking mode in cdrom_id
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-17 16:09:03 -07:00
Greg Kroah-Hartman
903a36495f
added the cdrom.h #defines directly into the cdrom_id.c file
...
This solves the problem with building the file against old kernel header
files.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-12 11:37:56 -07:00
Greg KH
5a64cea1e1
fix klibc build issue in cdrom_id.c
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 14:38:33 -07:00
Greg KH
8ee99e3279
changed cdrom_id exports to be easier to understand and consistant with other _id programs.
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 14:04:24 -07:00
Greg KH
8f6919e639
Created cdrom_id program to make it easier to determine cdrom types
...
Based on the framework from ata_id by Kay.
Now we can drop the cdsymlinks.sh and .c files
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-08-11 13:59:21 -07:00