www.baidu.com

          JavaCode--我愛你,芳兒

          JavaStudy--我愛你,芳兒

          solaris中掛載 ntfs盤

          Miscellaneous filesystem support for OpenSolaris on x86
          =======================================================

          This is the initial release of the fsmisc package that enables access to
          NTFS and EXT2FS filesystems from OpenSolaris on x86 platforms.

          Some of the code has been derived from the following project:

          http://mount-ntfs.sourceforge.net/

          HOW TO Install
          --------------
          1) Install the FSWpart package

             Download http://www.belenix.org/binfiles/FSWpart.tar.gz
             Uncompress:  gunzip -c FSWpart.tar.gz | tar xvf -
             Install:  pkgadd -d . FSWpart

          2) Install the FSWfsmisc package

             Download http://www.belenix.org/binfiles/FSWfsmisc.tar.gz
             Uncompress:  gunzip -c FSWfsmisc.tar.gz | tar xvf -
             Install:  pkgadd -d . FSWfsmisc

          Features
          --------
          Ability to mount NTFS and EXT2FS filesystems on primary as well as extended
          partitions using the userland NFS server approach.

          The ntfsprogs toolset from the Linux-NTFS project built for OpenSolaris. Allows
          read/write access to NTFS primary partitions without having to mount it first.

          The ntfsprogs toolset also provides a library for user programs.

          The e2fsprogs toolset compiled for OpenSolaris.

          Dependencies
          ------------
          Needs the SUNWgccruntime package. This should be installed by default on
          Solaris Express, or will be available on the install DVD.

          Usage: Mounting EXT2FS
          ----------------------
          To mount an EXT2FS partition you first need to identify logical device name of
          the partition. Execute /usr/bin/prtpart without arguments to see the physical
          device name of your harddisk. It will be of the form: /dev/rdsk/cNdNp0.  This
          will also display information about the entire partition table.

          Note: For more info on prtpart execute prtpart -help

          Now execute:
          /usr/bin/prtpart /dev/rdsk/cNdNp0 -ldevs

          to list out all the logical devices and the partition types. Your Linux
          partitions will be listed as "Linux Native".

          Now execute:
          mount -F ext2fs <logical device name> <mountpoint>

          to mount the EXT2FS partition.

          Usage: Mounting NTFS
          --------------------
          As per the above description once you list out the logical device names using
          "prtpart -ldevs", You will know the device name for the NTFS partitions.

          Now execute:
          mount -F ntfs <logical device name> <mountpoint>

          to mount the NTFS partition

          Usage: Displaying mount info and Unmounting
          -------------------------------------------
          Since these filesystems are mounted in a different way you need to execute:
           /usr/bin/xlsmounts to see the detailed mount table info of these mounts.

          The normal commands "df -h" and "cat /etc/mnttab" will only show partial NFS
          related infomation.

          Use "/usr/bin/xumount <logical device name>" or "/usr/bin/xumount <mountpoint>"
          to cleanly unmount these filesytems. Just using umount will unmount the
          filesystem but will not remove the background NFS server process.

          Limitations
          -----------
          The approach used here uses a userland NFSv2 server to access filesystems on
          raw partitions. So the NFS client in the kernel is used to access the server.
          Thus the kernel's mount table always shows the filesystem as NFS and the device
          as 127.0.0.1:/. You will need to execute "/usr/bin/xlsmounts" to see the real
          detailed info.

          Due to the same reason "/usr/bin/xumount" must be used to unmount the
          filesystem and kill the NFS server.

          The current implementation uses a minimal NFSv2 server and provides read-only
          access. However the ntfsprogs utilities like: ntfsls, ntfscp etc. do provide
          read/write access to NTFS partitions.

          The NTFS mount implementation does not yet suport compressed NTFS volumes and
          is a bit low on performance.  However the ntfsprogs utilities can access
          compressed volumes and perform well.

          The bundled ntfsprogs utilities like: ntfsls, ntfscp etc.  only operate on
          primary partitions.





          下面有中文 的,轉(zhuǎn)載的。。嘿嘿
          安裝:
          1) Install the FSWpart package

          Downloadhttp://www.belenix.org/binfiles/FSWpart.tar.gz
          Uncompress: gunzip -c FSWpart.tar.gz | tar xvf -
          Install: pkgadd -d . FSWpart

          2) Install the FSWfsmisc package

          Downloadhttp://www.belenix.org/binfiles/FSWfsmisc.tar.gz
          Uncompress: gunzip -c FSWfsmisc.tar.gz | tar xvf -
          Install: pkgadd -d . FSWfsmisc

          主要命令: prtpart /dev/dsk/c0d0p0 -ldevs

          輸出 :
          bash-3.00# prtpart /dev/rdsk/c0d0p0 -ldevs
          然后:
          bash-3.00# mount -F ext2fs /dev/dsk/c0d0p7 /mnt
          搞定






           

          芳兒寶貝.我愛你

          posted on 2008-03-24 23:12 wǒ愛伱--咾婆 閱讀(1026) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           

          導(dǎo)航

          統(tǒng)計

          公告

          芳兒寶貝.我愛你


          黑客基地
          http://www.hackbase.com
          全球最大的黑客門戶網(wǎng)站


           最近在讀的書:

          常用鏈接

          留言簿(1)

          隨筆分類(37)

          JavaCode

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 梧州市| 平凉市| 阳东县| 佛山市| 金湖县| 县级市| 山阴县| 博爱县| 沙坪坝区| 灵石县| 吕梁市| 新密市| 淮阳县| 凤城市| 酒泉市| 泰和县| 包头市| 皮山县| 电白县| 邮箱| 宁南县| 濉溪县| 贵南县| 吉安县| 盐津县| 镇江市| 盈江县| 晋城| 万宁市| 蒲江县| 福贡县| 六枝特区| 长沙县| 焦作市| 章丘市| 南召县| 商水县| 林西县| 武安市| 宽甸| 固安县|