X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=a935001509056e9775428d098953e06216e59a8a;hb=990480f58dde1722f8ab87514b4443c1ea418b85;hp=44bb12a164c26114aeedc6407d33bead68b7c4a8;hpb=7e61a38fb7e7c6c2fdcb0b01c526b6fefc3a87e6;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index 44bb12a..a935001 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -313,6 +313,13 @@ find_cow_device () return fi + if [ "${PERSISTENT}" = "nofiles" ] + then + # do not mount the device to find for image files + # just skip this + break + fi + case "$(get_fstype ${devname})" in vfat|ext2|ext3|jffs2) mkdir -p "${cow_backing}"