关闭

Manually and automatically mount windows file system on Linux

557人阅读 评论(0) 收藏 举报

1. Manually Mount windows file system on Linux:


NTFS: mount -t ntfs /dev/sda5 /mnt/winE
FAT32: mount -t vfat /dev/sda5 /mnt/winE

If don't know the format of your partion use: mount -t auto /dev/sda5 /mnt/winE

If don't know where is your Driver E, use: "/sbin/fdisk -l" to check position of windows partion before  mounting windows partion.

2. Auto mount when boot:


vi /etc/fstab

# /etc/fstab: static file system information.
#
#[file system] [mount point] [type] [options] [dump] [pass]
proc /proc proc defaults 0 0
/dev/sda9 / ext3 defaults 0 1
/dev/sda13 none swap sw 0 0
/dev/sdc /media/cdrom iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy auto rw,user,noauto 0 0
/dev/sda10 /mnt/debian ext3 defaults 0 0
/dev/sda1 /mnt/winD ntfs utf8,umask=022 0 0
/dev/sda5 /mnt/winE vfat utf8,umask=0 0 0

Note: umask=022, only the root user can write on the partion, umask=0 makes anyone can write on the partion.
 
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:226729次
    • 积分:3490
    • 等级:
    • 排名:第9966名
    • 原创:84篇
    • 转载:115篇
    • 译文:0篇
    • 评论:41条
    最新评论