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

2012 Commits

Author SHA1 Message Date
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
Kay Sievers
f2f957c394 persistent storage rules: skip gnbd devices 2006-10-13 13:16:08 +02:00
Kay Sievers
0a9e36df4f release 102 2006-10-10 17:07:35 +02:00
Kay Sievers
2c6185636c update SUSE rules 2006-10-10 16:56:33 +02:00
Kay Sievers
11678eff6a scsi_id: export ID_SERIAL_SHORT without vendor/product 2006-10-10 16:56:09 +02:00
Kay Sievers
5ac2854375 if /sys/subsystem exists, skip class, bus, block scanning 2006-10-08 16:06:14 +02:00
Kay Sievers
66ec64e9ad first try "subsystem" link at a parent device, before guessing 2006-10-08 16:04:54 +02:00
Daniel Drake
72605f8b01 writing_udev_rules: fix typo in example rule
This was pointed out by SG Wilkinson.
2006-10-03 01:45:56 +02:00
MUNEDA Takahiro
56baaedc90 path_id: fix SAS disk handling 2006-10-02 16:02:42 +02:00
Kay Sievers
178b824905 update default rules 2006-09-30 17:12:48 +02:00
Kay Sievers
965039b860 update SUSE rules 2006-09-30 17:12:25 +02:00
Kay Sievers
fe547f13fc create missing ChangeLog for version 101 2006-09-30 17:09:55 +02:00
Kay Sievers
9b2a903812 release 101 2006-09-30 14:30:00 +02:00
Bryan Kadzban
53fc01d507 add IMPORT operations to the udev man page 2006-09-23 22:10:55 +02:00
Bryan Kadzban
fa0bca0120 cleanup default rules 2006-09-23 22:09:41 +02:00
Piter PUNK
d3641ff2ac update slackware rules 2006-09-20 21:00:29 +02:00
Kay Sievers
b4e4b5a5db fix spelling in deprecation warning
Found by Andreas Hanke.
2006-09-20 20:22:57 +02:00
Arjan Opmeer
92be0b8700 fix udevinfo help text typo 2006-09-20 20:20:35 +02:00
Michał Bartoszkiewicz
d6e3953888 udevtrigger: fix typo that prevents partition events 2006-09-20 12:22:24 +02:00