Commit Graph

12 Commits (3b51f4f30bc84130bdea8d50003a98538504fb81)

Author SHA1 Message Date
Harald Hoyer 9719024132 Defer mount to the real mount loop
Udev rules set a /dev/root symlink to the real root and add
a mount script to /mount/. This enables the proper use of pre-mount
scripts and prevents mount being killed by a udev timeout.
2009-07-03 12:38:43 +02:00
Harald Hoyer 4ce1991856 let iSCSI try to mount the complete LUN specified 2009-07-02 11:47:27 +02:00
Harald Hoyer b8f39ef152 renamed dracut-lib to dracut-lib.sh 2009-06-19 13:00:09 +02:00
Harald Hoyer 064b6ea92d make iSCSI boot with root=dhcp and mount partitions labeled with "ROOT"
or "/"
2009-06-19 13:00:00 +02:00
Philippe Seewer 50e7ff76de netroot: Introduce detailed cmdline parsers
This introduces detailed cmdline parsing, warning or aborting if the
cmdline does not contain arguments according to the spec.

Makeing sure the parsers don't just call getarg for netroot et al,
allows their reuse inside netroot to analyse dhcp root-path as well.
Hence we can get rid of the current netroot hooks. The hook itself stays
in order to add further modules which should run before netroot handlers
are called.

This has one drawback: nfsroot needs some more logic to handle nfs
specific data inside dhcp root-path.

The parsers have been writting according to current discussions about
cmdline arguments. This lead to the "discovery" that some test-cases
violate the spec. These tests have not been removed, but change to
"must fail".
2009-06-17 08:37:40 +02:00
Philippe Seewer 580bb5417c netroot and others: Style changes
Multiline conditionals ( && { ... } ) should use if, function
declarations go to the top of the file, add/update comments and remove
some unnecessary clutter.
2009-06-17 08:37:39 +02:00
Philippe Seewer 268de90f82 netroot handlers: Add argument checking
This is probably not necessary, but paranoia dictates that the actual
netroot handlers should check if all three required arguments (netif,
root, NEWROOT) are there and useable.
2009-06-17 08:37:39 +02:00
Harald Hoyer 87ce134e08 preserve the original root= variable 2009-06-02 18:01:52 +02:00
Harald Hoyer 92bfa4c6e3 use iscsi-iname to generate the initiator name, if not specified 2009-06-02 16:10:36 +02:00
Harald Hoyer 61537c7de6 override commandline/conf options by root_path 2009-06-02 16:10:04 +02:00
Harald Hoyer 34cb684936 removed debug code 2009-06-02 13:32:11 +02:00
Harald Hoyer ac4ded9128 add iSCSI module 2009-06-02 13:22:29 +02:00