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: [9fans] usb flash drive with ext2
Date: Wed, 11 Jan 2012 10:45:23 +0100	[thread overview]
Message-ID: <CAOEdRO3X1BZpcWiCNoekoP-rJeurafaWyErehrkkGc5eAw3AnA@mail.gmail.com> (raw)

Hello,

I have a usb flash drive.

[ When plugged into my linux, /var/log/messages gives:

Jan 11 10:28:14 redstar kernel: [  388.588091] usb 1-3: new high speed
USB device using ehci_hcd and address 3
Jan 11 10:28:14 redstar kernel: [  388.743813] usb 1-3: New USB device
found, idVendor=058f, idProduct=6387
Jan 11 10:28:14 redstar kernel: [  388.743826] usb 1-3: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Jan 11 10:28:14 redstar kernel: [  388.743837] usb 1-3: Product: Mass Storage
Jan 11 10:28:14 redstar kernel: [  388.743844] usb 1-3: Manufacturer: Generic
Jan 11 10:28:14 redstar kernel: [  388.743851] usb 1-3: SerialNumber: ABC01089
Jan 11 10:28:14 redstar kernel: [  388.746708] scsi4 : usb-storage 1-3:1.0
Jan 11 10:28:15 redstar kernel: [  389.749192] scsi 4:0:0:0:
Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
Jan 11 10:28:15 redstar kernel: [  389.753494] sd 4:0:0:0: Attached
scsi generic sg2 type 0
Jan 11 10:28:15 redstar kernel: [  389.754612] sd 4:0:0:0: [sdb]
8007680 512-byte logical blocks: (4.09 GB/3.81 GiB)
Jan 11 10:28:15 redstar kernel: [  389.755405] sd 4:0:0:0: [sdb] Write
Protect is off
Jan 11 10:28:15 redstar kernel: [  390.388661]  sdb: unknown partition table
Jan 11 10:28:15 redstar kernel: [  390.391887] sd 4:0:0:0: [sdb]
Attached SCSI removable disk
]

It has an ext2 filesystem on itself and can be, in linux, mounted:
mount /dev/sdb mnt
without errors, and works.

What should I do to be able to work with the drive (read/write) in plan9?
(When I plug it into my plan9 machine, I don't see any entry like
/dev/sdUXX, I see 3 entries under /dev/usb/, ep4.0, ep4.1 and ep4.2,
which appear/disappear as I plug/unplug the device. Running usb/disk
claims sth. like 'there is no disk unhandled').

Thank you for suggestions!
Ruda



             reply	other threads:[~2012-01-11  9:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  9:45 Rudolf Sykora [this message]
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
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=CAOEdRO3X1BZpcWiCNoekoP-rJeurafaWyErehrkkGc5eAw3AnA@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).