<div dir="ltr">Thank you for the explanation!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 8, 2021 at 4:52 AM Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Dec 07, 2021 at 12:18:30PM -0600, Brady Pratt wrote:<br>
> [    1.998352] >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default<br>
> is ufstype=old<br>
<br>
The problem is this one and it's not easily resolvable.  UFS isn't a<br>
single filesystem type, it's a clade of filesystems which all evolved<br>
from a common ancestor through the various BSDs, but crucially have<br>
the same magic number (so no way to differentiate them).  For *BSD<br>
itself this isn't a problem since the same OS creates and consumes the<br>
filesystem.  But it's a problem for Linux which must be told which<br>
filesystem type to mount - and get it wrong, as you can see above, Bad<br>
Things happen.<br>
<br>
So it's not really possible to resolve this in libguestfs as we don't<br>
know the filesystem type until after we have mounted and inspected it.<br>
<br>
Rich.<br>
<br>
-- <br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
virt-builder quickly builds VMs from scratch<br>
<a href="http://libguestfs.org/virt-builder.1.html" rel="noreferrer" target="_blank">http://libguestfs.org/virt-builder.1.html</a><br>
<br>
</blockquote></div>