]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/blkdiscard.8
blkdiscard: add new command
authorLukas Czerner <lczerner@redhat.com>
Wed, 12 Sep 2012 21:49:15 +0000 (17:49 -0400)
committerKarel Zak <kzak@redhat.com>
Thu, 27 Sep 2012 23:12:09 +0000 (01:12 +0200)
commitd964b669c8d8675af1b7d7e1742ee8b68dc285ef
tree007921b4702a78e7a8da4b34e5b9234500928fcb
parentfce05e9617b72555863153aac9950a844cca573f
blkdiscard: add new command

blkdiscard is used to discard device sectors. This is useful for
solid-state drivers (SSDs) and thinly-provisioned storage. Unlike
fstrim this command is used directly on the block device.

blkkdiscard uses BLKDISCARD ioctl or BLKSECDISCARD ioctl for the secure
discard.

All data in the discarded region on the device will be lost!

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
.gitignore
sys-utils/Makemodule.am
sys-utils/blkdiscard.8 [new file with mode: 0644]
sys-utils/blkdiscard.c [new file with mode: 0644]