chiark / gitweb /
elogind.git
17 years agodelete dasd_id, it moved to s390-tools
Kay Sievers [Mon, 12 Mar 2007 12:17:23 +0000 (13:17 +0100)]
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

17 years agoupdate Fedora rules
Kay Sievers [Mon, 12 Mar 2007 12:05:34 +0000 (13:05 +0100)]
update Fedora rules

17 years agodefault rules: wait for 0:0:0:0 scsi devices only
Kay Sievers [Sun, 11 Mar 2007 19:23:42 +0000 (20:23 +0100)]
default rules: wait for 0:0:0:0 scsi devices only

17 years agoudevmonitor: add switch for kernel and udev events
Kay Sievers [Sat, 10 Mar 2007 14:12:42 +0000 (15:12 +0100)]
udevmonitor: add switch for kernel and udev events

17 years agoman: spelling fixes
Kay Sievers [Thu, 8 Mar 2007 12:59:28 +0000 (13:59 +0100)]
man: spelling fixes

Thanks to Robert P. J. Day.

17 years agocreate_floppy_devices: apply specified mode without umask
Kay Sievers [Thu, 8 Mar 2007 11:28:03 +0000 (12:28 +0100)]
create_floppy_devices: apply specified mode without umask

17 years agoman: fix typo
Kay Sievers [Wed, 7 Mar 2007 20:02:17 +0000 (21:02 +0100)]
man: fix typo

17 years agoman: add missing options to various man pages
Kay Sievers [Wed, 7 Mar 2007 17:00:12 +0000 (18:00 +0100)]
man: add missing options to various man pages

17 years agorelease 106
Kay Sievers [Sat, 3 Mar 2007 17:42:09 +0000 (18:42 +0100)]
release 106

17 years agoremove dead rule in persistent tape rules
Kay Sievers [Wed, 28 Feb 2007 16:26:05 +0000 (17:26 +0100)]
remove dead rule in persistent tape rules

Thanks to Matthias Schwarzott for spotting this.

17 years agopersistent device naming: tape devices and medium changers
Jamie Wellnitz [Tue, 27 Feb 2007 20:02:07 +0000 (21:02 +0100)]
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>
17 years agorule_generator: fix for creating rules on read-only filesystem
Matthias Schwarzott [Mon, 26 Feb 2007 14:07:42 +0000 (15:07 +0100)]
rule_generator: fix for creating rules on read-only filesystem

17 years agoscsi_id: accept tabs in /etc/scsi_id.conf
Kay Sievers [Sun, 25 Feb 2007 21:14:14 +0000 (22:14 +0100)]
scsi_id: accept tabs in /etc/scsi_id.conf

17 years agoman: add note about parent matching behavior
Kay Sievers [Sun, 25 Feb 2007 00:26:53 +0000 (01:26 +0100)]
man: add note about parent matching behavior

17 years agoadd test for an attribute which contains an operator char
Kay Sievers [Sun, 25 Feb 2007 00:06:20 +0000 (01:06 +0100)]
add test for an attribute which contains an operator char

17 years agofix udev attribute names with a colon
Theodoros V. Kalamatianos [Sun, 25 Feb 2007 00:04:23 +0000 (01:04 +0100)]
fix udev attribute names with a colon

17 years agoremove --version from the udevinfo man page
Kay Sievers [Sat, 24 Feb 2007 22:57:04 +0000 (23:57 +0100)]
remove --version from the udevinfo man page

We have: udevd --version now, which is always available,
unlike udevinfo which is installed in /usr.

17 years agoadd option --version to udevd
Matthias Schwarzott [Sat, 24 Feb 2007 22:43:36 +0000 (23:43 +0100)]
add option --version to udevd

17 years agoupdate DRIVER== changes
Kay Sievers [Sat, 24 Feb 2007 22:43:04 +0000 (23:43 +0100)]
update DRIVER== changes

17 years agoadd (subsystem) to udevmonitor output
Kay Sievers [Fri, 16 Feb 2007 12:57:08 +0000 (13:57 +0100)]
add (subsystem) to udevmonitor output

