chiark / gitweb /
elogind.git
15 years agorelease 130
Kay Sievers [Tue, 7 Oct 2008 12:32:33 +0000 (14:32 +0200)]
release 130

15 years agoreplace spaces in dm and md name symlinks
Kay Sievers [Mon, 6 Oct 2008 22:41:00 +0000 (00:41 +0200)]
replace spaces in dm and md name symlinks

We create multiple symlinks for dm names with spaces, which
isn't what we want.

15 years agoconnect /sys and /dev with /sys/dev/{block,char}/<maj>:<min> and /dev/{block,char...
Kay Sievers [Mon, 6 Oct 2008 22:18:55 +0000 (00:18 +0200)]
connect /sys and /dev with /sys/dev/{block,char}/<maj>:<min> and /dev/{block,char}/<maj>:<min>

15 years agolibudev: fix typo in "multiple entries in symlink" handling
Kay Sievers [Mon, 6 Oct 2008 16:17:27 +0000 (18:17 +0200)]
libudev: fix typo in "multiple entries in symlink" handling

15 years agovolume_id: more fat debugging
Kay Sievers [Mon, 6 Oct 2008 16:17:05 +0000 (18:17 +0200)]
volume_id: more fat debugging

15 years agostore node name and symlinks into db symlink target if they are small enough
Kay Sievers [Mon, 6 Oct 2008 11:52:43 +0000 (13:52 +0200)]
store node name and symlinks into db symlink target if they are small enough

15 years agolibudev: libudev.pc remove selinux
Kay Sievers [Mon, 6 Oct 2008 10:18:55 +0000 (12:18 +0200)]
libudev: libudev.pc remove selinux

15 years agovolume_id: add more vfat debugging information
Kay Sievers [Mon, 6 Oct 2008 10:17:47 +0000 (12:17 +0200)]
volume_id: add more vfat debugging information

15 years agodon not print error if GOTO jumps just to next rule
Kay Sievers [Sun, 5 Oct 2008 15:27:21 +0000 (17:27 +0200)]
don not print error if GOTO jumps just to next rule

15 years agolibudev: fix --enable-debug
Kay Sievers [Sun, 5 Oct 2008 14:18:21 +0000 (16:18 +0200)]
libudev: fix --enable-debug

15 years agoudevd: clarify deprecated sysfs layout warning
Kay Sievers [Sat, 4 Oct 2008 11:52:39 +0000 (13:52 +0200)]
udevd: clarify deprecated sysfs layout warning

15 years agovolume_id: use PRIu64i, PRIx64 macros
Kay Sievers [Fri, 3 Oct 2008 16:24:04 +0000 (18:24 +0200)]
volume_id: use PRIu64i, PRIx64 macros

15 years agovolume_id: add btrfs
Kay Sievers [Fri, 3 Oct 2008 15:23:12 +0000 (17:23 +0200)]
volume_id: add btrfs

15 years agovolume_id: better DDF raid detection
Kay Sievers [Fri, 3 Oct 2008 13:01:39 +0000 (15:01 +0200)]
volume_id: better DDF raid detection

15 years agovol_id: always use the safe string versions for unencoded label and uuid
Kay Sievers [Fri, 3 Oct 2008 12:58:02 +0000 (14:58 +0200)]
vol_id: always use the safe string versions for unencoded label and uuid

15 years agovol_id: fix logging glue
Kay Sievers [Fri, 3 Oct 2008 12:56:54 +0000 (14:56 +0200)]
vol_id: fix logging glue

15 years agovolume_id: add dbg() as noop to check for compile errors
Kay Sievers [Fri, 3 Oct 2008 12:50:57 +0000 (14:50 +0200)]
volume_id: add dbg() as noop to check for compile errors

15 years agomove selinux noops to udev.h
Kay Sievers [Fri, 3 Oct 2008 12:49:29 +0000 (14:49 +0200)]
move selinux noops to udev.h

15 years agovol_id: add size= option
Kay Sievers [Fri, 3 Oct 2008 09:42:47 +0000 (11:42 +0200)]
vol_id: add size= option

15 years agoudevadm: info - fix --query=all for devices without a device node
Kay Sievers [Fri, 3 Oct 2008 08:33:15 +0000 (10:33 +0200)]
udevadm: info - fix --query=all for devices without a device node

15 years agousb_id: use libudev
Kay Sievers [Thu, 2 Oct 2008 19:20:18 +0000 (21:20 +0200)]
usb_id: use libudev

15 years agolibudev: device - add get_parent_with_subsystem()
Kay Sievers [Thu, 2 Oct 2008 19:19:00 +0000 (21:19 +0200)]
libudev: device - add get_parent_with_subsystem()

15 years agolibudev: get rid of selinux
Kay Sievers [Thu, 2 Oct 2008 16:48:40 +0000 (18:48 +0200)]
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.

15 years agouse no_argument, required_argument, optional_argument in longopts
Kay Sievers [Thu, 2 Oct 2008 14:49:05 +0000 (16:49 +0200)]
use no_argument, required_argument, optional_argument in longopts

15 years agovolume_id: hpfs - read label and uuid
Kay Sievers [Thu, 2 Oct 2008 13:16:11 +0000 (15:16 +0200)]
volume_id: hpfs - read label and uuid

15 years agolibudev: enumerate - add_device() -> add_syspath()
Kay Sievers [Thu, 2 Oct 2008 09:54:33 +0000 (11:54 +0200)]
libudev: enumerate - add_device() -> add_syspath()

15 years agofix compile error with --disable-logging
Kay Sievers [Thu, 2 Oct 2008 04:20:33 +0000 (06:20 +0200)]
fix compile error with --disable-logging

15 years agorelease 129
Kay Sievers [Wed, 1 Oct 2008 18:42:53 +0000 (20:42 +0200)]
release 129

15 years agoudevd: print warning if CONFIG_SYSFS_DEPRECATED is used
Kay Sievers [Wed, 1 Oct 2008 17:00:55 +0000 (19:00 +0200)]
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.

15 years agobuild: include Makefile.am.inc in all Makefile.am
Kay Sievers [Wed, 1 Oct 2008 16:02:39 +0000 (18:02 +0200)]
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.

15 years agorules: ieee1394 - create both, by-id/scsi-* and by-id/ieee-* links
Kay Sievers [Wed, 1 Oct 2008 12:42:58 +0000 (14:42 +0200)]
rules: ieee1394 - create both, by-id/scsi-* and by-id/ieee-* links

15 years agoudevadm: trigger --type=failed - use libudev queue
Kay Sievers [Wed, 1 Oct 2008 12:41:43 +0000 (14:41 +0200)]
udevadm: trigger --type=failed - use libudev queue

15 years agolibudev: enumerate - ignore regular files while scanning
Kay Sievers [Wed, 1 Oct 2008 11:57:39 +0000 (13:57 +0200)]
libudev: enumerate - ignore regular files while scanning

15 years agolibudev: device - handle /sys/block/<disk-device-link>/<partition>
Kay Sievers [Wed, 1 Oct 2008 08:22:47 +0000 (10:22 +0200)]
libudev: device - handle /sys/block/<disk-device-link>/<partition>

15 years agoudevadm: settle - use libudev queue
Kay Sievers [Wed, 1 Oct 2008 07:42:03 +0000 (09:42 +0200)]
udevadm: settle - use libudev queue

15 years agolibudev: add queue interface
Kay Sievers [Wed, 1 Oct 2008 07:34:07 +0000 (09:34 +0200)]
libudev: add queue interface

15 years agoudevadm: trigger fix long option --type=
Kay Sievers [Tue, 30 Sep 2008 14:25:46 +0000 (16:25 +0200)]
udevadm: trigger fix long option --type=

15 years agolibudev: device_init() -> device_new()
Kay Sievers [Tue, 30 Sep 2008 14:16:29 +0000 (16:16 +0200)]
libudev: device_init() -> device_new()

15 years agofix segfault caused by wrong pointer used in dbg()
Kay Sievers [Tue, 30 Sep 2008 12:47:49 +0000 (14:47 +0200)]
fix segfault caused by wrong pointer used in dbg()

15 years agoudevadm: trigger: use libudev
Kay Sievers [Tue, 30 Sep 2008 11:43:35 +0000 (13:43 +0200)]
udevadm: trigger: use libudev

15 years agolibudev: enumerate - scan devices and subsystems, add subsystem and attribute filter
Kay Sievers [Tue, 30 Sep 2008 11:42:26 +0000 (13:42 +0200)]
libudev: enumerate - scan devices and subsystems, add subsystem and attribute filter

15 years agofix dbg() callers
Kay Sievers [Mon, 29 Sep 2008 17:03:08 +0000 (19:03 +0200)]
fix dbg() callers

15 years agoallow compiler to check dbg() arguments on non-debug builds
Alan Jenkins [Mon, 29 Sep 2008 16:50:21 +0000 (17:50 +0100)]
allow compiler to check dbg() arguments on non-debug builds

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
15 years agofix messages (inc. debug compile failure) introduced when optimizing "goto"
Alan Jenkins [Mon, 29 Sep 2008 16:37:44 +0000 (17:37 +0100)]
fix messages (inc. debug compile failure) introduced when optimizing "goto"

Signed-off-by: <alan-jenkins@tuffmail.co.uk>
15 years agoreplace strerror() usage with threadsafe "%m" format string
Alan Jenkins [Mon, 29 Sep 2008 15:01:32 +0000 (16:01 +0100)]
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>
15 years agotest: replace last reference of "/class/*" devpath
Kay Sievers [Mon, 29 Sep 2008 03:18:23 +0000 (05:18 +0200)]
test: replace last reference of "/class/*" devpath

15 years agogitignore: move *.8 to subdirs
Kay Sievers [Mon, 29 Sep 2008 03:03:43 +0000 (05:03 +0200)]
gitignore: move *.8 to subdirs

15 years agotest: add missing pci directory because of .gitignore *.7
Kay Sievers [Mon, 29 Sep 2008 03:01:12 +0000 (05:01 +0200)]
test: add missing pci directory because of .gitignore *.7

15 years agotest: replace ancient sysfs tree with recent one
Kay Sievers [Mon, 29 Sep 2008 02:12:44 +0000 (04:12 +0200)]
test: replace ancient sysfs tree with recent one

15 years agolibudev: enumerate - split new() and scan()
Kay Sievers [Mon, 29 Sep 2008 00:00:17 +0000 (02:00 +0200)]
libudev: enumerate - split new() and scan()

15 years agolibudev: enumerate - scan /sys/block/ if needed
Kay Sievers [Sun, 28 Sep 2008 21:17:29 +0000 (23:17 +0200)]
libudev: enumerate - scan /sys/block/ if needed

15 years agolibudev: enumerate "subsystem"
Kay Sievers [Sun, 28 Sep 2008 20:18:40 +0000 (22:18 +0200)]
libudev: enumerate "subsystem"

15 years agolibudev: enumerate - accept list of subsystems to scan, or skip
Kay Sievers [Sun, 28 Sep 2008 15:39:31 +0000 (17:39 +0200)]
libudev: enumerate - accept list of subsystems to scan, or skip

15 years agoavoid repeated scans for goto targets (udev_iter_find_label)
Alan Jenkins [Sun, 28 Sep 2008 11:02:44 +0000 (12:02 +0100)]
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).

15 years agotrivial cleanup in udev_rules_iter
Alan Jenkins [Sun, 28 Sep 2008 11:01:38 +0000 (12:01 +0100)]
trivial cleanup in udev_rules_iter

15 years agolubudev: accept more sys directories as devices, and parent devices
Kay Sievers [Sun, 28 Sep 2008 01:34:57 +0000 (03:34 +0200)]
lubudev: accept more sys directories as devices, and parent devices

15 years agolibudev: more list rework
Kay Sievers [Sat, 27 Sep 2008 23:34:55 +0000 (01:34 +0200)]
libudev: more list rework

15 years agolibudev: rework list handling
Kay Sievers [Fri, 26 Sep 2008 17:44:53 +0000 (19:44 +0200)]
libudev: rework list handling

15 years agolibudev: device - read database only when needed
Kay Sievers [Fri, 26 Sep 2008 17:43:32 +0000 (19:43 +0200)]
libudev: device - read database only when needed

15 years agolibudev: initialize selinux only when needed
Kay Sievers [Fri, 26 Sep 2008 17:43:14 +0000 (19:43 +0200)]
libudev: initialize selinux only when needed

15 years agolibudev: enumerate_get_devices_list -> enumerate_get_list
Kay Sievers [Fri, 26 Sep 2008 17:41:50 +0000 (19:41 +0200)]
libudev: enumerate_get_devices_list -> enumerate_get_list

