From: W. Trevor King Date: Wed, 24 Mar 2010 11:38:04 +0000 (-0400) Subject: Don't force workdir to be directly mounted in sysresccd-custom X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4356dd47425046051a9a7c9123cdea936d1af0d3;p=systemrescuecd.git Don't force workdir to be directly mounted in sysresccd-custom Old implementation required workdir to be listed in /proc/mounts, which ruled out, for example, /tmp/some/new/directory. If the directory is not mounted, we will find out soon enough... --- diff --git a/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom b/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom index 7ce4186..f765335 100755 --- a/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom +++ b/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom @@ -275,14 +275,6 @@ then exit 1 fi -if grep -q " ${WORKDIR} " /proc/mounts -then - echo "${WORKDIR} is mounted -> ok" -else - help_readman "${PROG}: ${WORKDIR} is not mounted. Cannot continue." - exit 1 -fi - case "${COMMAND}" in extract) do_extract_check "$@"