Add script to convert ZFS legacy mountpoint

This commit is contained in:
coolneng 2025-04-01 00:49:03 +02:00
parent 9b73bc787b
commit fd17f874d7
Signed by: coolneng
GPG Key ID: 9893DA236405AF57

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Convert ZFS legacy mountpoints to ZFS mounts
zfs list -Ho name | while read -r dataset; do
zfs set mountpoint="/$dataset" "$dataset"
done