Date: Wed, 8 Oct 2014 17:04:31 +0200 From: Borja Marcos <borjam@sarenet.es> To: Brooks Davis <brooks@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS API Message-ID: <3A396786-4010-4934-AA12-9DBC87392D99@sarenet.es> In-Reply-To: <20141008150054.GD25906@spindle.one-eyed-alien.net> References: <1422065A4E115F409E22C1EC9EDAFBA46044E4@sofdc01exc02.postbank.bg> <1422065A4E115F409E22C1EC9EDAFBA4604B35@sofdc01exc02.postbank.bg> <757ED2D6-0585-43C1-B827-FB349045246A@pingpong.net> <1422065A4E115F409E22C1EC9EDAFBA4604B8D@sofdc01exc02.postbank.bg> <5433F7B5.8090604@bytecamp.net> <7BD1DA91-6667-4183-B4C2-297FA1602703@sarenet.es> <20141008150054.GD25906@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 8, 2014, at 5:00 PM, Brooks Davis wrote: It depends on your goals. Relying on scripts running commands and parsing their output is not what I would call sound software design. So much can go wrong. If you are just putting together some tools do to some light work it's fine, though. It's worth noting that the ZFS command line tools are explicitly designed to enable relible scripting if you use arguments like -H (no headers) and -o (extract specific columns). I talked about this a bit at the end of this presentation: http://2011.eurobsdcon.org/papers/davis/system-mgmt-zfs-notes.pdf I know, again it's not exactly the optimal way to do it. Call me old-fashioned :) Borja. -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlQ1UoQACgkQULpVo4XWgJ8tggCeN9nKboZm3jTkxIDXaQscY7EO mgoAn1OIxQVK5LrzZL7kj7hTvuBwitkA =30bv -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A396786-4010-4934-AA12-9DBC87392D99>