[Bug 668524] New: wiper.sh is no longer functional, while the program /usr/sbin/rdev is missing
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.
https://bugzilla.novell.com/show_bug.cgi?id=668524 https://bugzilla.novell.com/show_bug.cgi?id=668524#c1 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Kernel |Basesystem AssignedTo|kernel-maintainers@forge.pr |puzel@novell.com |ovo.novell.com | --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2011-02-07 18:58:55 UTC --- This is a util-linux issue. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=668524 https://bugzilla.novell.com/show_bug.cgi?id=668524#c2 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Petr Uzel <puzel@novell.com> 2011-02-08 08:22:47 UTC --- Thomas, please make sure that you have 'zypper dup'ped to latest Factory - this should be already fixed in M6 (by hdparm-9.37). # rpm -q --changelog | head * Wed Jan 26 2011 puzel@novell.com - update to hdparm-9.37 (bnc#664825) - handle raid1 start_lba values, and show -1 for indeterminte raid start_lba values - abort --fibmap when start_lba is indeterminate - updated wiper.sh to fix a kink with hfsplus filesystems - updated wiper.sh to no longer rely on the obsolete "rdev" command *** This bug has been marked as a duplicate of bug 664825 *** http://bugzilla.novell.com/show_bug.cgi?id=664825 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=668524 https://bugzilla.novell.com/show_bug.cgi?id=668524#c3 --- Comment #3 from Petr Uzel <puzel@novell.com> 2011-02-09 06:43:52 UTC --- Correction - 9.37 is not yet in M6. Should appear in next Milestone/Beta. -- 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.
participants (1)
-
bugzilla_noreply@novell.com