17 years agoapply format chars to ATTR before writing to sysfs
Kay Sievers [Fri, 16 Feb 2007 12:20:34 +0000 (13:20 +0100)]
apply format chars to ATTR before writing to sysfs

17 years agoupdate example rules
Kay Sievers [Wed, 14 Feb 2007 21:39:39 +0000 (22:39 +0100)]
update example rules

17 years agocreate_floppy_devices: add option for owner/group
Kay Sievers [Wed, 14 Feb 2007 21:29:03 +0000 (22:29 +0100)]
create_floppy_devices: add option for owner/group

17 years agopath_id: append LUN to iSCSI path
Kay Sievers [Mon, 5 Feb 2007 15:15:52 +0000 (16:15 +0100)]
path_id: append LUN to iSCSI path

17 years agoman: correct udevinfo --export-db
Kay Sievers [Mon, 5 Feb 2007 15:03:00 +0000 (16:03 +0100)]
man: correct udevinfo --export-db

Thanks to: Matthias Schwarzott <zzam@gentoo.org>

17 years agorelease 105
Kay Sievers [Sat, 3 Feb 2007 00:24:48 +0000 (01:24 +0100)]
release 105

17 years agovolume_id: really fix endianess bug in linux_raid detection
Kay Sievers [Sat, 3 Feb 2007 00:12:34 +0000 (01:12 +0100)]
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.

17 years agoexclude parent devices from DRIVER== match
Kay Sievers [Thu, 1 Feb 2007 19:23:41 +0000 (20:23 +0100)]
exclude parent devices from DRIVER== match

We have DRIVERS= for this.

17 years agofix %c $string substitution
Sergey Vlasov [Thu, 1 Feb 2007 19:18:52 +0000 (20:18 +0100)]
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.

17 years agoman: fix typos in scsi_id and udevd
A. Costa [Sun, 28 Jan 2007 14:13:36 +0000 (15:13 +0100)]
man: fix typos in scsi_id and udevd

17 years agofix retry-loop in netif-rename code
Matthias Schwarzott [Tue, 23 Jan 2007 19:01:30 +0000 (20:01 +0100)]
fix retry-loop in netif-rename code

17 years agounlink old database file before creating a new one
Sergey Vlasov [Tue, 23 Jan 2007 18:55:38 +0000 (19:55 +0100)]
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>
17 years agovol_id: document -L
Andrey Borzenkov [Mon, 22 Jan 2007 21:27:16 +0000 (22:27 +0100)]
vol_id: document -L

17 years agoudevd: init signal pipe before daemonizing
Sergey Vlasov [Sun, 21 Jan 2007 21:51:53 +0000 (22:51 +0100)]
udevd: init signal pipe before daemonizing

17 years agovol_id: add -L to print raw partition label
Andrey Borzenkov [Sun, 21 Jan 2007 21:49:45 +0000 (22:49 +0100)]
vol_id: add -L to print raw partition label

17 years agocorrect typo in extras/scsi_id/scsi_id.conf
Matthias Schwarzott [Sun, 21 Jan 2007 14:51:28 +0000 (15:51 +0100)]
correct typo in extras/scsi_id/scsi_id.conf

17 years agofix INSTALL_PROGRAM vs. INSTALL_SCRIPT
Peter Breitenlohner [Sun, 21 Jan 2007 14:48:58 +0000 (15:48 +0100)]
fix INSTALL_PROGRAM vs. INSTALL_SCRIPT

17 years agorelease 104
Kay Sievers [Tue, 2 Jan 2007 14:58:41 +0000 (15:58 +0100)]
release 104

17 years agouse git-archive instead of git-tar-tree
Kay Sievers [Tue, 2 Jan 2007 14:57:45 +0000 (15:57 +0100)]
use git-archive instead of git-tar-tree

17 years agoupdate Fedora rules
Kay Sievers [Tue, 2 Jan 2007 14:36:04 +0000 (15:36 +0100)]
update Fedora rules

17 years agorename "udev.c" to "test-udev.c" - it is only for testing
Kay Sievers [Fri, 8 Dec 2006 09:29:17 +0000 (10:29 +0100)]
rename "udev.c" to "test-udev.c" - it is only for testing

