Add '-s' option to simply display the number of bytes available for the rdroot
authorkrw <krw@openbsd.org>
Mon, 24 Apr 2023 14:06:01 +0000 (14:06 +0000)
committerkrw <krw@openbsd.org>
Mon, 24 Apr 2023 14:06:01 +0000 (14:06 +0000)
commita17b2361ce87dfbf3d5e3df72c4d77d0df1d35eb
tree1b2c1495bcd0f38db904c678be670b1d28aa7e98
parent36d351c1f346e65c5f84504299ade209abdeb1cf
Add '-s' option to simply display the number of bytes available for the rdroot
filesystem in the specified kernel.

No behaviour change to existing uses of rdsetroot.

Improved option handling & ok kn@
usr.sbin/rdsetroot/rdsetroot.8
usr.sbin/rdsetroot/rdsetroot.c