FreeBSD UFS/ZFS Snapshot Management Environment

Открыл для себя очередную крутую штуку, FreeBSD UFS/ZFS Snapshot Management Environment. В портах можно найти в sysutils/freebsd-snapshot . Утилита позволяет манипулировать UFS2 снапшотами не сложнее, чем это делается в ZFS:

# snapshot list /var
Filesystem          User   User%     Snap   Snap%  Snapshot
# snapshot make -g4 /var:test
# snapshot list /var
Filesystem          User   User%     Snap   Snap%  Snapshot
/var              1172MB   14.8%      4MB    0.1%  test.0
# snapshot make -g4 /var:test
# snapshot list /var
Filesystem          User   User%     Snap   Snap%  Snapshot
/var              1176MB   14.8%      4MB    0.1%  test.0
/var              1176MB   14.8%      4MB    0.1%  test.1
# snapshot make -g4 /var:test
# snapshot list /var
Filesystem          User   User%     Snap   Snap%  Snapshot
/var              1181MB   14.9%      4MB    0.1%  test.0
/var              1181MB   14.9%      4MB    0.1%  test.1
/var              1181MB   14.9%      4MB    0.1%  test.2
# snapshot make -g4 /var:test
# snapshot list /var
Filesystem          User   User%     Snap   Snap%  Snapshot
/var              1186MB   15.0%      4MB    0.1%  test.0
/var              1186MB   15.0%      4MB    0.1%  test.1
/var              1186MB   15.0%      4MB    0.1%  test.2
/var              1186MB   15.0%      4MB    0.1%  test.3
# snapshot make -g4 /var:test
# snapshot list /var
Filesystem          User   User%     Snap   Snap%  Snapshot
/var              1186MB   15.0%      4MB    0.1%  test.0
/var              1186MB   15.0%      4MB    0.1%  test.1
/var              1186MB   15.0%      4MB    0.1%  test.2
/var              1186MB   15.0%      4MB    0.1%  test.3
# snapshot mount /var:test.2 /mnt
# ls /mnt
.snap      crash      games      lost+found obj        rwho
account    cron       heimdal    mail       opkg       spool
at         db         lib        msgs       preserve   tmp
backups    empty      log        named      run        yp
# snapshot umount /mnt
# snapshot make -g0 /var:test
# snapshot list /var
Filesystem          User   User%     Snap   Snap%  Snapshot