Commit Graph
57095 Commits
Author SHA1 Message Date
Ryan Harper 2d000ed9d8 Add virtio-blk by-id rules based on 'serial' attribute
Using virtio-blk serial attributes add rules to extract drive serial numbers and
generate by-id links for the block device and partitions.

With these rules added, we now see the following symlinks in disk/by-id

% ls -al /dev/disk/by-id | grep vdb
lrwxrwxrwx. 1 root root   9 Jun  1 22:09 virtio-QM00001 -> ../../vda
lrwxrwxrwx. 1 root root  10 Jun  1 22:09 virtio-QM00001-part1 -> ../../vda1

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2010-06-29 17:22:58 +02:00
Ryan Harper 8741f2defa Add virtio-blk support to path_id
This patch adds a case handling path_id invoked on a virtio-blk device.
Currently path_id walks the parent path to virtio-pci but doesn't know
that it's the end of the path and exits without building the path (providing no
output resulting in no disk/by-path symlinks to virtio-blk devices).
This patch handles the virtio-pci path and updates the path accordingly.

/lib/udev/path_id --debug /block/vda
udev_device_new_from_syspath: device 0x2300120 has devpath '/devices/virtio-pci/virtio1/block/vda'
udev_device_new_from_syspath: device 0x2300380 has devpath '/devices/virtio-pci/virtio1'
udev_device_new_from_syspath: device 0x2300670 has devpath '/devices/virtio-pci'
ID_PATH=virtio-pci-virtio1

And with the current persistent-storage rules generates:

% ls -al /dev/disk/by-path | grep vda
lrwxrwxrwx. 1 root root   9 Jun  1 22:09 virtio-pci-virtio1 -> ../../vda

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2010-06-29 17:22:49 +02:00
Jerone Young 310f2896eb Fix stuck volume key presses for Toshiba Satellite U300 & U305models
This patch fixes stuck volume keys for Toshiba Satellite models U300 &
U305.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-06-28 09:14:21 +02:00
Kay Sievers 8b5651bb00 switch a few left-over from GPLv2 to GPLv2 or later 2010-06-25 11:39:21 +02:00
Kay Sievers f0565500f4 make: fix 'make distcheck'
udev-159.tar.gz
2010-06-25 10:42:33 +02:00
Kay Sievers 08b4c88353 make: pre-process and install systemd service files when needed 2010-06-25 10:30:55 +02:00
Kay Sievers 43fefbf6f1 add systemd service files 2010-06-25 01:31:57 +02:00
Kay Sievers 4176e53079 man: more fixes 2010-06-25 00:06:49 +02:00
Kay Sievers af62c70405 man: various fixes 2010-06-25 00:04:29 +02:00
Lennart Poettering 11e299550e man: finish systemd.unit.5 2010-06-24 19:08:38 +02:00
Kay Sievers 436c44a5d6 man: spelling fixes 2010-06-24 17:25:16 +02:00
Lennart Poettering 771610b04d man: additional documentation 2010-06-24 17:22:52 +02:00
Lennart Poettering c61fbdfcb9 man: extend systemd-notify man page a bit 2010-06-24 16:13:56 +02:00
Kay Sievers cbcb846a4c version bump 2010-06-24 10:17:15 +02:00
Kay Sievers b93e070949 release 158 2010-06-24 09:38:31 +02:00
Kay Sievers 492da5ef53 rules: remove unused subdir 2010-06-24 09:35:39 +02:00
Lennart Poettering 58474090e9 man: minor updates for pam_systemd's page 2010-06-24 05:23:16 +02:00
Lennart Poettering c5abba0887 man: document systemd-notify 2010-06-24 05:17:02 +02:00
Lennart Poettering 2f02ce4005 utils: show help blurb when run without any arguments 2010-06-24 04:55:57 +02:00
Lennart Poettering 6f6083dc73 man: rework man page generation in makefile 2010-06-24 04:22:22 +02:00
Lennart Poettering 0079e4d9dc man: minor fixes 2010-06-24 03:47:03 +02:00
Lennart Poettering 7874bcd602 man: extend manual page documentation 2010-06-24 03:09:36 +02:00
Lennart Poettering 5ec7ed4ec6 systemctl: minor --help rewording 2010-06-24 03:08:37 +02:00
Lennart Poettering bf9a6e8bfc path-lookup: unconditionally check /usr and /usr/share unit directories 2010-06-24 03:08:22 +02:00
Lennart Poettering e6b3f00f66 manager: both rescue and emergency should be started in isolate mode 2010-06-24 03:07:43 +02:00
Lennart Poettering 541d6159c6 log: unify log env var prefix 2010-06-24 03:07:06 +02:00
Lennart Poettering 160cd5c9aa man: add more man pages 2010-06-24 00:11:04 +02:00
Lennart Poettering daaa7e5a65 sd-daemon: refer to the man pages 2010-06-24 00:10:03 +02:00
Lennart Poettering 2e225d657a pam: make sure we don't assign colliding session ids if we get our session ids from multiple sources 2010-06-24 00:09:45 +02:00
Lennart Poettering 2e33c4331f minor fixes to help texts 2010-06-24 00:08:42 +02:00
Kay Sievers 5f307a98fa mtd_probe: add needed include, modprobe blacklist flag, and change some whitespace 2010-06-23 22:29:58 +02:00
Maxim Levitsky 674c3412bb mtd_probe: add autodetection for xD cards
commit 2599cabd36770785a13bf884049d649d385fd80c
Author: Maxim Levitsky <maximlevitsky@gmail.com>
Date:   Fri Jun 18 02:08:48 2010 +0300

