9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usb flash drive with ext2
@ 2012-01-11  9:45 Rudolf Sykora
  2012-01-11 10:06 ` Richard Miller
  0 siblings, 1 reply; 11+ messages in thread
From: Rudolf Sykora @ 2012-01-11  9:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-01-12 12:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11  9:45 [9fans] usb flash drive with ext2 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
2012-01-12 11:25             ` Richard Miller
2012-01-12 11:30               ` Francisco J Ballesteros
2012-01-12 12:05                 ` Richard Miller

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).