summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-06make: do not delete autotools generated file with distcleanKay Sievers
[...] running the command `make maintainer-clean' should not delete `configure' even if `configure' can be remade using a rule in the Makefile. More generally, `make maintainer-clean' should not delete anything that needs to exist in order to run `configure' and then begin to build the program. This is the only exception; `maintainer-clean' should delete everything else that can be rebuilt.
2008-12-04make: install serial rules fileKay Sievers
2008-12-04rules: add persistent /dev/serial/{by-id,by-path} rulesKay Sievers
$ tree /dev/serial/ /dev/serial/ |-- by-id | |-- usb-067b_2303-if00-port0 -> ../../ttyUSB0 | |-- usb-FTDI_FT232R_USB_UART_A7005uBP-if00-port0 -> ../../ttyUSB3 | |-- usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB1 | `-- usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB2 `-- by-path |-- pci-0000:00:1d.0-usb-0:1:1.0-port0 -> ../../ttyUSB3 |-- pci-0000:00:1d.7-usb-0:2.2.2:1.0-port0 -> ../../ttyUSB0 |-- pci-0000:00:1d.7-usb-0:2.3:1.0-port0 -> ../../ttyUSB1 `-- pci-0000:00:1d.7-usb-0:2.3:1.1-port0 -> ../../ttyUSB2 $ tree /dev/serial/ /dev/serial/ |-- by-id | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port0 -> ../../ttyUSB0 | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port1 -> ../../ttyUSB1 | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port2 -> ../../ttyUSB2 | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port3 -> ../../ttyUSB3 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port0 -> ../../ttyUSB8 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port1 -> ../../ttyUSB9 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port2 -> ../../ttyUSB10 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port3 -> ../../ttyUSB11 | `-- usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 -> ../../ttyUSB7 `-- by-path |-- pci-0000:00:1d.2-usb-0:1.3:1.0-port0 -> ../../ttyUSB7 |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port0 -> ../../ttyUSB4 |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port1 -> ../../ttyUSB5 |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port2 -> ../../ttyUSB6 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port0 -> ../../ttyUSB0 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port1 -> ../../ttyUSB1 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port2 -> ../../ttyUSB2 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port3 -> ../../ttyUSB3 |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port0 -> ../../ttyUSB8 |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port1 -> ../../ttyUSB9 |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port2 -> ../../ttyUSB10 `-- pci-0000:00:1d.7-usb-0:6.3:1.0-port3 -> ../../ttyUSB11
2008-12-03volume_id: HPFS code clean upKarel Zak
* fix typo (hs vs. hbb) * set id->{version,usage,type} when all tests pass * be paranoid and don't use hs->version when "hs" source buffer was possibly modified by next volume_id_get_buffer() call. Signed-off-by: Karel Zak <kzak@redhat.com>
2008-12-03rules: fix isdn rulesKay Sievers
On Tue, Dec 2, 2008 at 21:07, Matthias Schwarzott <zzam@gentoo.org> wrote: > It seems that the rules related to capi devices are not correct: > > KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" > KERNEL=="capi*", NAME="capi/%n" > > Changing the second rule to match only on KERNEL=="capi[0-9]*" is reported to > make it work. > So I can only guess that the problem is the second rule overwriting the NAME > set by the first one.
2008-12-02update configure and NEWSKay Sievers
2008-12-02scsi_id: do not fail if no serial is found like for optical drivesKay Sievers
2008-12-02rules: ATA_COMPAT do not try to match on sr*, it will never have vendor ATAKay Sievers
2008-12-02release 135Kay Sievers
2008-12-02update configure and NEWSKay Sievers
2008-12-02fix network interface name swappingKay Sievers
2008-11-28rules: infiniband.rules -> 40-infiniband.rulesKay Sievers
2008-11-28rules: add usb device nodesPiter PUNK
2008-11-28rules: add infiniband rulesKay Sievers
2008-11-28rules: fix cciss disk/by-id/ linksKay Sievers
2008-11-28rules: /dev/null -> X0RPiter PUNK
/dev/X0R null symbolic Required by iBCS-2 Note: /dev/X0R is <letter X>-<digit 0>-<letter R>
2008-11-26usb_id: add "break" to currently unused case labelsKay Sievers
2008-11-26usb_id: fix switch statement for video typeMarcel Holtmann
Introducing the video type, creating a fall-through case where other devices might now be declared as type video.
2008-11-26release 134Kay Sievers
2008-11-25rules: exclude "btibm" devices from vol_id callsKay Sievers
2008-11-25rules: Gentoo updateMatthias Schwarzott
2008-11-24silence PHYSDEV* warning for WAIT_FOR* rulesKay Sievers
2008-11-24fix handling of swapping node name with symlink nameKay Sievers
2008-11-23floppy: use ARRAY_SIZE()Kay Sievers
2008-11-23floppy: fix array bounds check and minor calculationPeter Breitenlohner
Fix off-by-4 bug in floppy minors for fd[4-7]. Avoid segmentation fault for bad CMOS type. Print mode in human readable, i.e., octal form.
2008-11-22update NEWS TODOKay Sievers
2008-11-21path_id: fix fibre channel handlingKay Sievers
2008-11-21man: fix typosPeter Breitenlohner
2008-11-21volume_id: clear probing result before probing and do not probe a second ↵Kay Sievers
time, if not needed On Thu, Nov 20, 2008 at 14:17, Karel Zak <kzak@redhat.com> wrote: > I see the patch (volume_id_probe_filesystem()) and a few things come > to mind: > > - shouldn't be the relevant parts (label, uuid, version, ...) of > the "struct volume_id" zeroized when you found a signature and > before you call the next probing function? > > - it seems as overkill to use two for()s and probe two times for all > filesystems. What about to store the first result and re-use it? > > - .. or at least never use the second for() when the fist for() found > nothing ;-)
2008-11-21volume_id: update btrfsKay Sievers
2008-11-21vol_id: if regular files are probed, use stat() for the size valueKay Sievers
2008-11-21volume_id: remove unused usage typesKay Sievers
2008-11-21include errno.h in sysdeps.hGabor Z. Papp
2008-11-20scsi_id: make sure, we do not have slashes in valuesKay Sievers
2008-11-20ata_id: make sure, we do not have slashes in valuesKay Sievers
2008-11-20usb_id: replace chars in returned stringsKay Sievers
Slashes are not funny in device names: |-- input | |-- by-id | | `-- usb-Logitech_USB-PS | | |-- 2_Optical_Mouse-event-mouse -> ../../event2 | | `-- 2_Optical_Mouse-mouse -> ../../mouse1
2008-11-20libudev: accept NULL whitelist in util_replace_chars()Kay Sievers
2008-11-20rules: v4l - add by-id/ links for USB devicesKay Sievers
/dev/v4l |-- by-id | |-- usb-046d_09a4_C4B15020-video-index0 -> ../../video0 | `-- usb-05a9_a511-video-index0 -> ../../video1 `-- by-path |-- pci-0000:00:1d.0-usb-0:1:1.0-video-index0 -> ../../video1 `-- pci-0000:00:1d.7-usb-0:2:1.0-video-index0 -> ../../video0
2008-11-19rules: merge group "video" into default rulesKay Sievers
2008-11-19rules: add persistent rules for memory stick block devicesHarald Hoyer
commit 5a9aed145ac0ffb3e29b1c8e0f19b34e277f9117 Author: Harald Hoyer <harald@redhat.com> Date: Wed Nov 19 11:22:30 2008 +0100 added persistent rules for memory stick block devices
2008-11-18bump versionKay Sievers
2008-11-18volume_id: update btrfs magicKay Sievers
2008-11-18autogen.sh: fix -print-multi-os-directory usageKay Sievers
2008-11-18release 133Kay Sievers
2008-11-18update NEWSKay Sievers
2008-11-17fix $links substitution for devices without any linkKay Sievers
Reported-by: Michel Hermier <michel.hermier@gmail.com>
2008-11-17udevd: fix cleanup of /dev/.udev/uevent_seqnumKay Sievers
2008-11-17limit $attr(<symlink>) magic to well-known links onlyKay Sievers
2008-11-15udevadm: fix option parsing breakage with klibcSergey Vlasov
The klibc implementation of getopt_long() behaves slightly different from the glibc one - in particular, it treats the change of the option string argument between invocations as start of parsing a different command line, and resets its state. However, the udevadm code expected getopt_long() invocations in subcommands to continue parsing the rest of command line after initial options has been parsed at the top level; with klibc this broke, causing all udevadm subcommands to stop recognizing their options. Instead of relying on the glibc behavior, reset the getopt_long() state properly before invoking the subcommand handler: move argv to point to the subcommand name, decrease argc appropriately, and set optind = 0. This also fixes a minor bug visible with glibc - without setting optind = 0 all getopt_long() calls in subcommand handlers were behaving as if "+" was specified as the first character of the option string (which disables option reordering), because that state was set by the first getopt_long() call at the top level, and was not reset when parsing subcommand options. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
2008-11-14libudev: device - handle disk "device" link for partitions in deprecated ↵Kay Sievers
sysfs layout Thanks to Mikhail Kolesnik <mike@openbunker.org> for finding this.