diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-05-02 01:01:17 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-05-02 12:16:21 +0200 |
commit | 929175a025254315fd0773d1af23943233616db8 (patch) | |
tree | bc7b06a8b5c0ae4fcbeefa4600518b0df0acbf1e /dracut/59-mtd.rules | |
parent | 1571ef8d4495c61f7061996d78c5f45db590930b (diff) | |
download | hrmpf-929175a025254315fd0773d1af23943233616db8.tar.gz hrmpf-929175a025254315fd0773d1af23943233616db8.tar.xz hrmpf-929175a025254315fd0773d1af23943233616db8.zip |
Support for MEMDISK
The .iso can now be booted using Grub (memdisk from Syslinux package): linux16 /memdisk initrd16 /path/to/iso As well as from Syslinux: LINUX memdisk INITRD path/to/iso
Diffstat (limited to 'dracut/59-mtd.rules')
-rw-r--r-- | dracut/59-mtd.rules | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dracut/59-mtd.rules b/dracut/59-mtd.rules new file mode 100644 index 0000000..d81a6ad --- /dev/null +++ b/dracut/59-mtd.rules @@ -0,0 +1,8 @@ +SUBSYSTEM!="block", GOTO="ps_end" +ACTION!="add|change", GOTO="ps_end" +# Also don't process disks that are slated to be a multipath device +ENV{DM_MULTIPATH_DEVICE_PATH}=="?*", GOTO="ps_end" + +KERNEL=="mtdblock[0-9]*", IMPORT BLKID + +LABEL="ps_end" |