diff options
author | Richard W.M. Jones | 2012-11-19 16:02:13 +0100 |
---|---|---|
committer | Karel Zak | 2012-11-20 10:01:20 +0100 |
commit | 2968c3fc7388f88b8debe64d61d9785601c16436 (patch) | |
tree | ca1278490003244817a3612d5044764e87f616d0 /README | |
parent | agetty: make --autologin useful with --skip-login (prompt) (diff) | |
download | kernel-qcow2-util-linux-2968c3fc7388f88b8debe64d61d9785601c16436.tar.gz kernel-qcow2-util-linux-2968c3fc7388f88b8debe64d61d9785601c16436.tar.xz kernel-qcow2-util-linux-2968c3fc7388f88b8debe64d61d9785601c16436.zip |
wipefs: Add --force option to force it to erase.
Commit c550f728f724360f99aae0fdb45b0589d9a347e0 added O_EXCL when
opening the thing to erase. This broke the wipefs utility when used
on anything which isn't an unmounted filesystem. eg. If you use it on
a block device containing partitions, then it won't work because the
kernel recognizes the partitions and so thinks the device is in use.
This change adds the --force option which, when used, undoes the above
flag change. However you still have to use --force most of the time
when erasing something that isn't a plain unmounted filesystem.
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions