On 2011-08-12 11:01, Ric Wheeler wrote:
Lukas has a more generic bulk tool that should do the job and has the advantage that it does not have to fill the file system first (it can lock regions and do its work).
Any pointers to that? Thanks!
Note that discard is not just for physical devices like SCSI or ATA, it is also useful for "software" stacks like various device mapper targets, virtual block devices, etc so we should be keeping the abstraction at a high level for our tooling.
I agree, but wiper.sh has been the first such tool and is widespread and well-known. I'm not aware of alternatives using the generic fstrim command (which is still missing on some major distributions) or FITRIM ioctl. -- Prof. Dr. Klaus Kusche Private address: Rainstraße 9/1, 88316 Isny, Germany +49 7562 6211377 Klaus.Kusche@xxxxxxxxxxxxxxx http://www.computerix.info Office address: NTA Isny gGmbH, Seidenstraße 12-35, 88316 Isny, Germany +49 7562 9707 36 kusche@xxxxxxxxxxx http://www.nta-isny.de -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html