1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
Commit Graph

2030 Commits

Author SHA1 Message Date
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
Kazuhiro Inaoka
768cd81b7d inotify syscall definitions for M32R 2006-12-06 15:01:30 +01:00
Russell Coker
eb8b496e89 SELinux: label created symlink instead of node
The current code will label the target of a symlink rather than the
link itself.  This means that the link does not get it's context set
and the target gets the wrong context.
Incidentally this affects the labelling of hard disk device nodes and
can get in the way of booting.

Also get_media() should not be called with devname==NULL.
2006-12-05 14:32:44 +01:00
Marco d'Itri
5284454d5f scsi_id: remove trailing garbage from ID_SERIAL_SHORT 2006-11-27 17:13:19 +01:00
Marco d'Itri
64e6d9dd70 write_cd_rules: identity-based persistence
Bryan Kadzban wrote:
> Marco d'Itri wrote:
> > Bryan Kadzban wrote:
> >
> > > This is a sort of follow-up of my path-based persistence patch for
> > > net devices; it's the opposite type of addition for CD symlinks.
> >
> > Looks good. I am attaching a slightly reformatted version, I think it
> > should be applied.
>
> That's probably a lot more clear than my version anyway: what you posted
> looks like it does basically the same thing, just with some changes in
> the order and sense of checks.
2006-11-27 10:34:43 +01:00
Kay Sievers
26133d54e0 man: recreate from xml 2006-11-27 10:30:17 +01:00
Kay Sievers
3620d03b22 man: fix udevmonitor text
Thanks to Bauke Jan Douma.
2006-11-27 10:29:50 +01:00
Kay Sievers
aa68c048f8 volume_id: fix endianess bug in linux_raid detection 2006-11-15 20:41:25 +01:00
Kay Sievers
77ab93ed97 update SUSE rules 2006-11-15 20:40:26 +01:00
Kay Sievers
bf1cea46bb update SUSE rules 2006-11-14 20:16:35 +01:00
Kay Sievers
50fec65715 update example rules 2006-11-14 17:38:42 +01:00
Kay Sievers
151418db12 update Fedora rules 2006-11-14 17:38:04 +01:00
Kay Sievers
1810a9d7bb release 103 2006-10-20 14:43:35 +02:00
Kay Sievers
69ed35366f update Fedora rules 2006-10-15 18:40:08 +02:00
Kay Sievers
7cc15d9300 update SUSE rules 2006-10-15 18:29:05 +02:00
Kay Sievers
2412f0886d volume_id: add comment about hfs uuid conversion 2006-10-15 18:20:15 +02:00
Kay Sievers
2658afdcf1 volume_id: add checksum check to via_raid 2006-10-13 13:17:13 +02:00