X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=d82efa59a566983db6ab77dcfcecbf21a75a26e4;hb=61f8495c75c261f032fcb94a77b9b09a8f78fdbf;hp=6777f99772e6dc53a1f5599e19bc3d12648eeed7;hpb=12d737583ebdf94f9b43e9dc1bd447774789dc19;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index 6777f99..d82efa5 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -187,7 +187,11 @@ setup_loop () local encryption=${5} local readonly=${6} - modprobe -q -b "${module}" + # the output of setup_loop is evaluated in other functions, + # modprobe leaks kernel options like "libata.dma=0" + # as "options libata dma=0" on stdout, causing serious + # problems therefor, so instead always avoid output to stdout + modprobe -q -b "${module}" 1>/dev/null udevadm settle