LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 30
just edited fstab and quick question


Hi,

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
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
(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.

Tux,

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


Reply


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


All times are GMT -5. The time now is 09:04 PM.

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