1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
Commit Graph

2146 Commits

Author SHA1 Message Date
Kay Sievers
27d4bf1817 restore overwritten symlinks when the device goes away 2007-03-15 03:54:12 +01:00
Kay Sievers
fbda4babec maintain index over device-names to devpath relation 2007-03-15 02:09:39 +01:00
Kay Sievers
8d48959a23 increase /proc/stat buffer 2007-03-15 00:10:59 +01:00
Kay Sievers
4a7e6bcef0 update internal variables if we see $DEVPATH during IMPORT 2007-03-15 00:10:22 +01:00
Kay Sievers
9c6ad9fbba encode db-file names, instead of just replacing '/' 2007-03-14 21:41:33 +01:00
Matthias Schwarzott
5edec024b1 udevd: cleanup std{in,our,err} on startup
It occurs, when root-partition has no /dev/console, meaning that kernel
could not open it, and such udevd is started without open filedescriptors
0 1 2. In that case udevd openes its sockets (netlink and control). They
get fds between 0 and 2. Later duping /dev/null to 0 1 2 closes the sockets
and replaces them with /dev/null.

The error condition can also be reproduced by starting udevd with this
command-line:
  udevd --daemon <&- >&- 2>&-
2007-03-13 22:27:21 +01:00
Kay Sievers
d7eeab1194 update Gentoo rules 2007-03-13 22:20:53 +01:00
Kay Sievers
9923ff1450 delete dasd_id, it moved to s390-tools
These s390-tools-1.6.0 (applicable for the "October 2005 stream") replace s390-tools-1.5.4.
  New tools:
    * tape390_crypt: Tool to control and query crypto settings for 3592 zSeries tape devices.
    * mon_fsstatd: Daemon that writes filesystem utilization data to the z/VM monitor stream.
    * dumpconf: Allows to configure the dump device used for system dump in case a kernel panic occurs.
    * dasdinfo: Display unique DASD ID, either uid or volser.
    * 59-dasd.rules: udev rules for unique DASD device nodes created in /dev/disk/.

  http://www.ibm.com/developerworks/linux/linux390/s390-tools-1.6.0.html
2007-03-12 13:17:23 +01:00
Kay Sievers
50e3e2b0df update Fedora rules 2007-03-12 13:05:34 +01:00
Kay Sievers
188394ce8e default rules: wait for 0:0:0:0 scsi devices only 2007-03-11 20:23:42 +01:00
Kay Sievers
0d2516c336 udevmonitor: add switch for kernel and udev events 2007-03-10 15:12:42 +01:00
Kay Sievers
7f7238062c man: spelling fixes
Thanks to Robert P. J. Day.
2007-03-08 13:59:28 +01:00
Kay Sievers
5b7363c064 create_floppy_devices: apply specified mode without umask 2007-03-08 12:28:03 +01:00
Kay Sievers
684e935faf man: fix typo 2007-03-07 21:02:17 +01:00
Kay Sievers
88caa9da18 man: add missing options to various man pages 2007-03-07 18:00:12 +01:00
Kay Sievers
159ba1c531 release 106 2007-03-03 18:42:09 +01:00
Kay Sievers
0ef409f6ca remove dead rule in persistent tape rules
Thanks to Matthias Schwarzott for spotting this.
2007-02-28 17:26:05 +01:00
Jamie Wellnitz
0fe4cffde6 persistent device naming: tape devices and medium changers
This adds persistent symlinks for nst tape devices to the example
rules. The symlinks live under /dev/tape/by-id/.

Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
2007-02-27 21:02:07 +01:00
Matthias Schwarzott
1f889fb84f rule_generator: fix for creating rules on read-only filesystem 2007-02-26 15:07:42 +01:00
Kay Sievers
58310f6698 scsi_id: accept tabs in /etc/scsi_id.conf 2007-02-25 22:14:14 +01:00
Kay Sievers
e7c39acbe7 man: add note about parent matching behavior 2007-02-25 01:26:53 +01:00
Kay Sievers
864b9b5e37 add test for an attribute which contains an operator char 2007-02-25 01:06:20 +01:00
Theodoros V. Kalamatianos
7db33ac19c fix udev attribute names with a colon 2007-02-25 01:04:23 +01:00
Kay Sievers
4e13cb5fb7 remove --version from the udevinfo man page
We have: udevd --version now, which is always available,
unlike udevinfo which is installed in /usr.
2007-02-24 23:57:04 +01:00
Matthias Schwarzott
841e168c76 add option --version to udevd 2007-02-24 23:43:36 +01:00
Kay Sievers
915fde1738 update DRIVER== changes 2007-02-24 23:43:04 +01:00
Kay Sievers
8f4bc5f1df add (subsystem) to udevmonitor output 2007-02-16 13:57:08 +01:00
Kay Sievers
6e82f66ea2 apply format chars to ATTR before writing to sysfs 2007-02-16 13:20:34 +01:00
Kay Sievers
1a4144498a update example rules 2007-02-14 22:39:39 +01:00
Kay Sievers
e5f76f6613 create_floppy_devices: add option for owner/group 2007-02-14 22:29:03 +01:00
Kay Sievers
5ab2e3c2c3 path_id: append LUN to iSCSI path 2007-02-05 16:15:52 +01:00
Kay Sievers
bba8160f51 man: correct udevinfo --export-db
Thanks to: Matthias Schwarzott <zzam@gentoo.org>
2007-02-05 16:03:00 +01:00
Kay Sievers
1bcfb137e8 release 105 2007-02-03 01:24:48 +01:00
Kay Sievers
ac77e95948 volume_id: really fix endianess bug in linux_raid detection
Seems we find the md signature in cpu-order on the disk. Let's
look for both endian encodings ...

