国产探花免费观看_亚洲丰满少妇自慰呻吟_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
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表

圖片精選

主站蜘蛛池模板: 南昌市| 鹰潭市| 陵水| 五原县| 密山市| 开江县| 滕州市| 白山市| 叶城县| 北海市| 昌都县| 柘荣县| 巫山县| 卢湾区| 射洪县| 武威市| 化州市| 海丰县| 青阳县| 博客| 延长县| 兴文县| 新晃| 中方县| 左权县| 沅江市| 平定县| 那坡县| 沙湾县| 法库县| 株洲县| 靖边县| 阳江市| 贵州省| 柘城县| 通化县| 淮阳县| 筠连县| 新津县| 开阳县| 防城港市|