[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About badblocks w/dd

From: Daniel da Costa Jotha
Subject: About badblocks w/dd
Date: Fri, 16 Aug 2002 01:43:47 -0300


I running a Debian GNU/Linux 3.0 system with Kernel 2.2 and GNU C
Library 2.2.5.

I don't now exactly if it's a bug.
Also it can be from C Library.

The problem is:
I have a 1.44MB floppy disk that has the 2817th sector bad and its
2816th sector isn't bad; when I try to read this sector with the
# dd if=/dev/fd0h1440 of=/dev/null bs=512 skip=2816 count=1
, it gets an io error. I think it's because dd or the C Library gets
1024 bytes instead of 512 bytes at a time from the device.

The badblocks program, which is not part of fileutils package, has the
same behavior with -b 512, an option that takes 512 bytes per block.

I tested to cp a file that is using this sector from the mounted
diskette (an operation that uses kernel filesystem drivers, which ones
don't use glibc), and I don't encounter any problem.

If there isn't information enough, or if my Brazilian English wasn't
very clear, please tell me.
Thanks very much!

Yahoo! PageBuilder
O super editor para criação de sites: é grátis, fácil e rápido.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]