15 years agolibudev: get devnum from uevent file
Kay Sievers [Thu, 25 Sep 2008 21:26:22 +0000 (14:26 -0700)]
libudev: get devnum from uevent file

15 years agolibudev: replace awkward callback list interfaces with list iterators
Kay Sievers [Thu, 25 Sep 2008 11:20:27 +0000 (04:20 -0700)]
libudev: replace awkward callback list interfaces with list iterators

15 years agolibudev: add userdata pointer
Kay Sievers [Thu, 25 Sep 2008 04:39:29 +0000 (21:39 -0700)]
libudev: add userdata pointer

15 years agolibudev: also import "uevent" file when reading udev database
Kay Sievers [Wed, 24 Sep 2008 19:25:31 +0000 (12:25 -0700)]
libudev: also import "uevent" file when reading udev database

15 years agolibudev: add udev_device_new_from_devnum()
Kay Sievers [Mon, 22 Sep 2008 06:28:56 +0000 (23:28 -0700)]
libudev: add udev_device_new_from_devnum()

15 years agolibudev: udev_device_get_devname -> udev_device_get_devnode
Kay Sievers [Sat, 20 Sep 2008 07:01:20 +0000 (00:01 -0700)]
libudev: udev_device_get_devname -> udev_device_get_devnode

