https://bugzilla.novell.com/show_bug.cgi?id=668524 https://bugzilla.novell.com/show_bug.cgi?id=668524#c0 Summary: wiper.sh is no longer functional, while the program /usr/sbin/rdev is missing Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 6 of 6 Platform: 32bit OS/Version: SuSE Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: netadm@messe.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 To do an Ata-Trim on an SSD often the script /sbin/wiper.sh is used. The scrips uses the command /usr/sbin/rdev to determine the devicename associated with the root filesystem. The problem is already described is the script at Line 294 and following. Fact is, that wiper.sh in 11.4M6 terminates with an errocode, because of missing the rdev command. For examle take a partition table on a ssd with ext4 like /dev/sda1 = swap /dev/sda2 = / /dev/sda3 = /home umount /home in single user mode and try the command wiper.sh /dev/sda3 you will get the error message "/usr/sbin/rdev: needed but not found, aborting" wiper.sh is part of the package hdparm Reproducible: Always Steps to Reproduce: 1. umount <filesystem should be trimmed> 2. wiper.sh <partition name> 3. error message "/usr/sbin/rdev: needed but not found, aborting" Actual Results: error message and script aborts Expected Results: the normal output is the number of block to be trimmed and an info to run the script again with parameter --commit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.