9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] how to connect an usb drive
@ 2011-10-24  8:09 Rudolf Sykora
  2011-10-24  8:26 ` Gorka Guardiola
  0 siblings, 1 reply; 2+ messages in thread
From: Rudolf Sykora @ 2011-10-24  8:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

please, I have an external harddrive which I use in linux and there,
in dmesg, I see this

usb 1-6: new high speed USB device using ehci_hcd and address 3
usb 1-6: New USB device found, idVendor=04fc, idProduct=0c15
usb 1-6: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 1-6: Product: USB to Serial-ATA bridge
usb 1-6: Manufacturer: Sunplus Technology Inc.
usb 1-6: SerialNumber: WDC WD1600     WD-WXE507362861
usb 1-6: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
hub 3-0:1.0: over-current change on port 1
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access     WDC WD16 00BEVS-00RST0         PQ: 0 ANSI: 2
sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda3
sd 2:0:0:0: [sda] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete

Should I be able to read this drive from plan9?
I had a few attempts which were unsuccessful. Can you write a few
commands which should do?

Thanks
Ruda



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

* Re: [9fans] how to connect an usb drive
  2011-10-24  8:09 [9fans] how to connect an usb drive Rudolf Sykora
@ 2011-10-24  8:26 ` Gorka Guardiola
  0 siblings, 0 replies; 2+ messages in thread
From: Gorka Guardiola @ 2011-10-24  8:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

make sure you see it:
usb/probe

ls /dev/sdU*
if it is not there (your usbd does not have disk support built in) run
usb/disk

if it is a fat, you can run

usbfat:

to directly mount it
if not, take a look at it (it is a script)
and usb(4) to understand how things work.

G.



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

end of thread, other threads:[~2011-10-24  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-24  8:09 [9fans] how to connect an usb drive Rudolf Sykora
2011-10-24  8:26 ` Gorka Guardiola

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