15 years agoalways include config.h from Makefile
Kay Sievers [Sat, 20 Sep 2008 06:03:49 +0000 (23:03 -0700)]
always include config.h from Makefile

15 years agoscsi_id: compiler warning on 32-bit
Alan Jenkins [Fri, 19 Sep 2008 14:53:25 +0000 (14:53 +0000)]
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

15 years agolibudev: fix "subsystem" value
Kay Sievers [Thu, 18 Sep 2008 06:58:38 +0000 (23:58 -0700)]
libudev: fix "subsystem" value

15 years agolibudev: pass udev_device in enumerate
Kay Sievers [Thu, 18 Sep 2008 06:32:43 +0000 (23:32 -0700)]
libudev: pass udev_device in enumerate

15 years agofix udevadm trigger
Kay Sievers [Tue, 16 Sep 2008 23:32:42 +0000 (16:32 -0700)]
fix udevadm trigger

15 years agoudev-test.pl: set non-zero exitcode if tests fail
Alan Jenkins [Tue, 16 Sep 2008 17:03:42 +0000 (10:03 -0700)]
udev-test.pl: set non-zero exitcode if tests fail

15 years agofix broken symlink resolving
Kay Sievers [Tue, 16 Sep 2008 16:53:36 +0000 (09:53 -0700)]
fix broken symlink resolving

15 years agovol_id: fix lib logging glue
Kay Sievers [Tue, 16 Sep 2008 07:40:47 +0000 (00:40 -0700)]
vol_id: fix lib logging glue

15 years agolibudev: rename ctrl_msg to ctrl_msg_wire
Kay Sievers [Tue, 16 Sep 2008 01:01:15 +0000 (18:01 -0700)]
libudev: rename ctrl_msg to ctrl_msg_wire

15 years agolibudev: switch API from devpath to syspath
Kay Sievers [Tue, 16 Sep 2008 00:12:47 +0000 (17:12 -0700)]
libudev: switch API from devpath to syspath

15 years agoudevadm: info - fix lookup-by-name
Kay Sievers [Mon, 15 Sep 2008 19:01:35 +0000 (12:01 -0700)]
udevadm: info - fix lookup-by-name

15 years agolibudev: handle "device" link as parent, handle "class" "block" as "subsystem"
Kay Sievers [Mon, 15 Sep 2008 18:19:56 +0000 (11:19 -0700)]
libudev: handle "device" link as parent, handle "class" "block" as "subsystem"