Thanks to Michael Prokop for his help finding the bug.
2007-02-03 01:12:34 +01:00
Kay Sievers
273bebdba6 exclude parent devices from DRIVER== match
We have DRIVERS= for this.
2007-02-01 20:23:41 +01:00
Sergey Vlasov
c0c865d466 fix %c $string substitution
Fix udev_rules_apply_format() to give error messages for unknown
format elements and pass such elements to the output string
unmodified.

When truncating the substitution string to the length specified in the
format string, head[len] = '\0' could write outside the buffer if that
length was too large.
2007-02-01 20:18:52 +01:00
A. Costa
6ff4253618 man: fix typos in scsi_id and udevd 2007-01-28 15:13:36 +01:00
Matthias Schwarzott
ca714ef70e fix retry-loop in netif-rename code 2007-01-23 20:01:30 +01:00
Sergey Vlasov
e0c0807ab3 unlink old database file before creating a new one
udev_db_add_device() can be called when the corressponding database
entry already exists - it should overwrite the old entry in this case.
However, if the old entry was a symlink, fopen(filename, "w") will not
overwrite it properly - it will keep the symlink and create a file
named after the symlink target.  Calling unlink(filename) before
trying to create the database file fixes the problem.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
2007-01-23 19:55:38 +01:00
Andrey Borzenkov
27283c2fda vol_id: document -L 2007-01-22 22:27:16 +01:00
Sergey Vlasov
ff2eecef88 udevd: init signal pipe before daemonizing 2007-01-21 22:51:53 +01:00
Andrey Borzenkov
ede9b54171 vol_id: add -L to print raw partition label 2007-01-21 22:49:45 +01:00
Matthias Schwarzott
bb0f7466a0 correct typo in extras/scsi_id/scsi_id.conf 2007-01-21 15:51:28 +01:00
Peter Breitenlohner
86f4ea067e fix INSTALL_PROGRAM vs. INSTALL_SCRIPT 2007-01-21 15:48:58 +01:00
Kay Sievers
8fdad27d61 release 104 2007-01-02 15:58:41 +01:00
Kay Sievers
2576a836ff use git-archive instead of git-tar-tree 2007-01-02 15:57:45 +01:00
Kay Sievers
71f178cf24 update Fedora rules 2007-01-02 15:36:04 +01:00
Kay Sievers
de49bbb223 rename "udev.c" to "test-udev.c" - it is only for testing 2006-12-08 10:29:17 +01:00
Kay Sievers
8af2319978 remove outdated documentation 2006-12-08 10:10:56 +01:00
Kay Sievers
9dd0c2573b rename config "filename" to "dir" 2006-12-08 09:48:53 +01:00