人妖在线一区,国产日韩欧美一区二区综合在线,国产啪精品视频网站免费,欧美内射深插日本少妇

新聞動(dòng)態(tài)

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

發(fā)布日期:2021-12-14 22:01 | 文章來(lái)源:源碼中國(guó)

這是個(gè)在OpenSolaris的論壇中經(jīng)常會(huì)被問(wèn)到的問(wèn)題。其解決方法如下。需要注意的是,Mount后NTFS / EXT2 / EXT3只能讀。

  • 下載并安裝如下軟件包
    • FSWpart - 打印分區(qū)表信息
      下載:wget http://www.belenix.org/binfiles/FSWpart.tar.gz

      解壓縮:gunzip -c FSWpart.tar.gz | tar xf -
      安裝:pkgadd -d . FSWpart
    • FSWfsmisc - 在OpenSolaris上支持NTFS和EXT2FS文件系統(tǒng)
      下載:wget http://www.belenix.org/binfiles/FSWfsmisc.tar.gz

      解壓縮:gunzip -c FSWfsmisc.tar.gz | tar xf -
      安裝:pkgadd -d . FSWfsmisc
  • 打印分區(qū)信息
    首先運(yùn)行不帶參數(shù)的prtpart以獲得磁盤(pán)的物理設(shè)備名稱(chēng),通常是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


    這里磁盤(pán)的ID是c0d0p0,再運(yùn)行如下命令以打印所有的邏輯設(shè)備和分區(qū)類(lèi)型
    # 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分區(qū)
    Mount NTFS分區(qū)
    # 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分區(qū)
    打印mount信息
    # xlsmounts
    PHYSICAL DEVICE LOGICAL DEVICE FS PIDADDR Mounted on
    /dev/dsk/c0d0p1/dev/dsk/c0d0p1 ntfs 1118127.0.0.1:/ /Windows

    Umount
    # xumount /Windows

版權(quán)聲明:本站文章來(lái)源標(biāo)注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請(qǐng)保持原文完整并注明來(lái)源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非www.sddonglingsh.com所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來(lái)源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來(lái),僅供學(xué)習(xí)參考,不代表本站立場(chǎng),如有內(nèi)容涉嫌侵權(quán),請(qǐng)聯(lián)系alex-e#qq.com處理。

相關(guān)文章

實(shí)時(shí)開(kāi)通

自選配置、實(shí)時(shí)開(kāi)通

免備案

全球線(xiàn)路精選!

全天候客戶(hù)服務(wù)

7x24全年不間斷在線(xiàn)

專(zhuān)屬顧問(wèn)服務(wù)

1對(duì)1客戶(hù)咨詢(xún)顧問(wèn)

在線(xiàn)
客服

在線(xiàn)客服:7*24小時(shí)在線(xiàn)

客服
熱線(xiàn)

400-630-3752
7*24小時(shí)客服服務(wù)熱線(xiàn)

關(guān)注
微信

關(guān)注官方微信
頂部