]> err.no Git - util-linux/commit
wipefs: new command
authorKarel Zak <kzak@redhat.com>
Mon, 5 Oct 2009 11:14:07 +0000 (13:14 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2009 21:56:23 +0000 (23:56 +0200)
commitc49057d261a63235192fadc3d3b782c5c3a2acbf
tree1b08db9629d91ae260b7a6819ebcd223b92ebb40
parent6728c64649176be06d1ed29d2369266e415e3780
wipefs: new command

 # ./wipefs /dev/sda4
 offset               type
 ----------------------------------------------------------------
 0xff6                swap   [other]
                      UUID:  da6c54ea-77d9-470a-82f1-e793fd5d9131

 0x36                 vfat   [filesystem]
                      UUID:  497F-3013

 # ./wipefs --offset 0x36 /dev/sda4
 8 bytes [46 41 54 31 32 20 20 20] erased at offset 0x36 (vfat)

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/.gitignore
misc-utils/Makefile.am
misc-utils/blkid.8
misc-utils/wipefs.8 [new file with mode: 0644]
misc-utils/wipefs.c [new file with mode: 0644]