History log of /systemd/rules/60-persistent-storage.rules
Revision Date Author Comments Expand
7519d221e051e0118a4692f13a30c110e2561952 09-Aug-2015 Thomas Meyer <thomas@m3y3r.de>

UML: Fix block device setup User mode linux block devices start with ubd, e.g. ubda, ubdb, etc..

604f02add68c10232876a868c2f04b77cdcefee0 05-Jul-2015 Kay Sievers <kay@vrfy.org>

rules: block - add dasd to whitelist

ba27fb2111b0b7cb73043ba159456d8933a59f8f 29-Jun-2015 Cédric Delmas <cedricde@users.noreply.github.com>

Process cciss devices Do not skip the persistent storage rules for cciss devices

fb2d301085261f477e1f0a4e3c8e823bc8da7c33 11-Jun-2015 Alex Crawford <alex.crawford@coreos.com>

rules: re-add cciss rules The original commit (1aff206) doesn't explain why these were removed. This adds them back since they are in fact needed.

bb5c512de22eeb7464f120a01fd1d59e7a4bbb7b 09-Jun-2015 Alex Crawford <alex.crawford@coreos.com>

rules: whitelist xvd* devices Xen disks need to be whitelisted as well.

ff2aa01e61f8aff149b63231365f1cef008296a2 03-Jun-2015 Ed Swierk <eswierk@skyportsystems.com>

Add /dev/xvd* to 60-persistent-storage whitelist Without this, systemd-udevd does not create persistent storage symlinks for xen block devices.

19672f1e5fd23ec3ea5b93b8268ae07f2b8e9645 01-Jun-2015 David Mohr <david@mcbf.net>

udev: Bring back persistant storage symlinks for bcache https://bugs.debian.org/787367

afa91a72315b7becfe753dcba1f337578f15caff 24-Mar-2015 Mantas Mikulėnas <grawity@gmail.com>

rules: storage - support MemoryStick (non-Pro) cards These are handled by a different driver than MemoryStick Pro.

174470fbf1cba7e812111e19b568fab49f5966aa 24-Mar-2015 Kay Sievers <kay@vrfy.org>

rules: storage - whitelist partitioned MS & MMC devices On Mon, Mar 23, 2015 at 8:55 AM, Mantas Mikulėnas <grawity@gmail.com> wrote: > On Tue, Mar 17, 2015 at 11:50 PM, Kay Sievers <kay@vrfy.org> wrote: >> On Tue, Mar 17, 2015 at 5:00 PM, Mantas Mikulėnas <grawity@gmail.com> >> wrote: >> > Accidentally dropped in 1aff20687f4868575. >> > --- >> > rules/60-persistent-storage.rules | 2 +- >> > 1 file changed, 1 insertion(+), 1 deletion(-) >> >> > +KERNEL!="loop*|mmcblk[0-9]*|mspblk[0-9]*|nvme*|sd*|sr*|vd*", >> > GOTO="persistent_storage_end" >> >> We can't do that, we need to ignore the mmc*rpmb devices: >> >> http://cgit.freedesktop.org/systemd/systemd/commit/?id=b87b01cf83947f467f3c46d9831cd67955fc46b9 >> >> Maybe "mmcblk*[0-9]" will work? > > Yeah, that would probably work (the names are like mmcblk0p1 etc.)

c6e20ceb09497d842f41ef9b0da553930efbe49d 24-Mar-2015 Tom Gundersen <teg@jklm.no>

rules: storage - don't apply rules to remove events This line was accidentally lost in 52346b5f5424.

52346b5f5424a41db8681c96fcfe74e7bde02d4c 12-Mar-2015 Kay Sievers <kay@vrfy.org>

rules: move block device rules to its own rules file

1aff20687f486857574fde0e5946a80b8ec212ba 12-Mar-2015 Kay Sievers <kay@vrfy.org>

rules: storage - relace blacklist with explicit whitelist Newly added kernel drivers repeatedly pass our blacklist and cause trouble for the devices, because they do not expect to be examined by udev's default rules which include blkid. This turns the blacklist into a whitelist. Device type which need support for additional symlinks need to be added to the whitelist now. Note, that the by-id, by-path symlinks are only intended for hotpluggable devices. There is no reason for exotic, or for statically configured devices to provide them.

0c13be389faea49fd8a370dc8186e7d5d20e967d 13-Feb-2015 Martin Pitt <martin.pitt@ubuntu.com>

