Kay Sievers
30f8f89625
udevd: clarify deprecated sysfs layout warning
2008-10-04 13:52:39 +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
7744e869ec
move selinux noops to udev.h
2008-10-03 14:49:29 +02:00
Kay Sievers
22c89d3fd7
vol_id: add size= option
2008-10-03 11:42:47 +02:00
Kay Sievers
ee137da389
udevadm: info - fix --query=all for devices without a device node
2008-10-03 10:33:15 +02:00
Kay Sievers
2f1a291e2f
usb_id: use libudev
2008-10-02 21:20:18 +02:00
Kay Sievers
98f10a9e2a
libudev: device - add get_parent_with_subsystem()
2008-10-02 21:19:00 +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
13ddea8154
libudev: enumerate - add_device() -> add_syspath()
2008-10-02 11:54:33 +02:00
Kay Sievers
d6b148cde2
fix compile error with --disable-logging
2008-10-02 06:20:33 +02:00
Kay Sievers
714131f1f2
release 129
2008-10-01 20:42:53 +02:00
Kay Sievers
f13e4c36c2
udevd: print warning if CONFIG_SYSFS_DEPRECATED is used
...
Future udev versions will depend on the current sysfs layout, which
includes features which are not available in the deprecated mode.
2008-10-01 19:00:55 +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
333b736fdc
rules: ieee1394 - create both, by-id/scsi-* and by-id/ieee-* links
2008-10-01 14:42:58 +02:00
Kay Sievers
8a1946ae08
udevadm: trigger --type=failed - use libudev queue
2008-10-01 14:41:43 +02:00
Kay Sievers
cabfd8d0b4
libudev: enumerate - ignore regular files while scanning
2008-10-01 13:57:39 +02:00
Kay Sievers
62b9dfb622
libudev: device - handle /sys/block/<disk-device-link>/<partition>
2008-10-01 10:22:47 +02:00
Kay Sievers
8249e04e3e
udevadm: settle - use libudev queue
2008-10-01 09:42:03 +02:00
Kay Sievers
64ccdf8269
libudev: add queue interface
2008-10-01 09:34:07 +02:00
Kay Sievers
d41b956e7f
udevadm: trigger fix long option --type=
2008-09-30 16:25:46 +02:00
Kay Sievers
e0083e8e69
libudev: device_init() -> device_new()
2008-09-30 16:16:29 +02:00
Kay Sievers
d98bffa802
fix segfault caused by wrong pointer used in dbg()
2008-09-30 14:47:49 +02:00
Kay Sievers
f5001d2465
udevadm: trigger: use libudev
2008-09-30 13:43:35 +02:00
Kay Sievers
c97f839eed
libudev: enumerate - scan devices and subsystems, add subsystem and attribute filter
2008-09-30 13:42:26 +02:00
Kay Sievers
4aa0b15efb
fix dbg() callers
2008-09-29 19:03:08 +02:00
Alan Jenkins
9176ac1f4e
allow compiler to check dbg() arguments on non-debug builds
...
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-09-29 18:54:21 +02:00
Alan Jenkins
120ff8a0e8
fix messages (inc. debug compile failure) introduced when optimizing "goto"
...
Signed-off-by: <alan-jenkins@tuffmail.co.uk>
2008-09-29 18:39:41 +02:00
Alan Jenkins
659353f5a9
replace strerror() usage with threadsafe "%m" format string
...
strerror() is not threadsafe. It uses a buffer to build messages of the form
"Unknown error 387689".
syslog() provides a %m format which is equivalent to strerror(errno).
As a GNU extension, this is also accepted by printf and friends.
At least in the current implementation, it is correctly threadsafe.
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-09-29 17:06:00 +02:00
Kay Sievers
5c0f595d91
test: replace last reference of "/class/*" devpath
2008-09-29 05:18:23 +02:00
Kay Sievers
d0f398bc25
gitignore: move *.8 to subdirs
2008-09-29 05:03:43 +02:00
Kay Sievers
f2041f0116
test: add missing pci directory because of .gitignore *.7
2008-09-29 05:01:12 +02:00
Kay Sievers
c7fcba1bf4
test: replace ancient sysfs tree with recent one
2008-09-29 04:12:44 +02:00
Kay Sievers
438d4c3cd4
libudev: enumerate - split new() and scan()
2008-09-29 02:00:17 +02:00
Kay Sievers
b03e89cfba
libudev: enumerate - scan /sys/block/ if needed
2008-09-28 23:17:29 +02:00
Kay Sievers
6f67f1dfb7
libudev: enumerate "subsystem"
2008-09-28 22:18:40 +02:00
Kay Sievers
bc8184ede9
libudev: enumerate - accept list of subsystems to scan, or skip
2008-09-28 17:39:31 +02:00
Alan Jenkins
41b7a00922
avoid repeated scans for goto targets (udev_iter_find_label)
...
The scans are now performed up-front at parse-time, instead of being
repeated for each event at run-time.
Cachegrind reports a 5% reduction in cpu cycles
(excluding the time spent in-kernel).
2008-09-28 14:11:47 +02:00
Alan Jenkins
669ed8675f
trivial cleanup in udev_rules_iter
2008-09-28 14:10:53 +02:00
Kay Sievers
b95f8a76e6
lubudev: accept more sys directories as devices, and parent devices
2008-09-28 03:34:57 +02:00
Kay Sievers
0de33a61d7
libudev: more list rework
2008-09-28 01:34:55 +02:00
Kay Sievers
e345e2670a
libudev: rework list handling
2008-09-26 19:44:53 +02:00
Kay Sievers
9921484458
libudev: device - read database only when needed
2008-09-26 19:43:32 +02:00
Kay Sievers
5fc523db68
libudev: initialize selinux only when needed
2008-09-26 19:43:14 +02:00