9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] usb flash drive with ext2
Date: Thu, 12 Jan 2012 11:40:43 +0100	[thread overview]
Message-ID: <CAOEdRO3hF29rzP857EdEFSBfHUvtXQ2rt3msnZhF0U+HGG3z3g@mail.gmail.com> (raw)
In-Reply-To: <be9468d78b658d777a510b906b0b417d@hamnavoe.com>

On 12 January 2012 11:26, Richard Miller <9fans@hamnavoe.com> wrote:
>>> Try 'dd -if /dev/sdU0.0/data -of /dev/null' to see if usb driver
>>> is having trouble reading the device.
>>
>> 0+1 records in
>> 0+1 records out
>>
>> The last bit is strange, isn't it?
>
> Try 'cat /dev/sdU0.0/ctl' to see if usb/disk has got the
> geometry wrong.

/dev/usb/ep4.0 lun 0: inquiry Generic Flash Disk      8.07 geometry 8007680 512

linux' fdisk says:

Command (m for help): p

Disk /dev/sdb: 4099 MB, 4099932160 bytes
127 heads, 62 sectors/track, 1016 cylinders, total 8007680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xde308271

   Device Boot      Start         End      Blocks   Id  System

Command (m for help):

... so I'd think this is ok ...

Ruda



  reply	other threads:[~2012-01-12 10:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  9:45 Rudolf Sykora
2012-01-11 10:06 ` Richard Miller
2012-01-11 10:15   ` Rudolf Sykora
2012-01-12  9:44   ` Rudolf Sykora
2012-01-12 10:07     ` Richard Miller
2012-01-12 10:21       ` Rudolf Sykora
2012-01-12 10:26         ` Richard Miller
2012-01-12 10:40           ` Rudolf Sykora [this message]
2012-01-12 11:25             ` Richard Miller
2012-01-12 11:30               ` Francisco J Ballesteros
2012-01-12 12:05                 ` Richard Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOEdRO3hF29rzP857EdEFSBfHUvtXQ2rt3msnZhF0U+HGG3z3g@mail.gmail.com \
    --to=rudolf.sykora@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).