17 years agoremove outdated documentation
Kay Sievers [Fri, 8 Dec 2006 09:10:56 +0000 (10:10 +0100)]
remove outdated documentation

17 years agorename config "filename" to "dir"
Kay Sievers [Fri, 8 Dec 2006 08:48:53 +0000 (09:48 +0100)]
rename config "filename" to "dir"

17 years agoinotify syscall definitions for M32R
Kazuhiro Inaoka [Wed, 6 Dec 2006 14:01:30 +0000 (15:01 +0100)]
inotify syscall definitions for M32R

17 years agoSELinux: label created symlink instead of node
Russell Coker [Tue, 5 Dec 2006 13:32:44 +0000 (14:32 +0100)]
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.

17 years agoscsi_id: remove trailing garbage from ID_SERIAL_SHORT
Marco d'Itri [Mon, 27 Nov 2006 16:13:19 +0000 (17:13 +0100)]
scsi_id: remove trailing garbage from ID_SERIAL_SHORT

17 years agowrite_cd_rules: identity-based persistence
Marco d'Itri [Mon, 27 Nov 2006 09:34:43 +0000 (10:34 +0100)]
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.

17 years agoman: recreate from xml
Kay Sievers [Mon, 27 Nov 2006 09:30:17 +0000 (10:30 +0100)]
man: recreate from xml

17 years agoman: fix udevmonitor text
Kay Sievers [Mon, 27 Nov 2006 09:29:50 +0000 (10:29 +0100)]
man: fix udevmonitor text

Thanks to Bauke Jan Douma.

17 years agovolume_id: fix endianess bug in linux_raid detection
Kay Sievers [Wed, 15 Nov 2006 19:41:25 +0000 (20:41 +0100)]
volume_id: fix endianess bug in linux_raid detection

17 years agoupdate SUSE rules
Kay Sievers [Wed, 15 Nov 2006 19:40:26 +0000 (20:40 +0100)]
update SUSE rules

17 years agoupdate SUSE rules
Kay Sievers [Tue, 14 Nov 2006 19:16:35 +0000 (20:16 +0100)]
update SUSE rules

17 years agoupdate example rules
Kay Sievers [Tue, 14 Nov 2006 16:38:42 +0000 (17:38 +0100)]
update example rules

17 years agoupdate Fedora rules
Kay Sievers [Tue, 14 Nov 2006 16:38:04 +0000 (17:38 +0100)]
update Fedora rules

17 years agorelease 103
Kay Sievers [Fri, 20 Oct 2006 12:43:35 +0000 (14:43 +0200)]
release 103

17 years agoupdate Fedora rules
Kay Sievers [Sun, 15 Oct 2006 16:40:08 +0000 (18:40 +0200)]
update Fedora rules

17 years agoupdate SUSE rules
Kay Sievers [Sun, 15 Oct 2006 16:29:05 +0000 (18:29 +0200)]
update SUSE rules

17 years agovolume_id: add comment about hfs uuid conversion
Kay Sievers [Sun, 15 Oct 2006 16:20:15 +0000 (18:20 +0200)]
volume_id: add comment about hfs uuid conversion

17 years agovolume_id: add checksum check to via_raid
Kay Sievers [Fri, 13 Oct 2006 11:17:13 +0000 (13:17 +0200)]
volume_id: add checksum check to via_raid

17 years agopersistent storage rules: skip gnbd devices
Kay Sievers [Fri, 13 Oct 2006 11:16:08 +0000 (13:16 +0200)]
persistent storage rules: skip gnbd devices

17 years agorelease 102
Kay Sievers [Tue, 10 Oct 2006 15:07:35 +0000 (17:07 +0200)]
release 102

17 years agoupdate SUSE rules
Kay Sievers [Tue, 10 Oct 2006 14:56:33 +0000 (16:56 +0200)]
update SUSE rules

17 years agoscsi_id: export ID_SERIAL_SHORT without vendor/product
Kay Sievers [Tue, 10 Oct 2006 14:56:09 +0000 (16:56 +0200)]
scsi_id: export ID_SERIAL_SHORT without vendor/product

17 years agoif /sys/subsystem exists, skip class, bus, block scanning
Kay Sievers [Sun, 8 Oct 2006 14:06:14 +0000 (16:06 +0200)]
if /sys/subsystem exists, skip class, bus, block scanning

17 years agofirst try "subsystem" link at a parent device, before guessing
Kay Sievers [Sun, 8 Oct 2006 14:04:54 +0000 (16:04 +0200)]
first try "subsystem" link at a parent device, before guessing

17 years agowriting_udev_rules: fix typo in example rule
Daniel Drake [Mon, 2 Oct 2006 23:45:56 +0000 (01:45 +0200)]
writing_udev_rules: fix typo in example rule

This was pointed out by SG Wilkinson.

17 years agopath_id: fix SAS disk handling
MUNEDA Takahiro [Mon, 2 Oct 2006 14:02:42 +0000 (16:02 +0200)]
path_id: fix SAS disk handling

17 years agoupdate default rules
Kay Sievers [Sat, 30 Sep 2006 15:12:48 +0000 (17:12 +0200)]
update default rules

17 years agoupdate SUSE rules
Kay Sievers [Sat, 30 Sep 2006 15:12:25 +0000 (17:12 +0200)]
update SUSE rules

17 years agocreate missing ChangeLog for version 101
Kay Sievers [Sat, 30 Sep 2006 15:09:55 +0000 (17:09 +0200)]
create missing ChangeLog for version 101

17 years agorelease 101
Kay Sievers [Sat, 30 Sep 2006 12:30:00 +0000 (14:30 +0200)]
release 101

17 years agoadd IMPORT operations to the udev man page
Bryan Kadzban [Sat, 23 Sep 2006 20:10:55 +0000 (22:10 +0200)]
add IMPORT operations to the udev man page

17 years agocleanup default rules
Bryan Kadzban [Sat, 23 Sep 2006 20:09:41 +0000 (22:09 +0200)]
cleanup default rules

17 years agoupdate slackware rules
Piter PUNK [Wed, 20 Sep 2006 19:00:29 +0000 (21:00 +0200)]
update slackware rules

17 years agofix spelling in deprecation warning
Kay Sievers [Wed, 20 Sep 2006 18:22:57 +0000 (20:22 +0200)]
fix spelling in deprecation warning

Found by Andreas Hanke.

17 years agofix udevinfo help text typo
Arjan Opmeer [Wed, 20 Sep 2006 18:20:35 +0000 (20:20 +0200)]
fix udevinfo help text typo

17 years agoudevtrigger: fix typo that prevents partition events
Michał Bartoszkiewicz [Wed, 20 Sep 2006 10:22:24 +0000 (12:22 +0200)]
udevtrigger: fix typo that prevents partition events

17 years agoupdate Frugalware rules
VMiklos [Tue, 19 Sep 2006 22:02:50 +0000 (00:02 +0200)]
update Frugalware rules

17 years agoudevtrigger: trigger devices sorted by their dependency
Kay Sievers [Tue, 19 Sep 2006 15:51:31 +0000 (17:51 +0200)]
udevtrigger: trigger devices sorted by their dependency

Resolve the links to the real device location in the tree, and
sort the list, to make sure that parent devices are triggered
before their childs.

17 years agoudev_sysfs: unify symlink resolving
Kay Sievers [Tue, 19 Sep 2006 15:46:04 +0000 (17:46 +0200)]
udev_sysfs: unify symlink resolving

17 years agoudevinfo: print error in --attribute-walk
Kay Sievers [Tue, 19 Sep 2006 15:07:25 +0000 (17:07 +0200)]
udevinfo: print error in --attribute-walk

17 years agodon't print PHYSDEV* warnings for old WAIT_FOR_SYSFS rules
Kay Sievers [Mon, 18 Sep 2006 20:14:18 +0000 (22:14 +0200)]
don't print PHYSDEV* warnings for old WAIT_FOR_SYSFS rules

