summaryrefslogtreecommitdiff
path: root/rules/rules.d/60-persistent-storage.rules
AgeCommit message (Collapse)Author
2009-09-20fix previous commit for CD detectionMartin Pitt
Do not run blkid twice. *brown paperbag*
2009-09-20fix single-session CD detectionMartin Pitt
ID_CDROM_MEDIA_SESSION_LAST_OFFSET is not set for CDs with only a single session (i. e. for the vast majority of CDs out there). The previous rules ran blkid with invalid arguments for these, causing CD detection to fail in DK-disks and gvfs. Now check whether we actually have ID_CDROM_MEDIA_SESSION_LAST_OFFSET, and if not, call blkid without -O for specifying the offset. Many thanks to Maxim Levitsky for tracking this down! https://launchpad.net/bugs/431055
2009-06-28rules: make ata_id properties the default for all ATA block devicesKay Sievers
We need to call ata_id as the default for libata sd* devices. We want ID_BUS=ata, and the ATA device proeprties, and be independent of the SCSI emulation with the truncated values. The links in /dev/disk/by-id/{ata-*,scsi-*} are still the same.
2009-06-28ata_id: sync ID_SERIAL(_SHORT) with other *_id toolsKay Sievers
ID_SERIAL is the full serial number used for the links, ID_SERIAL_SHORT is the device serial number.
2009-06-08path_id: delete old shell scriptKay Sievers
Removed with this is SAS disk support which never really worked properly, and legacy IDE disk support, which can be re-implemented if needed.
2009-06-08path_id: add iscsi supportKay Sievers
2009-06-08path_id: handle fibre channelKay Sievers
2009-06-06path_id: implement in C using libudevKay Sievers
2009-06-04rules: do not call path_id for virtual devicesKay Sievers
2009-05-11delete vol_id and require util-linux-ng's blkidKay Sievers
2009-04-21cdrom_id: add and use ID_CDROM_MEDIA to decide if we run vol_idKay Sievers
Some broken mobile phones offer a faked cdrom drive with a media without any tracks.
2009-03-25rules: replace IDE driver with media matchKay Sievers
2009-03-23rules: remove ram* from persisten disk links blacklistKay Sievers
2009-03-23rules: exclude mtd* from persistent disk linksDavid Brownell
2009-03-22rules: rename ide-floppy to ide-gdBorislav Petkov
The driver's name changed in the 2.6.28 timeframe.
2009-02-16rules: include loop block devices in persistent linksKay Sievers
2009-02-11rules: move OPTIONS to separate ruleKay Sievers
A failing IMPORT+ match would prevent the OPTIONS+= action from being applied.
2009-02-11rules: update persistent storage rules to use inotify watchesScott James Remnant
2008-12-02rules: ATA_COMPAT do not try to match on sr*, it will never have vendor ATAKay Sievers
2008-11-28rules: fix cciss disk/by-id/ linksKay Sievers
2008-11-25rules: exclude "btibm" devices from vol_id callsKay Sievers
2008-11-19rules: add persistent rules for memory stick block devicesHarald Hoyer
commit 5a9aed145ac0ffb3e29b1c8e0f19b34e277f9117 Author: Harald Hoyer <harald@redhat.com> Date: Wed Nov 19 11:22:30 2008 +0100 added persistent rules for memory stick block devices
2008-11-13rules: remove DEVTYPE disk/partitionKay Sievers
2008-10-01rules: ieee1394 - create both, by-id/scsi-* and by-id/ieee-* linksKay Sievers
2008-08-22rules: optical drives - probe at last session offset, do not probe for raidKay Sievers
2008-08-02rules: run vol_id on opticals only if media is foundKay Sievers
Opening an optical drive device node without O_NONBLOCK autocloses the tray, we run vol_id on every media change by kernel emitted "change" events, which can make it hard to change the media when the tray closes immediatey again.:) We check for cdrom_id to indicate an existing track, if no media is found, we will not open the device with vol_id. Thanks to Christian Krause and DavidZ for debugging and testing.
2008-07-18move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/Kay Sievers
None of these rules is supposed to be changed by users, so move them out of /etc. Custom rules, and automatically generated rules stay in /etc. All rules are still processed in lexical order, regardless which directory they live in.