linux掛載和卸載__linux

來源:互聯網
上載者:User

  存在硬體接入到linux系統時 可以通過 mount命令 掛載一個路徑指向該硬體裝置  通過該路徑訪問硬體裝置的內容

  1 插入光碟片

      尋找插入的光碟片名稱(如果是vmvare虛擬機器 可以在右下角的光碟片中執行一個iso檔案 串連)

       [root@localhost test]# cd /dev
       [root@localhost dev]# ll | grep rom
       lrwxrwxrwx 1 root root           3 Dec 14 00:55 cdrom -> sr0
       crw-rw---- 1 root cdrom    21,   1 Dec 14 00:55 sg1
       crw-rw---- 1 root cdrom    21,   2 Dec 14 00:55 sg2
       brw-rw---- 1 root cdrom    11,   0 Dec 14 00:55 sr0
       brw-rw---- 1 root cdrom    11,   1 Dec 14 02:05 sr1

   其中 sr表示 裝置中的cd  room光碟片設定

     掛載裝置 mount sr1 /test (目錄必須先建立)

     卸載裝置 umount  src 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.