You are not logged in.

#1 2010-07-10 07:01:17

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

No /sbin/rdev in util-linux-ng-2.18-2

Aloha,

I upgraded to util-linux-ng-2.18-2 but it has no /sbin/rdev utility. I need that for the wiper.sh TRIM utility for my SSD. I'm guessing this is a upstream thing, but maybe not.

As a temporary work around I just installed the aur/util-linux-ng-aes 2.17.2-2 package and #commented out all the loop-aes stuff. It seems to be working fine, but would this cause problems? Like is the new package "needed" for the new Kernel or anything?

Would it be better to install the new package and then just coppy the /sbin/rdev from the old package into /sbin or is it safer to just use the old package as a whole.

Owe and I am on x86_64

Last edited by hunterthomson (2010-07-10 07:03:56)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#2 2010-07-10 07:42:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: No /sbin/rdev in util-linux-ng-2.18-2

It's upstream - rdev is no longer part of util-linux-ng.

IMO, rdev from 2.17 with the new 2.18 package is the least worst kludge here, but whoever maintains wiper.sh needs to find a solution that doesn't use rdev. The rdev man page itself describes it as an "ancient hack" and says using it is "strongly discouraged".

http://linux.die.net/man/8/rdev

Offline

Board footer

Powered by FluxBB