Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-09 | move syslog wrapper to libudev | Kay Sievers | |
2009-06-08 | libudev: move to top-level directory | Kay Sievers | |
2009-05-20 | use more efficient string copying | Kay Sievers | |
2009-02-17 | *_id: add model/vendor enc strings | David Zeuthen | |
So ID_MODEL and ID_VENDOR are pretty useful keys. However since we fix them up (removing leading/trailing whitespace, converts spaces to underscores) for use in device naming etc. we also force these fixups on the desktop shell. And this looks pretty ugly. The attached patch introduces the ID_MODEL_ENC and ID_VENDOR_ENC keys that contains the encoded version of the raw strings obtained. It's pretty similar in spirit to ID_FS_LABEL and its cousin ID_FS_LABEL_ENC. With this patch a desktop shell can fix up these strings as it sees fit. Note that some fixup is still needed though, for example # /lib/udev/ata_id --export /dev/sda |grep ID_MODEL ID_MODEL=INTEL_SSDSA2MH080G1GC ID_MODEL_ENC=INTEL\x20SSDSA2MH080G1GC\x20\x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 Note the trailing and leading whitespace. Anyway with the attached patch the desktop shell should be able to display "INTEL SSDSA2MH080G1GC" rather than "INTEL_SSDSA2MH080G1GC" to the user. | |||
2008-12-06 | make: do not delete autotools generated file with distclean | Kay 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-02 | scsi_id: do not fail if no serial is found like for optical drives | Kay Sievers | |
2008-11-21 | man: fix typos | Peter Breitenlohner | |
2008-11-20 | scsi_id: make sure, we do not have slashes in values | Kay Sievers | |
2008-11-13 | scsi_id: we don't use DEVPATH env var anymore, update man page | Alan Jenkins | |
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-11-05 | unify string replacement | Kay Sievers | |
2008-10-26 | do not init string arrays, just clear first byte | Kay Sievers | |
2008-10-21 | replace strncpy() with strlcpy() | Alan Jenkins | |
The problem was strncpy() doesn't stop after writing the terminating NUL; by definition it goes on to zero the entire buffer. I spy another use of strncpy in udev_device_add_property_from_string(), which is responsible for another ~1% user cpu time... Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-10-16 | libudev: add global property list | Kay Sievers | |
2008-10-02 | libudev: get rid of selinux | Kay Sievers | |
"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 | use no_argument, required_argument, optional_argument in longopts | Kay Sievers | |
2008-09-29 | fix dbg() callers | Kay Sievers | |
2008-09-19 | always include config.h from Makefile | Kay Sievers | |
2008-09-19 | scsi_id: compiler warning on 32-bit | Alan Jenkins | |
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 | |||
2008-09-10 | extras: use libudev code | Kay Sievers | |
2008-09-10 | libudev: rename libudev-utils.c libudev-util.c | Kay Sievers | |
2008-09-10 | libudev: get rid of udev_utils.c | Kay Sievers | |
2008-09-10 | libudev: get rid of udev_sysfs.c | Kay Sievers | |
2008-09-10 | libudev: add selinux | Kay Sievers | |
2008-09-06 | use libudev code, unify logging, pass udev context around everywhere | Kay Sievers | |
2008-07-30 | use autotools | Kay Sievers | |
2008-07-30 | delete all Makefiles and move udev source to udev/ | Kay Sievers | |
2008-07-10 | scsi_id: the fallback fix broke error handling | Kay Sievers | |
2008-07-10 | scsi_id: man page fix | Marco d'Itri | |
minus signs need to be escaped and the program is not in the $PATH anymore | |||
2008-07-10 | scsi_id: include sys/stat.h | Thomas Koeller | |
I could not build scsi_id because of a missing #include for sys/stat.h, so I had to add that. Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org> | |||
2008-07-07 | scsi_id: fix fallback to sg v3 for sg nodes | Kay Sievers | |
2008-06-11 | scsi_id: retry open() on -EBUSY | Harald Hoyer | |
2008-05-16 | scsi_id: add bsg.h | Kay Sievers | |
2008-05-14 | scsi_id: add --sg-version= option | Kay Sievers | |
2008-05-14 | scsi_id: remove bus_id option | Kay Sievers | |
2008-05-14 | scsi_id: update man page | Kay Sievers | |
2008-05-14 | scsi_id: add SGv4 support | Hannes Reinecke | |
Fall back to SGv3, if SGv3 returns a failure/is not available. | |||
2008-05-14 | scsi_id: remove all sysfs dependencies | Hannes Reinecke | |
2008-05-14 | man: scsi_id | MUNEDA Takahiro | |
2008-04-20 | scsi_id: initialize serial strings | Kay Sievers | |
2008-04-20 | logging: add trailing newline to all strings | Kay Sievers | |
2008-03-15 | Makefile: do not require GNU install | Roy Marples | |
2007-11-08 | extras: ignore built and generated files | Dan Nicholson | |
2007-05-29 | scsi_id: fix typo in help text | Kay Sievers | |
2007-05-25 | scsi_id: add long options | Kay Sievers | |
2007-05-25 | cciss device support | Hannes Reinecke | |
2007-05-21 | scsi_id: do not install symlink in /sbin | Kay Sievers | |
2007-02-25 | scsi_id: accept tabs in /etc/scsi_id.conf | Kay Sievers | |
2007-01-28 | man: fix typos in scsi_id and udevd | A. Costa | |
2007-01-21 | correct typo in extras/scsi_id/scsi_id.conf | Matthias Schwarzott | |
2007-01-21 | fix INSTALL_PROGRAM vs. INSTALL_SCRIPT | Peter Breitenlohner | |