Re: badblocks: No such file or directory while trying to determine device size
On Fri, 17 Sep 2010 03:18:19 +0000, T o n g wrote:
> tdev=sdb5
>
> $ badblocks -p 99 -c 90000 -wv /dev/$tdev badblocks: No such file or
> directory while trying to determine device size
>
> . . . was doing
>
> tdev=sdb and/or tdev=sdb1, and they both went well.
>
> $ apt-cache policy e2fsprogs
> e2fsprogs:
> Installed: 1.41.3-1
> Candidate: 1.41.3-1
> Version table:
> *** 1.41.3-1 0
> 500 http://cdn.debian.net lenny/main Packages 100
> /var/lib/dpkg/status
that was lenny, rebooted into squeeze and all are fine:
tdev=sdb5
$ badbloctks -p 99 -c 90000 -wv /dev/$tdev
Checking for bad blocks in read-write mode
>From block 0 to 1372971126
Testing with pattern 0xaa:
$ apt-cache policy e2fsprogs
e2fsprogs:
Installed: 1.41.11-1
Candidate: 1.41.12-2
Version table:
1.41.12-2 0
360 http://cdn.debian.net testing/main Packages
50 http://cdn.debian.net unstable/main Packages
*** 1.41.11-1 0
100 /var/lib/dpkg/status
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: