Hello Trent W. Buck,

* Trent W. Buck <trentb...@gmail.com> [211008 04:36]:
> Package: util-linux
> Version: 2.36.1-8
> Severity: wishlist
> File: /sbin/wipefs
> 
> wipefs is not recursive, which leads to this unexpected behaviour:
[..]
> If wipefs was recursive, this sort of thing wouldn't happen.
> I guess libblkid already provides the necessary functionality, and
> zeroing out a few extra blocks is a small I/O cost for the large gain in 
> "principle of least surprise".
> 
> The manpage implicitly suggests to work around this by doing "wipefs 
> /dev/vdb*".
> This works if you are root and the device is visible to the kernel, as above.
> However you are working "rootless" and thus cannot e.g. "sudo kpartx -a", you 
> can't do that.
> You could pass offsets to "wipefs --offset=$((1024*1024)) /tmp/dummy.img", 
> but that's an error-prone pain.

Thank you for your bug report. However I am not sure what exactly
you are asking for. If its a new feature you are asking for, or a
design change, please discuss it on the upstream mailing list:

      E-MAIL:  util-li...@vger.kernel.org
      URL:     http://vger.kernel.org/vger-lists.html#util-linux
      ARCHIVE: https://lore.kernel.org/util-linux/

I imagine upstream or other upstream contributors will have ideas
then.

Please reply with a link to the upstream discussion once this has
been discussed.

Thanks,
Chris

Reply via email to