Don't force workdir to be directly mounted in sysresccd-custom
authorW. Trevor King <wking@drexel.edu>
Wed, 24 Mar 2010 11:38:04 +0000 (07:38 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 24 Mar 2010 11:38:04 +0000 (07:38 -0400)
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...

portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom

index 7ce4186521e11133e16bb45c23d5d87e9cd83b95..f765335dd343bb576b16cef53ff73f084801e409 100755 (executable)
@@ -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 "$@"