-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
A great feature would be to have sync-be
work even when the current BE is mounted somewhere else then /
. This is the case for example if the BE gets mounted from a LiveCD for recovery purposes etc or just after a fresh install.
Maybe it would be enough to have an option that sets ROOTFS
to something else:
Lines 90 to 95 in 8d6e6e0
# use the dataset that is being booted from | |
ROOTFS=`mount -p | awk '$2 == "/" && $3 == "zfs" { print $1 }'` | |
if [ -z "$ROOTFS" ]; then | |
echo "error: zfs is not on root" | |
exit 1 | |
fi |
If this is something you would consider useful, I'd be glad to prepare a PR.
Cheers,
Filias
Metadata
Metadata
Assignees
Labels
No labels