Add autodetection for xD/smartmedia cards
This can easily be extended for other types of FTL

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
2010-06-23 22:20:29 +02:00
Lennart Poettering 2218198b73 man: start documenting systemd itself 2010-06-23 20:34:34 +02:00
Lennart Poettering a838e6a17a pam: dont use $XDG_SESSION_COOKIE since CK wants that to be secret. Come up with our own $XDG_SESSION_ID based on /proc/self/sessionid if that is available 2010-06-23 19:46:29 +02:00
Lennart Poettering dd17b384db man: minor fixes 2010-06-23 02:28:09 +02:00
Lennart Poettering c6365917c4 man: generate ANSI prototypes in HTML man pages 2010-06-23 02:26:15 +02:00
Lennart Poettering 9e632bf7b7 man: add missing systemd.xml 2010-06-23 02:12:10 +02:00
Lennart Poettering 1d0ae74ae3 minor typo fixes 2010-06-23 02:10:19 +02:00
Lennart Poettering 359957ee23 man: document runlevel and systemd-install 2010-06-23 01:49:57 +02:00
Lennart Poettering f9378423b9 man: document sd-daemon.[ch] 2010-06-23 00:31:54 +02:00
Lennart Poettering a3723b97ef build-sys: fix directory creation of a few dirs 2010-06-22 05:43:07 +02:00
Lennart Poettering 795750caa1 build-sys: install more docs 2010-06-22 05:39:35 +02:00
Lennart Poettering b1fc29fb70 systemctl: fix systemctl help text 2010-06-22 04:10:06 +02:00
Lennart Poettering 4eab639f92 service: rework logic when we consider a service running 2010-06-22 04:09:50 +02:00
Lennart Poettering 827119a9cb conf-parser: check all parse callbacks 2010-06-22 04:09:26 +02:00
Lennart Poettering 64aba792f7 man: add initial version of daemon(7) 2010-06-22 02:42:10 +02:00
Lennart Poettering 64ca679e69 build-sys: fix make distcheck 2010-06-22 00:05:37 +02:00
Lennart Poettering 8c6db83365 pam: implement systemd PAM module and generelize cgroup API for that a bit 2010-06-21 23:27:18 +02:00
Lennart Poettering 96551bae61 notify: add systemd-notify --booted 2010-06-21 19:20:21 +02:00
Lennart Poettering 40473a70cf sd-daemon: introduce sd_booted() and set ELF visibility to hidden for all symbols 2010-06-21 19:18:47 +02:00