promotion image of download ymail app
u asked in 電腦與網際網路軟體 · 1 decade ago


就如WIN XP一樣





2 Answers

  • Andy
    Lv 7
    1 decade ago
    Favorite Answer

    .3. Mounting the USB filesystemIf the verifications of the previous sections were positive, the next step is to mount the USB filesystem. This is issued from root as follows: # mount -t usbfs none /proc/bus/usb


    In older kernel versions the mount command above may have to be changed by replacing usbfs with usbdevfs. In Linux-2.4.20 both forms work. If there are no complaints, do some more tests. The first is the quick test (Section 7.1). A deeper probe would be to issue the command # ls -l /proc/bus/usb . This should give something similar to dr-xr-xr-x 1 root root 0 Sep 19 14:21 001

    dr-xr-xr-x 1 root root 0 Sep 19 14:21 002

    -r--r--r-- 1 root root 0 Sep 19 22:30 devices

    -r--r--r-- 1 root root 0 Sep 19 22:30 drivers

    The path /proc/scsi/usb-storage-0/ should now exist and one of the files at the end will show this. In my setup the command $ less /proc/scsi/usb-storage-0/1 gives Host scsi1: usb-storage

    Vendor: Generic

    Product: Mass Storage Device

    Serial Number: None

    Protocol: Transparent SCSI

    Transport: Bulk

    GUID: 0ed166800000000000000000

    Attached: Yes/No

    • Commenter avatarLogin to reply the answers
  • 1 decade ago

    哇!初學者8級大人,在這裡直接引用英文資料會不會太狠了點?! :p其實,我們可以簡單來看一下初學者8級大大的參考資料喔!那個回答有一這重要指令:# mount -t usbfs none /proc/bus/usb 這個指令最好用root身份使用喔!基本上,在Kernel2.4-20的Linux應該都可以這樣使用。那段指令主要的功用就是把USB裝置上的檔案系統掛載進來喔!話說回來,一般在Kernel2.4上面,我們都是把USB裝置當成SCSI裝置來看。所以,一但USB裝置讓Linux抓到後,都可以用「fdisk -l」指令看一下是不是多了SCSI的東東(如/dev/sda1之類的磁區),然後直接掛載就好囉!特別補充一下。就先這樣囉!P.S.嗯......有預感這解答POST出去後會被某人K...... :p

    Source(s): 初學者8級大大的解答+小弟的使用經驗
    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.