linux自动挂载硬盘分区

修改/etc/fstab 如下:
【linux自动挂载硬盘分区】

# # /etc/fstab # Created by anaconda on Sat Jun 18 09:30:06 2011 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=13611a05-0093-49c6-87ff-099946629691 /ext4defaults1 1 UUID=838ce818-9c9b-4efe-b27e-7b196f6c0649 swapswapdefaults0 0 UUID=d7023e7d-633c-4e44-a92e-13c37de407eb swapswapdefaults0 0 tmpfs/dev/shmtmpfsdefaults0 0 devpts/dev/ptsdevptsgid=5,mode=6200 0 sysfs/syssysfsdefaults0 0 proc/procprocdefaults0 0 /dev/sda2 /windows/Cntfs-3gusers,gid=users,fmask=133,dmask=022,locale=zh_CN.UTF-8 0 0 /dev/sda5 /windows/Dntfs-3gusers,gid=users,fmask=133,dmask=022,locale=zh_CN.UTF-8 0 0 /dev/sda6 /windows/Entfs-3gusers,gid=users,fmask=133,dmask=022,locale=zh_CN.UTF-8 0 0 /dev/sda7 /windows/Fntfs-3gusers,gid=users,fmask=133,dmask=022,locale=zh_CN.UTF-8 0 0


当然redhat没有安装ntfs-3g,去要自己去下一个 然后

./configure make make install



很简单

    推荐阅读