summaryrefslogtreecommitdiffstats
path: root/format/format.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix strict-overflow bugs and reenable this warning.Richard W.M. Jones2012-03-131-1/+1
| | | | | | | | | In two places, we were counting things in an array using an 'int'. In theory, the int could overflow, so gcc determines this to be undefined behaviour. The fix is to use size_t or ssize_t instead. (cherry picked from commit d66dd2260c724bdfe57a8595aac37c8e9173cee5)
* format: Remove unused variables.Richard W.M. Jones2012-03-131-1/+1
| | | | (cherry picked from commit e9e0920c00c55894358559bcdbd89d55cbb66d2a)
* New tool: virt-format: erase and make blank disks.Richard W.M. Jones2012-01-181-0/+456
This tool allows you to easily reformat a disk, creating a blank disk with optional partition, LVM and empty filesystem.