[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] Should we always do wipefs before mkfs? Discuss ...



https://bugzilla.redhat.com/show_bug.cgi?id=907554

In particular comments 2 & 3.

We could change libguestfs's guestfs_mkfs (internally) so it always
does an implicit wipefs on the filesystem.  wipefs is not too onerous --
in particular I believe it only writes to a few chosen areas of the
disk.  Especially considering that we're about to run mkfs anyway
which for some filesystems writes a lot of blocks.

Thoughts?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]