zfs set allows only one dataset property to be set at a time
Using 'zfs set' to modify multiple properties is clumsy, since it only allows one property to be specified per invocation. Since you have to wait for the next snapshot after each invocation, this can be pretty slow when setting a number of properties.
It would be nicer if 'zfs set' mirrored the behavior of 'zfs get' and supported taking a list of properties instead of just one, setting them in one ioctl call.
Updated by Electric Monk over 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 30925561c223021e91d15899cbe75f80e54d8889 Author: Chris Williamson <firstname.lastname@example.org> Date: 2015-04-08T18:47:02.000Z 5745 zfs set allows only one dataset property to be set at a time Reviewed by: Christopher Siden <email@example.com> Reviewed by: George Wilson <firstname.lastname@example.org> Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: Bayard Bell <firstname.lastname@example.org> Reviewed by: Richard PALO <richard@NetBSD.org> Reviewed by: Steven Hartland <email@example.com> Approved by: Rich Lowe <firstname.lastname@example.org>