![](https://seccdn.libravatar.org/avatar/bcd65ca98f9d97839f15c54575c7edec.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/22/2010 01:50 PM, Greg Freemyer wrote:
But hdparm is only providing base functionality and it needs a script to actually invoke it correctly and cause the appropriate sectors to be discarded. Fortunately Mark Lord (the hdparm maintainer) is now also including "wiper.sh" with hdparm that will scan a filesystem (ext4 and xfs for sure and possibly others) and invoke discard in a very efficient way.
I don't think 11.2 or factory are including that script, but I'd like to see it go in as the opensuse 11.3 methodology for calling discard on a SSD.
That will mean including the script, testing it as part of opensuse, and getting it in the nightly cron scripts or something.
AFAIK these scripts and tools aren't safe to run on a mounted file system. Blocks could be allocated underneath the tool and would end up discarding parts of the file system that are in use. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkvRp/0ACgkQLPWxlyuTD7LanQCfejsIcoqet8nUIfR8PEfzsbaH R88AoJ4K7/fjJDg/U66C2EBamppszBGi =DX+L -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org