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.





          下面有中文 的,轉載的。。嘿嘿
          安裝:
          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ǒ愛伱--咾婆 閱讀(1027) 評論(0)  編輯  收藏


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


          網站導航:
           

          導航

          統計

          公告

          芳兒寶貝.我愛你


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


           最近在讀的書:

          常用鏈接

          留言簿(1)

          隨筆分類(37)

          JavaCode

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 磐石市| 自贡市| 卓尼县| 常熟市| 哈巴河县| 新绛县| 朝阳区| 阳新县| 财经| 三台县| 都江堰市| 临沂市| 清新县| 横山县| 阿拉善盟| 湖北省| 乐至县| 察雅县| 乌兰县| 桑日县| 资兴市| 湖北省| 乐平市| 扶余县| 肥西县| 翁牛特旗| 张家港市| 蓬安县| 安庆市| 逊克县| 建水县| 衡南县| 涞源县| 大余县| 中阳县| 定安县| 北川| 斗六市| 巴林左旗| 乌拉特前旗| 萍乡市|