17 years agowarn if a PHYSEDV* key, the "device" link, or a parent attribute is used
Kay Sievers [Mon, 18 Sep 2006 00:01:29 +0000 (02:01 +0200)]
warn if a PHYSEDV* key, the "device" link, or a parent attribute is used

17 years agoclarify "specified user/group unknown" error
Miles Lane [Sat, 16 Sep 2006 14:35:52 +0000 (16:35 +0200)]
clarify "specified user/group unknown" error

17 years agovolume_id: correct iso9660 high sierra header
Kay Sievers [Tue, 12 Sep 2006 12:33:06 +0000 (14:33 +0200)]
volume_id: correct iso9660 high sierra header

Thanks to David Härdeman.

17 years agorule_generator: improve net rule comment generation
Kay Sievers [Sat, 9 Sep 2006 12:45:45 +0000 (14:45 +0200)]
rule_generator: improve net rule comment generation

17 years agoudevd: add --debug-trace option
Kay Sievers [Fri, 8 Sep 2006 09:30:00 +0000 (11:30 +0200)]
udevd: add --debug-trace option

17 years agoudevd: add --verbose option to log also to stdout
Kay Sievers [Fri, 8 Sep 2006 09:28:38 +0000 (11:28 +0200)]
udevd: add --verbose option to log also to stdout

17 years agoudevd: use getopt_long()
Kay Sievers [Fri, 8 Sep 2006 09:27:03 +0000 (11:27 +0200)]
udevd: use getopt_long()

17 years agoremove Makefile magic for leading '0' in version
Kay Sievers [Thu, 7 Sep 2006 09:49:51 +0000 (11:49 +0200)]
remove Makefile magic for leading '0' in version

17 years agorelease 100
Kay Sievers [Thu, 7 Sep 2006 09:32:45 +0000 (11:32 +0200)]
release 100

17 years agorevert persistent-storage ata-serial '_' '-' replacement
Kay Sievers [Thu, 7 Sep 2006 09:30:29 +0000 (11:30 +0200)]
revert persistent-storage ata-serial '_' '-' replacement

It's not worth changing it, also scsi usually has an underscore
in the SERIAL string itself:
  scsi-SSEAGATE_ST3146854SS_3KN0JH8600008609GTBW
  scsi-SATA_HTS726060M9AT00_MRH453M4HWHG7B

17 years agoman: add $attr{} section about symlinks
Kay Sievers [Thu, 7 Sep 2006 09:08:07 +0000 (11:08 +0200)]
man: add $attr{} section about symlinks

17 years agofix messed up ChangeLog from release 099
Kay Sievers [Wed, 6 Sep 2006 21:18:28 +0000 (23:18 +0200)]
fix messed up ChangeLog from release 099

17 years agoupdate SUSE rules
Kay Sievers [Wed, 6 Sep 2006 20:51:30 +0000 (22:51 +0200)]
update SUSE rules

17 years agorelease 099
Kay Sievers [Wed, 6 Sep 2006 20:18:04 +0000 (22:18 +0200)]
release 099

17 years agochanges rules for ata disk from '_' to '-'
MUNEDA Takahiro [Wed, 6 Sep 2006 20:08:20 +0000 (22:08 +0200)]
changes rules for ata disk from '_' to '-'

by-id symlink rules for ata disk only have '_' before
$env{ID_SERIAL}. The rules for SCSI disk, SCSI tape, mouse,
event are not '_' but '-'

17 years agoadd persistent rules generator for net devices and optical drives
Marco d'Itri [Tue, 5 Sep 2006 13:20:28 +0000 (15:20 +0200)]
add persistent rules generator for net devices and optical drives

17 years agoremove broken name_cdrom.pl
Kay Sievers [Tue, 5 Sep 2006 12:00:47 +0000 (14:00 +0200)]
remove broken name_cdrom.pl

We never get an event on media change, so this script can't work.

17 years agoudevinfo: do not show symlinks as attributes in --attribute-walk
Kay Sievers [Tue, 5 Sep 2006 11:54:08 +0000 (13:54 +0200)]
udevinfo: do not show symlinks as attributes in --attribute-walk