/[gentoo]/xml/htdocs/doc/en/usb-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/usb-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v 1.20 2011/09/04 17:53:40 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v 1.21 2011/12/26 15:22:40 swift Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide> 5<guide>
6<title>Gentoo Linux USB Guide</title> 6<title>Gentoo Linux USB Guide</title>
7 7
16 16
17<!-- The content of this document is licensed under the CC-BY-SA license --> 17<!-- The content of this document is licensed under the CC-BY-SA license -->
18<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 18<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
19<license/> 19<license/>
20 20
21<version>1.15</version> 21<version>2</version>
22<date>2009-11-29</date> 22<date>2011-12-26</date>
23 23
24<chapter> 24<chapter>
25<title>Introduction</title> 25<title>Introduction</title>
26<section> 26<section>
27<title>What is USB?</title> 27<title>What is USB?</title>
293 293
294<comment>(Now the device information including model number is retrieved)</comment> 294<comment>(Now the device information including model number is retrieved)</comment>
295usb-storage: waiting for device to settle before scanning 295usb-storage: waiting for device to settle before scanning
296 Vendor: JetFlash Model: TS512MJF2A Rev: 1.00 296 Vendor: JetFlash Model: TS512MJF2A Rev: 1.00
297 Type: Direct-Access ANSI SCSI revision: 02 297 Type: Direct-Access ANSI SCSI revision: 02
298SCSI device sda: 1003600 512-byte hdwr sectors (514 MB) 298SCSI device sdb: 1003600 512-byte hdwr sectors (514 MB)
299 299
300<comment>(The write-protect sense is EXPERIMENTAL code in the later kernels)</comment> 300<comment>(The write-protect sense is EXPERIMENTAL code in the later kernels)</comment>
301sda: Write Protect is off 301sdb: Write Protect is off
302sda: Mode Sense: 0b 00 00 08 302sdb: Mode Sense: 0b 00 00 08
303sda: assuming drive cache: write through 303sdb: assuming drive cache: write through
304SCSI device sda: 1003600 512-byte hdwr sectors (514 MB) 304SCSI device sdb: 1003600 512-byte hdwr sectors (514 MB)
305/dev/scsi/host0/bus0/target0/lun0: p1 305/dev/scsi/host0/bus0/target0/lun0: p1
306Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 306Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 0
307Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 307Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
308usb-storage: device scan complete 308usb-storage: device scan complete
309<comment>(At this point, the device is generally accessible by mounting /dev/sda1)</comment> 309<comment>(At this point, the device is generally accessible by mounting /dev/sdb1)</comment>
310 310
311<comment>(When the device is disconnected, the system acknowledges the same)</comment> 311<comment>(When the device is disconnected, the system acknowledges the same)</comment>
312usb 1-1: USB disconnect, address 2 312usb 1-1: USB disconnect, address 2
313</pre> 313</pre>
314 314
317disk. Usual operations like <c>cp</c>, <c>mv</c>, <c>rm</c>, etc work fine. You 317disk. Usual operations like <c>cp</c>, <c>mv</c>, <c>rm</c>, etc work fine. You
318could also create a filesystem on the USB stick/format it. 318could also create a filesystem on the USB stick/format it.
319</p> 319</p>
320 320
321<pre caption="Accessing the Memory Stick"> 321<pre caption="Accessing the Memory Stick">
322# <i>mount /dev/sda1 /mnt/usb</i> 322# <i>mount /dev/sdb1 /mnt/usb</i>
323# <i>df -h</i> 323# <i>df -h</i>
324Filesystem Size Used Avail Use% Mounted on 324Filesystem Size Used Avail Use% Mounted on
325/dev/hda8 9.4G 7.5G 1.9G 80% / 325/dev/sda8 9.4G 7.5G 1.9G 80% /
326/dev/hda9 11G 8.1G 2.4G 78% /usr 326/dev/sda9 11G 8.1G 2.4G 78% /usr
327none 189M 0 189M 0% /dev/shm 327none 189M 0 189M 0% /dev/shm
328/dev/sda1 490M 34M 457M 7% /mnt/usb 328/dev/sdb1 490M 34M 457M 7% /mnt/usb
329</pre> 329</pre>
330 330
331<note> 331<note>
332Digital cameras can be accessed the same way as memory sticks. I have a Nikon 332Digital cameras can be accessed the same way as memory sticks. I have a Nikon
333Coolpix 5200 and this is the way I access it. Cameras these days usually have 333Coolpix 5200 and this is the way I access it. Cameras these days usually have

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20