rules: simplify mmc RPMB handling We don't actually want a by-path/ symlink for MMC RPMB devices, so just add them to the blacklist. This will prevent creating wrong by-path links and blkid'ing those.

b87b01cf83947f467f3c46d9831cd67955fc46b9 13-Feb-2015 Martin Pitt <martin.pitt@ubuntu.com>

rules: Fix by-path of mmc RPMB partitions and don't blkid them Linux 3.10+ exposes RPMB (Replay Protected Memory Block) partitions of MMC devices [1] ; trying to read them with blkid or other unspecific means will cause kernel buffer I/O errors and timeouts. So don't run blkid on these. Also ensure that /dev/disk/by-path creates proper symlinks and exposes the -rpmb partition separately, instead of letting the "normal" partition symlink point to the rpbm device (this is a race condition). [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=090d25fe224c0 https://launchpad.net/bugs/1333140

98b2f766b24c84fc49a4df954717b1f96bbce00d 11-Mar-2014 Lennart Poettering <lennart@poettering.net>

gpt-auto-generator: rename root device node symlink to /dev/gpt-auto-root Before it was placed in /dev/disk/by-id, which makes it a bit too much API. However, it's mostly an implementation detail for now, hence move it out of the stable block device dir.

329f7803ee4414cd015e6f83a835079208608171 07-Mar-2014 Lennart Poettering <lennart@poettering.net>

udev: automatically create a symlink /dev/disk/by-id/gpt-auto-root if there's a suitable root partition

73e231abde39f22097df50542c745e01de879836 18-Feb-2014 Jan Engelhardt <jengelh@inai.de>

doc: update punctuation Resolve spotted issues related to missing or extraneous commas, dashes.

99bd4af0c7034f425b4d334986b03e632ab71718 06-Feb-2014 Jóhann B. Guðmundsson < <johannbg@gmail.com>

udev: add zram to the list of devices inappropriate for symlinks udev seems to have a race condition with swapon to see which can open /dev/zram0 first, causing swapon to fail. Seems to be most noticeable on arm devices one out of every 7 times or something.

17e588a4f2dd210a444d9a5b5b7e7260609fabb1 28-Jan-2013 Kay Sievers <kay@vrfy.org>

rules: there is no "ata" subsystem for ATA device

3e2147858f21943d5f4a781c60f33ac22c6096ed 04-Apr-2012 Kay Sievers <kay.sievers@vrfy.org>

move imported udev into place

/systemd/.gitignore /systemd/Makefile.am /systemd/TODO /systemd/autogen.sh /systemd/configure.ac /systemd/m4/.gitignore /systemd/man/udev.xml /systemd/man/udevadm.xml /systemd/man/udevd.xml .gitignore 42-usb-hid-pm.rules 50-udev-default.rules 60-persistent-alsa.rules 60-persistent-input.rules 60-persistent-serial.rules 60-persistent-storage-tape.rules 60-persistent-storage.rules 75-net-description.rules 75-tty-description.rules 78-sound-card.rules 80-drivers.rules 95-udev-late.rules 99-systemd.rules.in /systemd/src/udev/.gitignore /systemd/src/udev/COPYING /systemd/src/udev/ChangeLog /systemd/src/udev/INSTALL /systemd/src/udev/Makefile.am /systemd/src/udev/NEWS /systemd/src/udev/README /systemd/src/udev/TODO /systemd/src/udev/accelerometer/61-accelerometer.rules /systemd/src/udev/accelerometer/accelerometer.c /systemd/src/udev/ata_id/ata_id.c /systemd/src/udev/autogen.sh /systemd/src/udev/cdrom_id/60-cdrom_id.rules /systemd/src/udev/cdrom_id/cdrom_id.c /systemd/src/udev/collect/collect.c /systemd/src/udev/configure.ac /systemd/src/udev/docs/.gitignore /systemd/src/udev/docs/Makefile.am /systemd/src/udev/docs/libudev-docs.xml /systemd/src/udev/docs/libudev-sections.txt /systemd/src/udev/docs/libudev.types /systemd/src/udev/docs/version.xml.in /systemd/src/udev/gudev/.gitignore /systemd/src/udev/gudev/docs/.gitignore /systemd/src/udev/gudev/docs/Makefile.am /systemd/src/udev/gudev/docs/gudev-docs.xml /systemd/src/udev/gudev/docs/gudev-sections.txt /systemd/src/udev/gudev/docs/gudev.types /systemd/src/udev/gudev/docs/version.xml.in /systemd/src/udev/gudev/gjs-example.js /systemd/src/udev/gudev/gudev-1.0.pc.in /systemd/src/udev/gudev/gudev.h /systemd/src/udev/gudev/gudevclient.c /systemd/src/udev/gudev/gudevclient.h /systemd/src/udev/gudev/gudevdevice.c /systemd/src/udev/gudev/gudevdevice.h /systemd/src/udev/gudev/gudevenumerator.c /systemd/src/udev/gudev/gudevenumerator.h /systemd/src/udev/gudev/gudevenums.h /systemd/src/udev/gudev/gudevenumtypes.c.template /systemd/src/udev/gudev/gudevenumtypes.h.template /systemd/src/udev/gudev/gudevmarshal.list /systemd/src/udev/gudev/gudevprivate.h /systemd/src/udev/gudev/gudevtypes.h /systemd/src/udev/gudev/seed-example-enum.js /systemd/src/udev/gudev/seed-example.js /systemd/src/udev/keymap/.gitignore /systemd/src/udev/keymap/95-keyboard-force-release.rules /systemd/src/udev/keymap/95-keymap.rules /systemd/src/udev/keymap/README.keymap.txt /systemd/src/udev/keymap/check-keymaps.sh /systemd/src/udev/keymap/findkeyboards /systemd/src/udev/keymap/force-release-maps/common-volume-keys /systemd/src/udev/keymap/force-release-maps/dell-touchpad /systemd/src/udev/keymap/force-release-maps/hp-other /systemd/src/udev/keymap/force-release-maps/samsung-90x3a /systemd/src/udev/keymap/force-release-maps/samsung-other /systemd/src/udev/keymap/keyboard-force-release.sh.in /systemd/src/udev/keymap/keymap.c /systemd/src/udev/keymap/keymaps/acer /systemd/src/udev/keymap/keymaps/acer-aspire_5720 /systemd/src/udev/keymap/keymaps/acer-aspire_5920g /systemd/src/udev/keymap/keymaps/acer-aspire_6920 /systemd/src/udev/keymap/keymaps/acer-aspire_8930 /systemd/src/udev/keymap/keymaps/acer-travelmate_c300 /systemd/src/udev/keymap/keymaps/asus /systemd/src/udev/keymap/keymaps/compaq-e_evo /systemd/src/udev/keymap/keymaps/dell /systemd/src/udev/keymap/keymaps/dell-latitude-xt2 /systemd/src/udev/keymap/keymaps/everex-xt5000 /systemd/src/udev/keymap/keymaps/fujitsu-amilo_li_2732 /systemd/src/udev/keymap/keymaps/fujitsu-amilo_pa_2548 /systemd/src/udev/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 /systemd/src/udev/keymap/keymaps/fujitsu-amilo_pro_v3205 /systemd/src/udev/keymap/keymaps/fujitsu-amilo_si_1520 /systemd/src/udev/keymap/keymaps/fujitsu-esprimo_mobile_v5 /systemd/src/udev/keymap/keymaps/fujitsu-esprimo_mobile_v6 /systemd/src/udev/keymap/keymaps/genius-slimstar-320 /systemd/src/udev/keymap/keymaps/hewlett-packard /systemd/src/udev/keymap/keymaps/hewlett-packard-2510p_2530p /systemd/src/udev/keymap/keymaps/hewlett-packard-compaq_elitebook /systemd/src/udev/keymap/keymaps/hewlett-packard-pavilion /systemd/src/udev/keymap/keymaps/hewlett-packard-presario-2100 /systemd/src/udev/keymap/keymaps/hewlett-packard-tablet /systemd/src/udev/keymap/keymaps/hewlett-packard-tx2 /systemd/src/udev/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint /systemd/src/udev/keymap/keymaps/inventec-symphony_6.0_7.0 /systemd/src/udev/keymap/keymaps/lenovo-3000 /systemd/src/udev/keymap/keymaps/lenovo-ideapad /systemd/src/udev/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint /systemd/src/udev/keymap/keymaps/lenovo-thinkpad_x200_tablet /systemd/src/udev/keymap/keymaps/lenovo-thinkpad_x6_tablet /systemd/src/udev/keymap/keymaps/lg-x110 /systemd/src/udev/keymap/keymaps/logitech-wave /systemd/src/udev/keymap/keymaps/logitech-wave-cordless /systemd/src/udev/keymap/keymaps/logitech-wave-pro-cordless /systemd/src/udev/keymap/keymaps/maxdata-pro_7000 /systemd/src/udev/keymap/keymaps/medion-fid2060 /systemd/src/udev/keymap/keymaps/medionnb-a555 /systemd/src/udev/keymap/keymaps/micro-star /systemd/src/udev/keymap/keymaps/module-asus-w3j /systemd/src/udev/keymap/keymaps/module-ibm /systemd/src/udev/keymap/keymaps/module-lenovo /systemd/src/udev/keymap/keymaps/module-sony /systemd/src/udev/keymap/keymaps/module-sony-old /systemd/src/udev/keymap/keymaps/module-sony-vgn /systemd/src/udev/keymap/keymaps/olpc-xo /systemd/src/udev/keymap/keymaps/onkyo /systemd/src/udev/keymap/keymaps/oqo-model2 /systemd/src/udev/keymap/keymaps/samsung-90x3a /systemd/src/udev/keymap/keymaps/samsung-other /systemd/src/udev/keymap/keymaps/samsung-sq1us /systemd/src/udev/keymap/keymaps/samsung-sx20s /systemd/src/udev/keymap/keymaps/toshiba-satellite_a100 /systemd/src/udev/keymap/keymaps/toshiba-satellite_a110 /systemd/src/udev/keymap/keymaps/toshiba-satellite_m30x /systemd/src/udev/keymap/keymaps/zepto-znote /systemd/src/udev/libudev-device-private.c /systemd/src/udev/libudev-device.c /systemd/src/udev/libudev-enumerate.c /systemd/src/udev/libudev-list.c /systemd/src/udev/libudev-monitor.c /systemd/src/udev/libudev-private.h /systemd/src/udev/libudev-queue-private.c /systemd/src/udev/libudev-queue.c /systemd/src/udev/libudev-selinux-private.c /systemd/src/udev/libudev-util-private.c /systemd/src/udev/libudev-util.c /systemd/src/udev/libudev.c /systemd/src/udev/libudev.h /systemd/src/udev/libudev.pc.in /systemd/src/udev/m4/.gitignore /systemd/src/udev/mtd_probe/75-probe_mtd.rules /systemd/src/udev/mtd_probe/mtd_probe.c /systemd/src/udev/mtd_probe/mtd_probe.h /systemd/src/udev/mtd_probe/probe_smartmedia.c /systemd/src/udev/scsi_id/.gitignore /systemd/src/udev/scsi_id/README /systemd/src/udev/scsi_id/scsi.h /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/udev/scsi_id/scsi_id.h /systemd/src/udev/scsi_id/scsi_serial.c /systemd/src/udev/src/.gitignore /systemd/src/udev/src/COPYING /systemd/src/udev/src/floppy/60-floppy.rules /systemd/src/udev/src/floppy/create_floppy_devices.c /systemd/src/udev/src/gudev/COPYING /systemd/src/udev/src/rule_generator/75-cd-aliases-generator.rules /systemd/src/udev/src/rule_generator/75-persistent-net-generator.rules /systemd/src/udev/src/rule_generator/rule_generator.functions /systemd/src/udev/src/rule_generator/write_cd_rules /systemd/src/udev/src/rule_generator/write_net_rules /systemd/src/udev/src/scsi_id/scsi_id.8 /systemd/src/udev/src/sd-daemon.c /systemd/src/udev/src/sd-daemon.h /systemd/src/udev/test-libudev.c /systemd/src/udev/test-udev.c /systemd/src/udev/test/rules-test.sh /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udev-builtin-firmware.c /systemd/src/udev/udev-builtin-hwdb.c /systemd/src/udev/udev-builtin-input_id.c /systemd/src/udev/udev-builtin-kmod.c /systemd/src/udev/udev-builtin-path_id.c /systemd/src/udev/udev-builtin-usb_id.c /systemd/src/udev/udev-builtin.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udev.conf /systemd/src/udev/udev.h /systemd/src/udev/udev.pc.in /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/udevadm-test-builtin.c /systemd/src/udev/udevadm-test.c /systemd/src/udev/udevadm-trigger.c /systemd/src/udev/udevadm.c /systemd/src/udev/udevd.c /systemd/src/udev/v4l_id/60-persistent-v4l.rules /systemd/src/udev/v4l_id/v4l_id.c /systemd/units/.gitignore /systemd/units/udev-control.socket /systemd/units/udev-kernel.socket /systemd/units/udev-settle.service.in /systemd/units/udev-trigger.service.in /systemd/units/udev.service.in
8e90942c7af2508f88c7284a0b116caf7ec854a9 07-Mar-2012 Kay Sievers <kay.sievers@vrfy.org>

rules: move all rules to top level rules/ dir