From 990480f58dde1722f8ab87514b4443c1ea418b85 Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Sat, 27 Sep 2008 11:18:15 +0200 Subject: Search for partition labels only (Closes: #486469). * Added new way to call "persistent" at boot: "persistent=nofiles" will skip the scan for image files in block device and it will only search for partition labels. --- scripts/live-helpers | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts/live-helpers') 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}" -- cgit v1.2.3