15 years agolibudev: udev_device - add attribute cache
Kay Sievers [Sat, 13 Sep 2008 19:09:28 +0000 (21:09 +0200)]
libudev: udev_device - add attribute cache

15 years agolibudev: switch to "udev_device_get_parent"
Kay Sievers [Thu, 11 Sep 2008 22:58:40 +0000 (00:58 +0200)]
libudev: switch to "udev_device_get_parent"

15 years agorelease 128
Kay Sievers [Thu, 11 Sep 2008 15:09:57 +0000 (17:09 +0200)]
release 128

15 years agoudevadm: info - use "udev_device"
Kay Sievers [Thu, 11 Sep 2008 15:08:12 +0000 (17:08 +0200)]
udevadm: info - use "udev_device"

15 years agouse size definitions from libudev
Kay Sievers [Wed, 10 Sep 2008 19:50:21 +0000 (21:50 +0200)]
use size definitions from libudev

15 years agoget rid of udev_sysdeps.c
Kay Sievers [Wed, 10 Sep 2008 16:59:42 +0000 (18:59 +0200)]
get rid of udev_sysdeps.c

15 years agoconvert to libudev and delete udev_utils_string.c
Kay Sievers [Wed, 10 Sep 2008 16:39:23 +0000 (18:39 +0200)]
convert to libudev and delete udev_utils_string.c

15 years agoextras: use libudev code
Kay Sievers [Wed, 10 Sep 2008 16:24:39 +0000 (18:24 +0200)]
extras: use libudev code

15 years agolibudev: do not use any udev source file
Kay Sievers [Wed, 10 Sep 2008 16:00:31 +0000 (18:00 +0200)]
libudev: do not use any udev source file

15 years agolibudev: rename libudev-utils.c libudev-util.c
Kay Sievers [Wed, 10 Sep 2008 15:12:33 +0000 (17:12 +0200)]
libudev: rename libudev-utils.c libudev-util.c

15 years agolibudev: get rid of udev_utils.c
Kay Sievers [Wed, 10 Sep 2008 15:08:24 +0000 (17:08 +0200)]
libudev: get rid of udev_utils.c

15 years agolibudev: get rid of udev_sysfs.c
Kay Sievers [Wed, 10 Sep 2008 12:29:07 +0000 (14:29 +0200)]
libudev: get rid of udev_sysfs.c

15 years agolibudev: do not use udev_db.c
Kay Sievers [Wed, 10 Sep 2008 12:17:36 +0000 (14:17 +0200)]
libudev: do not use udev_db.c

15 years agolibudev: udev_device - add more properties
Kay Sievers [Wed, 10 Sep 2008 08:09:34 +0000 (10:09 +0200)]
libudev: udev_device - add more properties

15 years agoupdate file headers
Kay Sievers [Wed, 10 Sep 2008 00:40:42 +0000 (02:40 +0200)]
update file headers

15 years agovolume_id: merge util.h in libvolume_id-private.h
Kay Sievers [Wed, 10 Sep 2008 00:31:11 +0000 (02:31 +0200)]
volume_id: merge util.h in libvolume_id-private.h

15 years agolibudev: initialize selinux after logging
Kay Sievers [Tue, 9 Sep 2008 23:47:51 +0000 (01:47 +0200)]
libudev: initialize selinux after logging

15 years agolibudev: add selinux
Kay Sievers [Tue, 9 Sep 2008 22:46:17 +0000 (00:46 +0200)]
libudev: add selinux

15 years agolibudev: rename enumerate function
Kay Sievers [Tue, 9 Sep 2008 20:10:33 +0000 (22:10 +0200)]
libudev: rename enumerate function

15 years agolibudev: udev_device - read "driver" value
Kay Sievers [Tue, 9 Sep 2008 16:14:54 +0000 (18:14 +0200)]
libudev: udev_device - read "driver" value

15 years agoudevadm: monitor - use libudev code to retrieve device data
Kay Sievers [Tue, 9 Sep 2008 15:41:17 +0000 (17:41 +0200)]
udevadm: monitor - use libudev code to retrieve device data