Harald Hoyer
ea8ca78af0
crypt/parse-crypt.sh: fix udev rule creation
14 years ago
Harald Hoyer
0b53ca70b6
Move all hooks to "$hookdir"
...
hookdir=/lib/dracut/hooks for now, to keep the root directory clean
14 years ago
Harald Hoyer
fcbcc89bb2
crypt: fix emergency script generation
...
[ forward port of e45a2dba]
14 years ago
Amadeusz Żołnowski
8844cd6b6c
90crypt: probe for keydev asynchronously; changed kernel arg
...
New kernel argument syntax for LUKS-keydev is introduced:
rd.luks.key=<key_path>[:<key_dev>[:<luks_dev>]]
Unfolding <key_dev> in BNF:
<key_dev> ::= "UUID=" <uuid> | "LABEL=" <label> | <kname>
Where <kname> matches following regular expression:
^/dev/.*
<kname> need to be a character device and not a symlink for now.
For every rd.luks.key argument udev rule is created. That rule runs
test to check whether matching device contains <key_path>. If it does
it's applied to matching <luks_dev>.
14 years ago
Harald Hoyer
fa7ada31d0
new parameter option names with "rd.*" namespace
...
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
15 years ago
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
15 years ago
Harald Hoyer
8e102a2487
crypt: fix printf
15 years ago
Harald Hoyer
3f62b2637c
crypt: strip "luks-" from rd_LUKS_UUID
15 years ago
Harald Hoyer
e5c6cb2a8c
crypt: remove emergency source of dracut-lib.sh
15 years ago
Amadeusz Żołnowski
2926b5b35d
90crypt: keys on external devices support
...
99base/dracut-lib.sh: new fun.: getoptcomma, foreach_uuid_until
15 years ago
Harald Hoyer
e9ef52b460
crypt: wait for all rd_LUKS_UUID disks to appear
...
Also give a hint in emergency, if one disk is not found.
15 years ago
Harald Hoyer
ecee64bffa
crypt/parse-crypt.sh: fix end label for luks udev rules
15 years ago
Harald Hoyer
013986a8ad
crypt: assemble 70-luks.rules dynamically
15 years ago
Philippe Seewer
2e6b98c7f6
All module scripts should have a shebang
15 years ago
Harald Hoyer
650da7bada
removed initrdargs from parse-*.sh
16 years ago
Harald Hoyer
4578763326
crypt: output info, on rd_NO_LUKS handling
16 years ago
Harald Hoyer
f874872fc2
add command line parameters to specify exact actions for root assembly
...
LVM
rd_NO_LVM
disable LVM detection
rd_LVM_VG=<volume group name>
only activate the volume groups with the given name
crypto LUKS
rd_NO_LUKS
disable crypto LUKS detection
rd_LUKS_UUID=<luks uuid>
only activate the LUKS partitions with the given UUID
MD
rd_NO_MD
disable MD RAID detection
rd_MD_UUID=<md uuid>
only activate the raid sets with the given UUID
DMRAID
rd_NO_DM
disable DM RAID detection
rd_DM_UUID=<dmraid uuid>
only activate the raid sets with the given UUID
16 years ago