search for: 19224ec

Displaying 1 result from an estimated 1 matches for "19224ec".

Did you mean: 19224
2012 Feb 16
1
[PATCH] mkfs: wipefs before we mkfs
...re do mkfs, since we can't trust mkfs can remove the filesystem signature absolutely. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/mkfs.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/daemon/mkfs.c b/daemon/mkfs.c index 5475582..19224ec 100644 --- a/daemon/mkfs.c +++ b/daemon/mkfs.c @@ -181,6 +181,15 @@ do_mkfs_opts (const char *fstype, const char *device, int blocksize, ADD_ARG (argv, i, device); ADD_ARG (argv, i, NULL); + /* we wipe the filesystem signatures from device before do mkfs, + * since we can't trust mkf...