Home > Linux > automunt partition in linux

automunt partition in linux


oke …lets to the point…

edit your /etc/fstab/

and then edit like this..

for fat32 partition add this

/dev/hda5 /mnt/chiko vfat defaults,user,style="color:#008000;">umask=0 0 0

for ntfs partition add this

/dev/hda1 /mnt/data-ntfs-ku  ntfs-3g  rw,umask=0  0  0,,-->ntfs-3g must be installed

another article maybe can help

To mount your windows partition at startup add an entry to your /etc/fstab file. Edit this with user root.

The following will give read/write access to root and read-only access to everyone else:

/dev/hdb5 /mnt/data vfat defaults 0 0

The following will give read/write access to everyone:

/dev/hdb5 /mnt/data vfat defaults,umask=0 0 0

If you ever need NTFS (read-only) support (Windows NT, 2000, or XP) then go to this site to add it:

http://linux-ntfs.sourceforge.net/info/redhat.html

Examples for Windows C drive with NTFS filesystem:

The following will give read-only access to root and no access to everyone else:

/dev/hda1 /mnt/winc ntfs defaults 0 0

The following will give read-only access to everyone:

/dev/hda1 /mnt/winc ntfs defaults,umask=222 0 0

IMPORTANT, always leave a blank line at the end of the /etc/fstab file or you will get an error message when you boot up.

that’s article from here

Categories: Linux
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: