LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-17-2008, 01:15 PM   #1
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Rep: Reputation: 31
Editing fstab file questions


Hello,
With every newly installed distro I have to edit the fstab file as a result I backedup my last file just to paste it instead of the newly generated one but I found that there is a difference between the files

A line from the Mandriva 2009 file
Code:
# Entry for /dev/sda1 :
UUID=D465-6642 /media/hd vfat defaults 0 0
A line from the Mandriva 2008 file
Code:
/dev/hda1 /mnt/c vfat iocharset=utf8,umask=000 0 0
Now what is the UUID=D465-6642?
Is there a problem if I change the add the bold part to the new fstab file instead of defaults word?

Thanks.

PS:I need to change the fstab file in order to be able to read the arabic file names from windows drives and also to be able to copy to and from fat32 drives without problems
 
Old 10-17-2008, 02:47 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
UUID is a way to specify exactly which physical drive and partition you want to use, instead of the traditional /dev/hd* block devices that the system assigns to them. It's often used in situations where the /dev entry corresponding to each drive can change, such as when hotplugging drives. It seems that Mandriva has switched to using UUID's by default.

You can also use the symlinks found in /dev/disk/by-uuid to do the same thing.

As for your next question, you certainly do want to replace "defaults" with the options you want. After all, things like umask and iocharset are not default options, are they?

When working with configuration files, you should always take the time to understand what the lines you're adding or modifying do. Try reading the man pages for mount and fstab for more details.
 
Old 10-18-2008, 03:20 AM   #3
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Original Poster
Rep: Reputation: 31
Thank you David the H.
I have edited the fstab file and now everything is working normally. I know fstab is a critical file to edit and that is why I asked in the first place

Thank you for your help.
 
  


Reply



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
Editing Fstab linda Linux - General 4 09-03-2006 01:59 PM
editing /etc/fstab Mad Malc Linux - Newbie 6 09-19-2005 01:25 AM
Editing etc/fstab- yet again:-) hitest Slackware 7 04-21-2005 12:50 PM
SAMBA share txt file editing questions LinuxRam Linux - Software 14 09-10-2004 08:37 AM
File/Folder Permissions / Mounting hdd's / fstab <-- ?Questions? EThitop Linux - Newbie 2 06-19-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration