Harald Hoyer
cb08b0132f
iscsi/module-setup.sh: fix host-only/mount checks
13 years ago
Harald Hoyer
eef7649e71
merge "cleanup" and "pre-pivot-cleanup" hooks
13 years ago
Dave Young
1bd76bf981
move cleanup scripts to pre-pivot-cleanup hook
...
below cleanup scripts is moved:
40network: kill-dhclient.sh
90crypt: crypt-cleanup.sh
90multipath: multipathd-stop.sh
95iscsi: cleanup-iscsi.sh
95nfs: nfsroot-cleanup.sh
Signed-off-by: Dave Young <dyoung@redhat.com>
13 years ago
Harald Hoyer
b48f5e847c
iscsi: renamed rd.iscsi_param to rd.iscsi.param
13 years ago
Harald Hoyer
8d51acbbe9
iscsi: add rd.iscsi_param
...
rd.iscsi_param is directly handed over to iscsistart as a --param option
13 years ago
Harald Hoyer
ac3f1c6e87
add iscsi interface binding
...
iscsi connections can now be bound to <iscsi_iface_name> and <netdev_name>
13 years ago
Harald Hoyer
f8208d682f
95iscsi/iscsiroot.sh: fix for empty $root
13 years ago
Harald Hoyer
2c0317213e
get rid of /tmp/root.info
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
13 years ago
Harald Hoyer
2a3faa2df9
95iscsi: fix "root=iscsi:...." case
...
install udev rules and wait for /dev/root
13 years ago
Harald Hoyer
fb67e4aa36
shutdown on demand
...
Do not save and restore the initramfs, but instead, just unpack the
default initramfs for shutdown on shutdown.
13 years ago
Harald Hoyer
e684ee786a
fix kernel modules search for s390
...
forgot last ; in {}
13 years ago
Harald Hoyer
c416b1de5a
fix kernel modules search for s390
...
find_kernel_modules_by_path only takes one parameter
fixes c254ac796f
and 4fcd5409e0
13 years ago
Cong Wang
7f347723d8
let some modules to respect $mount_needs
...
Cc: Harald Hoyer <harald@redhat.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
13 years ago
Harald Hoyer
4fcd5409e0
iscsi/multipath: also search in drivers/s390/scsi
13 years ago
James Buren
7fffc9f11f
add xz compression for kernel modules
13 years ago
Hermann Gausterer
0de93fa1da
typo fix
...
Signed-off-by: Hermann Gausterer <git-dracut-2012@mrq1.org>
13 years ago
Harald Hoyer
43f2185221
95iscsi/iscsiroot: unset used variables before starting
...
If iscsiroot is called multiple times, then some variables can hold the
values of a previous call, so unset all variables before using them.
https://bugzilla.redhat.com/show_bug.cgi?id=752066
13 years ago
Harald Hoyer
3fa9d4d717
95iscsi: add iscsiuio
...
install iscsiuio
start iscsiuio
stop iscsiuio before switching root
13 years ago
Harald Hoyer
ecf9496d17
95iscsi/parse-iscsiroot.sh: force load a lot of kernel modules
...
A lot of iSCSI driver are not autoloaded, so we have to manually
force load them.
13 years ago
Harald Hoyer
50acb19719
95iscsi/iscsiroot: use initiator-name from ibft firmware if unset
...
If initiator-name is unset, try to read it from the ibft firmware.
13 years ago
Harald Hoyer
b0692d0311
add wait_for_dev() and wait_for_mount()
13 years ago
John Reiser
881eda695e
instmods: get filenames from stdin if no args; use it
...
Use bash "[[ string =~ pattern ]]" instead of "egrep -q".
Replace control-dominated serial fondling
for var in $(proc1); do proc2 var; done
with data-dominated parallel pipeline
proc1 | while read var; do proc2 var; done
Together this is a large savings.
[harald@redhat.com: fixed network kernel module filter]
14 years ago
Harald Hoyer
4073c8159c
add filter_kernel_modules_by_path() to speed up module search
14 years ago
Harald Hoyer
5e802b113a
removed sourceforge references
14 years ago
Harald Hoyer
29b10e65b1
dracut-functions: make local vars local and prefix with "_"
14 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
7c18802966
iscsi: find iscsi kernel modules by symbol names
14 years ago
Harald Hoyer
3fc621ee45
iscsi/mount-lun.sh: use NEWROOT
14 years ago
Harald Hoyer
fb59f4c967
get rid of absolute PATHs
14 years ago
Harald Hoyer
1cd1da13da
iscsi: add additional hardcoded modules
...
https://bugzilla.redhat.com/show_bug.cgi?id=692781
https://bugzilla.redhat.com/show_bug.cgi?id=689694
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
c9f1e3d1f4
check for getarg() function before sourcing dracut-lib.sh
...
make use of "type getarg" to check, if we really need to source
dracut-lib.sh
14 years ago
Harald Hoyer
19f3a804e7
s#/dev/.run#/run#g
...
Move things where they really belong to.
14 years ago
Harald Hoyer
b177e9133e
move all /dev/.initramfs to /dev/.run/initramfs
...
We want all "/var/run" information to live in /dev/.run, until the real
root is mounted.
Therefore we mount a tmpfs on /dev/.run, which can/will be bind/move mounted
on /var/run later on.
14 years ago
Harald Hoyer
71df3c4329
renamed module-info.sh to module-setup.sh
14 years ago
Harald Hoyer
95d2dabc25
replaced check,install,installkernel with module-info.sh
14 years ago
Harald Hoyer
b43f4df540
iscsi: changed parameters to new rd.iscsi style
14 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
Amadeusz Żołnowski
f3af7bd66b
use 'type' built-in instead of external cmd 'which' in every Bash script
15 years ago
Harald Hoyer
169f167151
iscsi: add support for multiple netroot=iscsi:
...
The whole netdisk concept should be reviewed though!
15 years ago
Harald Hoyer
9232cab470
fix IFS restoring
15 years ago
Harald Hoyer
c98bcec89c
add preliminary IPv6 support
15 years ago
Philippe Seewer
2e6b98c7f6
All module scripts should have a shebang
15 years ago
Harald Hoyer
a0e44f97bd
iscsi/iscsiroot: remove redirection on rdnetdebug
...
iscsiroot is now executed in the initqueue
16 years ago
Harald Hoyer
a52586e8ea
network: break udevsettle early
16 years ago
Harald Hoyer
5a8d8dfbb6
switch modules to initqueue-finished
16 years ago
Victor Lowther
054e038512
Add accurate --hostonly checking for 95iscsi
16 years ago
Harald Hoyer
9babe97e6f
iscsiroot: check real root if it is block:...
16 years ago
Hans de Goede
766968bb6f
Implement extended iscsi: rfc4173 syntax which allows specifying credentials
...
As discussed before, it would be nice to be able to specify
the iscsi chap credentials inside the netroot=iscsi:.....
syntax, this patch implements this in a backwards compatible way, like
this:
iscsi:username:pass@127.0.0.1::3260::iqn.2009-01.com.example:testdisk
iscsi:username:pass:reverse:pass@127.0.0.1::3260::iqn.2009-01.com.example:test
The only downside is that the backwards compatibility is broken when there
is an @ in the iscsi target name (very unlikely), that can still be used,
but only like this:
iscsi:@192.168.1.100::3260::iqn.2009-01.com.example:testdi@sk
16 years ago