Commit Graph
3941 Commits
Author SHA1 Message Date
Kay Sievers 86d8ed2628 systemd: Reqires= -> Wants=udev.socket 2011-04-21 01:13:28 +02:00
Michael Reed 00f34bc435 path_id: rework SAS device handling
Lun numbers < 256 are displayed as "lun-x".  Lun numbers >= 256 use
the lun number format previously used in fibre channel by-path
links, 0xabcd012300000000. This lun numbering scheme is implemented
for sas, fibre channel, iscsi.

I want it to be clearly understood that this patch changes the
/dev/disk/by-path names for fc devices.  Here is an example of the
change:
  Old: pci-0000:0c:00.1-fc-0x204700a0b81130aa:0x00fa000000000000
  New: pci-0000:0c:00.1-fc-0x204700a0b81130aa-lun-250
2011-04-20 20:25:16 +02:00
Kay Sievers c7be212dbd udevd: log signal number when spawned processes fail 2011-04-20 18:36:01 +02:00
Kay Sievers a178e7fe90 udevd: rules files - accept empty or /dev/null links 2011-04-20 17:58:58 +02:00
Kay Sievers dff107dc1a udevd: always use udevd[] log prefix 2011-04-20 17:39:44 +02:00
Kay Sievers 5e8176e156 udevd: netif rename - use ifindex for temporary name 2011-04-20 17:30:30 +02:00
Kay Sievers ead7c62ab7 udevadm: settle - kill alarm() 2011-04-20 02:18:22 +02:00
Kay Sievers 2181d30a34 timeout handling without alarm() 2011-04-20 01:54:38 +02:00
Martin Pitt 131c9e9240 keymap: Another ID for Logitech Wave keyboard
http://bugs.debian.org/623153
2011-04-18 13:34:42 +02:00
Leonid Antonenkov c641e4a02d rule-generator: net - ignore Hyper-V virtual interfaces 2011-04-18 05:11:53 +02:00
Kay Sievers 1e47c28bc5 Merge branch 'docs/README' of git://github.com/mfwitten/udev 2011-04-18 05:06:59 +02:00
Kay Sievers 82063a88d1 udevd: ppoll() -> epoll + signalfd 2011-04-18 02:14:24 +02:00
Kay Sievers 1d843b7d68 libudev: run_program() - select() -> epoll 2011-04-18 02:13:40 +02:00
Kay Sievers 13052c0285 use 'else if' in epoll event array loop 2011-04-17 22:10:18 +02:00
Kay Sievers 372b9bffa7 udevadm: test - use printf() instead of info() for non-debug output 2011-04-17 22:09:08 +02:00
Kay Sievers f2fd4d2723 libudev: test - use epoll 2011-04-15 12:18:06 +02:00
Kay Sievers 578cd5101d udevadm: monitor - use epoll 2011-04-15 11:58:17 +02:00
Kay Sievers 29df09edd0 systemd: socket -> sockets 2011-04-15 01:43:27 +02:00
Kay Sievers fdf52f5e2a libudev: ctrl, monitor - use SOCK_NONBLOCK 2011-04-15 01:14:10 +02:00
Kay Sievers 135f3e8d0b fix more warnings 2011-04-15 00:19:45 +02:00
Kay Sievers 7459bcdc8d udevd: get netlink socket from systemd 2011-04-14 23:46:44 +02:00
Kay Sievers 7f2d3a3fc8 require explicit "db_persist" to exclude device info from --db-cleanup 2011-04-14 14:44:56 +02:00
Kay Sievers 2b4f9e67c7 systemd: add OOMScoreAdjust=-1000 2011-04-14 14:44:21 +02:00
Kay Sievers 8b4631362f udevd: move OOM disable into --daemon option 2011-04-14 14:43:22 +02:00
Kay Sievers d3990a576a "db_persist=" -> "db_persist" 2011-04-14 12:42:59 +02:00
Kay Sievers 02bf3e13e0 udevd: do not nice processes 2011-04-14 12:25:19 +02:00
Kay Sievers 9ead662791 udevadm: info --cleanup-db
Most of the udev database from initramfs should be deleted before
starting udev in the real root. udevadm: info --cleanup-db deletes
all database entries in /run/udev. Events that processed IMPORT{db},
or mark devices explicitely as persistent, will be excluded.
2011-04-13 22:33:01 +02:00
Kay Sievers 09913ced8c libudev: bump revision 2011-04-13 18:46:02 +02:00
Kay Sievers a3eca08b19 udevadm: settle - watch queue file 2011-04-13 18:44:28 +02:00
Kay Sievers 80707e9ad6 libudev: ctrl - fix refcounting in connection handling 2011-04-13 18:21:47 +02:00
Kay Sievers 2903820a62 udevd: log warning if /run is not writable 2011-04-13 15:01:00 +02:00
Kay Sievers e48e291202 trivial cleanups 2011-04-13 01:47:56 +02:00
Kay Sievers ff2c503df0 udevadm: control - add --exit 2011-04-13 01:17:09 +02:00
Michael Witten 49500e9b0d Docs: README: Add a comma to offset the modifier
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:50 +00:00
Michael Witten 00ecb6745b Docs: README: set up' is the verb; setup' is a noun
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:48 +00:00
Michael Witten fd752623fa Docs: README: Flip sentence structure to improve wording
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:47 +00:00
Michael Witten cb936a3961 Docs: README: does never apply' -> never applies'
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:46 +00:00
Michael Witten e62c9c72cd Docs: README: Clarify configuration of existing devices
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:45 +00:00
Michael Witten 1224944f61 Docs: README: Clean up `udev extras' requirements
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:43 +00:00
Michael Witten 47d9121c9a Docs: README: Remove commas and use subjective mood
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:42 +00:00
Michael Witten bde1af68b6 Docs: README: Add missing `and'
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:41 +00:00
Michael Witten 3fe44a296a Docs: README: Use present tense
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:40 +00:00
Michael Witten 600b258456 Docs: README: Clean up a sentence
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:38 +00:00
Michael Witten 9698e70c1f Docs: README: ,' -> ;'
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:37 +00:00
Michael Witten a2ddee7392 Docs: README: to replace' -> replacing'
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11 05:14:36 +00:00
Kay Sievers 9602509521 selinux: firmware - do not label files in runtime dir 2011-04-08 03:08:16 +02:00
Kay Sievers 51f43b5329 selinux: do not label files in runtime dir
Do not label any files in the udev runtime directory, but only nodes,
links and directories below /dev.

In case the runtime directory falls back to /dev/.udev, label this
directory once at udevd startup, but never anything below it.
2011-04-08 01:09:20 +02:00
Seth Forshee 5e0ec43fc4 keymap: Support Dell Latitude XT2 tablet-mode navigation keys
The XT2 has a rocker (up/down/enter) and back button on the side
in tablet mode, none of which work currently. Add entries for
these keys.

There is some overlap here with scan codes used in other Dell
models, so these buttons are put in a new file specific to this
model.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-04-05 19:38:36 +02:00
Martin Pitt 55eb500cc5 Avoid spinning up CD on pressing eject button
When the CD tray door is locked and the hardware eject button is pressed, newer
kernels (2.6.38+) will send out a change event with a DISK_EJECT_REQUEST==1
property. Do not run cdrom_id and blkid in this case, as the media state and
contents does not change, and this only needlessly spins up the drive again
right before ejection.
2011-04-04 11:47:54 +02:00
Martin Pitt 9bb54267a1 Revert "Do not build extras with --disable-extras"
This reverts commit 905818f596.

We do want to build some extras, just not the ones with extra dependencies.
Thanks to Juergen Daubert for pointing this out.
2011-03-31 19:23:19 +02:00