Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2021 14:57:35 +1100
From:      Adam Adam <adam12345678901234567@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   /sbin/zfs holds on 13.0-RELEASE
Message-ID:  <CAB6zqwLfGPB5TMbm%2BzxuQ-5oLybXJu9hh_zGzfaf1iEgACHGpQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
It seems that with FreeBSD 13's transition to OpenZFS, some of the
functionality of the zfs holds subcommand has been lost.

The following options work on 12.2-RELEASE
zfs holds [-Hp] [-r|-d depth] <filesystem|volume|snapshot> ...

However on 13.0-RELEASE only the following are available
zfs holds [-rH] <snapshot> ...

Is there any alternative way to recursively list all of the holds for
a dataset on FreeBSD 13?
Also the -p option was useful for calling the command from scripts.

P.S. When the man page for the zfs command was split up, the page for
zfs-holds has been left out. Therefore the only way to see the syntax
is zfs -?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB6zqwLfGPB5TMbm%2BzxuQ-5oLybXJu9hh_zGzfaf1iEgACHGpQ>