root_snapshot_label="live-sn"
old_root_snapshot_label="live-sn"
home_snapshot_label="home-sn"
-persistence_list="live.persist"
+persistence_list="live-persistence.conf"
Arguments ()
{
export FETCH
;;
+ findiso=*)
+ FINDISO="${ARGUMENT#findiso=}"
+ export FINDISO
+ ;;
+
forcepersistencefsck)
FORCEPERSISTENCEFSCK="Yes"
export FORCEPERSISTENCEFSCK
get_custom_mounts ()
{
- # Side-effect: leaves $devices with live.persist mounted in ${rootmnt}/live/persistence
+ # Side-effect: leaves $devices with live-persistence.conf mounted in ${rootmnt}/live/persistence
# Side-effect: prints info to file $custom_mounts
local custom_mounts=${1}
/home source=." > "${include_list}"
fi
}
+
+is_mountpoint ()
+{
+ directory="$1"
+
+ [ $(stat -fc%d:%D "${directory}") != $(stat -fc%d:%D "${directory}/..") ]
+}