国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Solaris > 正文

Solaris系統上Mount(掛載) NTFS / FAT32 / FAT16 / EXT2 / EXT3文件系統

2020-02-10 11:39:53
字體:
來源:轉載
供稿:網友

這是個在OpenSolaris的論壇中經常會被問到的問題。其解決方法如下。需要注意的是,Mount后NTFS / EXT2 / EXT3只能讀。
 

  • 下載并安裝如下軟件包
  • 打印分區信息
    首先運行不帶參數的prtpart以獲得磁盤的物理設備名稱,通常是cNdNp0。
    # prtpart

    Fdisk information for device /dev/rdsk/c0d0p0

    Block Size : 512 bytes
    Controller : ide
    Disk       : cmdk
    Capacity   : 93 GB

    #  start block  # nblocks    startCylSecHd endCylSecHd   OSType
    1: 0000000063   0102398247     0/ 1/ 1    ff/ff/fe      IFS: NTFS
    2: 0102398310   0092952090    ff/ff/fe    ff/ff/fe      Solaris x86


    這里磁盤的ID是c0d0p0,再運行如下命令以打印所有的邏輯設備和分區類型
    # prtpart /dev/rdsk/c0d0p0 -ldevs

    Fdisk information for device /dev/rdsk/c0d0p0

    ** NOTE **
    /dev/dsk/c0d0p0      - Physical device referring to entire physical disk
    /dev/dsk/c0d0p1 - p4 - Physical devices referring to the 4 primary partitions
    /dev/dsk/c0d0p5 ...  - Virtual devices referring to logical partitions

    Virtual device names can be used to access EXT2 and NTFS on logical partitions

    /dev/dsk/c0d0p1 IFS: NTFS
    /dev/dsk/c0d0p2 Solaris x86


     
  • Mount分區
    Mount NTFS分區
    # mount -F ntfs /dev/dsk/c0d0p1 /Windows

    Mount FAT32 / FAT16
    # mount -F pcfs /dev/dsk/c0d0p<number> /Windows

    Mount Ext2 / Ext3
    # mount -F ext2fs /dev/dsk/c0d0p<number> /Linux


     

  • Umount分區
    打印mount信息
    # xlsmounts
      PHYSICAL DEVICE                 LOGICAL DEVICE      FS    PID         ADDR Mounted on
      /dev/dsk/c0d0p1                /dev/dsk/c0d0p1    ntfs   1118  127.0.0.1:/ /Windows

    Umount
    # xumount /Windows
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表

圖片精選

主站蜘蛛池模板: 沈丘县| 龙岩市| 科尔| 股票| 郓城县| 界首市| 晋州市| 大埔县| 土默特右旗| 阿克苏市| 泗水县| 永州市| 汉源县| 突泉县| 济源市| 巴林左旗| 五原县| 绥宁县| 丰宁| 吉安市| 广德县| 都兰县| 台前县| 内乡县| 施甸县| 关岭| 大田县| 博乐市| 鞍山市| 义乌市| 哈尔滨市| 平谷区| 航空| 包头市| 颍上县| 江阴市| 安宁市| 大化| 武宣县| 庆云县| 临洮县|