Bug 204859 - freebsd-update: "Directory is not on a persistent filesystem: "
Summary: freebsd-update: "Directory is not on a persistent filesystem: "
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-28 08:30 UTC by Victor Sudakov
Modified: 2016-12-20 21:55 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2015-11-28 08:30:33 UTC
This check 

        case `df -T ${WORKDIR}` in */dev/md[0-9]* | *tmpfs*)
                echo -n "`basename $0`: "
                echo -n "${_WORKDIR_bad2}"
                echo ${WORKDIR}
                exit 1
                ;;
        esac

is IMHO not necessary and even harmful. It prevents from updating a chrooted system mounted from a disk image. Could we reconsider and remove it?