关闭

CentOS 5.4 挂载Windows 分区FAT32/NTFS格式的方法

767人阅读 评论(0) 收藏 举报
[root@localhost ~]# yum install ntfs-3g
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package fuse-ntfs-3g.i386 0:2009.4.4-2.el5.rf set to be updated
--> Processing Dependency: fuse >= 2.6.3 for package: fuse-ntfs-3g
--> Running transaction check
---> Package fuse.i386 0:2.7.4-8.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package            Arch       Version                 Repository          Size
================================================================================
Installing:
fuse-ntfs-3g       i386       2009.4.4-2.el5.rf       Dag                385 k
Installing for dependencies:
fuse               i386       2.7.4-8.el5             163-com-base        83 k

Transaction Summary
================================================================================
Install      2 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 468 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): fuse-2.7.4-8.el5.i386.rpm                         |  83 kB     00:00    
(2/2): fuse-ntfs-3g-2009.4.4-2.el5.rf.i386.rpm           | 385 kB     00:14    
--------------------------------------------------------------------------------
Total                                            22 kB/s | 468 kB     00:21    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing     : fuse                                                     1/2
Installing     : fuse-ntfs-3g                                             2/2

Installed:
fuse-ntfs-3g.i386 0:2009.4.4-2.el5.rf                                        

Dependency Installed:
fuse.i386 0:2.7.4-8.el5                                                      

Complete!
[root@localhost ~]# fdisk -l

Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1        1309    10514511    c  W95 FAT32 (LBA)
/dev/hdc2            1310        3274    15783862+   7  HPFS/NTFS
/dev/hdc3            3275        9729    51849787+   f  W95 Ext'd (LBA)
/dev/hdc5            3275        9729    51849756    7  HPFS/NTFS

Disk /dev/hdd: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1          13      104391   83  Linux
/dev/hdd2              14         144     1052257+  82  Linux swap / Solaris
/dev/hdd3             145        9733    77023642+  83  Linux
[root@localhost ~]# mkdir /mnt/myhdc5
[root@localhost ~]# mount -t ntfs-3g /dev/hdc5 /mnt/myhdc5
[root@localhost ~]# mkdir /mnt/myhdc1
[root@localhost ~]# mount -t vfat /dev/hdc1 /mnt/myhdc1
[root@localhost ~]#

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:720887次
    • 积分:10832
    • 等级:
    • 排名:第1487名
    • 原创:480篇
    • 转载:10篇
    • 译文:0篇
    • 评论:28条
    文章分类
    最新评论