(Intentional top post)
Johannes,
openSUSE 11.3 has hdparm 9.28.
I don't know where you got 9.36, but it is not supported for 11.3
It is in factory, but I have not had a chance to test that yet.
Greg
On Wed, Jan 12, 2011 at 11:29 AM, Johannes Nohl
I'd like to ask for feedback. How do you treat your SSD running openSUSE 11.3? By now it is recommended (http://en.opensuse.org/SDB:SSD_discard_%28trim%29_support) to run wiper.sh for discarding free space weekly. This is at least true as long there's no native TRIM-support which is compatible to modern SSDs.
openSUSE 11.3 is shipping with hdparm updated to version 9.36. The script /sbin/wiper.sh is included there. Am I the only one experiencing this error:
wiper.sh: Linux SATA SSD TRIM utility, version 3.1, by Mark Lord. wiper.sh: This tool is DANGEROUS! Please read and understand wiper.sh: /usr/share/doc/packages/hdparm/README.wiper wiper.sh: before going any further. /usr/sbin/rdev: needed but not found, aborting.
How do you deal with it? rdev (as far as I understand) doesn't come with openSUSE anymore. Additionally it does only return the name of the root device "/dev/sdXX".
Possible solution: Add the following two lines at line 260 of /sbin/wiper.sh (in diff):
261,262d260 < elif [ "$RDEV" == "" -a `$GAWK '{if ($2 ~ /^\/$/) print $1}' /etc/mtab` != "" ]; then < rootdev=`$GAWK '{if ($2 ~ /^\/$/) print $1}' /etc/mtab` ## openSUSE
This will make the script reading root device from /etc/mtab.
I only tried to run the script in dry mode. Is there any harm with that solution? Should I go real with it? I guess it's only a minor issue. Btw if it's of any interested: I own a OCZ Vertex 2 Extended.
I tried to bring this upstream. But the bug tracker on hdparm.sourceforge.net doesn't look like very much populated...
Greetings Johannes -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
-- Greg Freemyer Head of EDD Tape Extraction and Processing team Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer CNN/TruTV Aired Forensic Imaging Demo - http://insession.blogs.cnn.com/2010/03/23/how-computer-evidence-gets-retriev... The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org