[范例] 如何加载windows分区

博客主要记录了在Linux系统下挂载硬盘的操作,包括指定文件系统类型、设置语言编码等选项。还展示了挂载后的硬盘文件列表,其中包含Mysql网络数据库开发视频教程,以及Oracle9 For Solaris安装说明等内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[root@hlbbslinux root]# mount /dev/sda1 /mnt/USB
mount: you must specify the filesystem type
[root@hlbbslinux root]# mkdir /mnt/wind
[root@hlbbslinux root]# mount -t vfat -o nls=utf8 /dev/hda5 /mnt/wind
[root@hlbbslinux root]# df -lh
文件系统              容量  已用 可用 已用% 挂载点
/dev/hda12            3.9G  2.4G  1.3G  65% /
/dev/hda11             99M  9.1M   85M  10% /boot
none                  251M     0  251M   0% /dev/shm
/dev/hda5              14G  6.2G  7.9G  44% /mnt/wind
加载硬盘

:-t ntfs 说明文件系统的格式是ntfs的;-o是选项 ,选项有什么呢?有nls=utf8 ,意思是Native Language Support(本地语言支持)是utf8,也就是大家常说的语言编码;Fedora core 4.0 默认的语言编码就是utf8的,这样能显示出中文来;umask=000表示所有的用户组都可读可写
[root@hlbbslinux root]# mount -t vfat -o iocharset=cp936 /dev/hda5 /mnt/winf
[root@hlbbslinux root]# cd /mnt/winf
[root@hlbbslinux winf]# ls
Documents and Settings                        Program Files
Downloads                                     Recycled
[Mysql网络数据库开发视频教程] 网络数据库1-8   System Volume Information
[Mysql网络数据库开发视频教程] 网络数据库9-16  tc
Netscreen_vpn.rar                             windows
Oracle9 For Solaris安装说明.ppt               wmpub
pagefile.sys

iocharset=cp936 设置简体中文


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值