Thursday, December 27, 2007

Get access of windows partitions in linux

As root, edit the file /etc/fstab e.g. let your windows C drive partition is /dev/hda1 and it is 'fat 32' file system. So to mount the C partition in /windows/C directory, in the /etc/fstab file, make an entry as
/dev/hda1 /windows/C vfat umask=0000 0 0
Note that umask=0000 will give write permissions to every user. To give write permission only to root, replace by
umask=0002

No comments: