lkml.org 
[lkml]   [2002]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Linux-usb-users] Re: Problems accessing USB Mass Storage


    Rogier Wolff wrote:
    > On Tue, Sep 17, 2002 at 10:13:13PM +0100, Mark C wrote:

    > When dd is told to skip a certain number of input blocks it doesn't
    > seek past them, but reads them and then discards them. Thus if you're
    > not supposed to read sectors 1-100 then this will not work.

    Fair enough. I, and the others though it did a seek.


    > Try the following program:
    <snip>
    > with the command:
    >
    > dd if=/dev/sda of=firstpart
    >
    > (Get the partition table)
    >
    > (seek 0x100000;dd of=secondpart) < /dev/sda
    >
    > Get everything beyond 1Mb. If this works, then we have to figure out
    > how low we can make the "0x100000" number to get all of the data.
    >
    > Hypothesis: The partition table specifies that the data starts
    > on sector 200, and they didn't implement sectors 1-199.....

    Where did the sector 200 come from?
    Something in the dmesg output from before?
    (I don't really grok SCSI or USB at that level :( )

    > Cheap basterds.

    Agree:)

    -Thomas

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:0.019 / U:1.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site