Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-12-2005, 12:30 PM   #1
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Rep: Reputation: 30
just edited fstab and quick question


I just edited my fstab to mount and r/w to my windows vfat partition. The line was:

/dev/hda1 /windows/C vfat rw,users,gid=users,umask=0002,nls=utf8 0 0

I edited it to say:

/dev/hda1 /windows/C vfat rw,users,gid=users,umask=0002,utf8 0 0

What is the this nls= with the unicode argument? I have tried finding info on it to no avail.

I can now read my windows partition haven't tried to write. What does nls do? also I understand the umask 000...but what does the 2 stand for and for whom does it apply?

I should probably add that when the line contained the nls= it would not automount the partition.

dmesg | tail said unrecognized fs and did not understand nls=utf8 0 0

Last edited by cjae; 08-12-2005 at 12:39 PM.
Old 08-12-2005, 01:24 PM   #2
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 61
(usermask) umask=002 is equivalent to 775 permission on a directory/executable or 664 on a text file. It uses a convention different from regular octal permissions.

This article explains it nicely.


Last edited by tuxrules; 08-12-2005 at 01:30 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I edited my fstab for ntfs, I can open the drive, but no files xephyr Linux - Newbie 7 10-26-2004 06:06 PM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
quick fstab solution louie055 Linux - Newbie 1 09-01-2003 02:00 PM
quick silly question regarding fstab rivethead Linux - General 3 01-14-2003 06:09 PM
quick FSTAB question duaux Linux - Newbie 2 10-10-2002 06:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration