LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-08-2008, 08:36 PM   #1
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
Exclamation YIKES ! fstab on Mandriva 2009 RC1 !!


I downloaded and installed Mandriva 2009 RC1 a couple of days ago and have been trying to decide if I like the new KDE 4 interface or not. Today I went to edit my fstab and to my horror, it looks like something out of a m$ operating system or dotnet program code. I NEVER use the gui to edit my configuration files, including fstab but I don't have a clue what all that UUIDWindowsLookingDescription stuff means. Am I over reacting or is there a simple syntax change to learn here ?
 
Old 09-08-2008, 08:50 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Well it would help if you posted the fstab so we could see what you are talking about. I'll assume you refer to using UUID rather than /dev in defining partitions

There seems to be a general move towards installers using UUIDs to specify partitions rather than /dev entries. I won't claim to know the details, but as I understand things, the UUID for a partition will not change during the life of a partition, whereas if a lower numbered parition is deleted, the higher numbers can change (ie delete /dev/sdb5 and /dev/sdb6 can/does become /dev/sdb5). Therefore using UUID in fstab is more robust.
 
Old 09-08-2008, 08:55 PM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
That's pretty much it. UUID is permanent and unchanging. Entries in /dev change as drives are added and removed.

Most distros are going that way. If you want to know more, explore the contents of /dev/disk
 
Old 09-08-2008, 09:07 PM   #4
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
Uuid

well yes, the UUID is what I am talking about and I had no idea what it is.
I think I like the old fstab better but maybe this will just take a little getting used to. still, it's too windowsey looking. So can you still edit the fstab as before ?

Last edited by explorer; 09-08-2008 at 09:09 PM.
 
Old 09-08-2008, 09:13 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can still add a partition with /dec/sdb3 or whatever, it's just a different way of defining the partition. If you really hate it, just change the UUID entry to a /dev entry. Probably not recommended though.

Nothing to do with windows. A closer analogy would be using MAC addresses for network interface ID rather than eth? notation

I doubt it's actually that new, just the use is. Use fstab as you always have (ie edit it if you want)

EDIT - I note that my 2004 mount manpage discusses the ability to use UUID's and suggests that in Linux this would have worked since kernel 2.1.116

Last edited by billymayday; 09-08-2008 at 09:17 PM.
 
Old 09-08-2008, 09:32 PM   #6
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
use_uuid=0

I just read that you can pass a kernel parameter to the installer to force it to use device names instead of UUIDs in fstab... (just like acpi=off)

use_uuid=0

It would seem that this would be an option in the installation setup process. I think this is going to turn a lot of old timers off. Another thing is that just when there is a push, like with xml, to make things human readable, the fifty-plus character uuid comes along. If you were working strictly from the cl, no gui, and needed to make a change in fstab it would be a little difficult to remember something this big and odd. the idea behind uuid is fine but why make it something unreadable - what possible purpose can it serve ? and again, changing the devices from hda to sda, what useful purpose does that serve ? UUID theory may be great and so is string theory (i read that somewhere else) but neither serves any useful purpose that I can see. to use such a huge and unreaadable uuid identifier seems bizzare, and yes, microsoftish.

Last edited by explorer; 09-08-2008 at 09:37 PM.
 
Old 09-08-2008, 09:40 PM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
I prefer labels, actually. It makes partitions present themselves under more intuitive names than either the /dev or the UUID stuff can come up with.
 
Old 09-08-2008, 10:00 PM   #8
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Labels or UUIDs are far better than /dev names. /dev names are too subject to change. I've seen one laptop that enumerated USB devices first (in BIOS) so if you booted while a USB device was attached, IT became sda and the internal drive moved to sdb.... real fun.
 
Old 09-08-2008, 10:06 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,504

Rep: Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079
The libata change was the impetus for the major distros to go to either LABEL or UUID - so they didn't have to explain to everybody why their (E)IDE drives were now /dev/sd?
If you play with a lot of distros, and reformat a fair bit, both LABEL and UUID are a PITA. Even simple things like sharing a swap - every installer wants to mkswap; and change the UUID in the process.
FWIW, I only use /dev/...
 
Old 09-08-2008, 10:47 PM   #10
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
UUID=ddee4f6c-7dac-11dd-90ce-c7961ac25dfa

some 'new and improved' fstab syntax...
I said it was 50 characters long, turns out it's only 36 characters long.

UUID=ddee4f6c-7dac-11dd-90ce-c7961ac25dfa / ...

What is rediculous about making this the default is that most linux users are not using massive disk arrays and have absolutely no advantageous use whatever for it, regardless of how 'progressive' it is. Its also one of the butt-ugliest features I've ever seen in linux not to mention that it makes a simple and managable fstab into something unreadable. Stuff like this is going to discourage noobs from taking on command line system management of their own systems. Oh well, after using linux for 11 years, and Mandrake since 7.x this is the first thing I've ever had that I thought was bad enough to vent about and I hope it's the last. Linus must have been napping when this default got changed.

Last edited by explorer; 09-08-2008 at 10:57 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
Any feedbak on Mandriva 2009 Beta2? psarchotic Mandriva 14 02-10-2009 07:23 AM
Mandriva 2009 - no networking. Keithj Mandriva 9 09-06-2008 06:28 AM
LXer: Mandriva Linux 2009 Alpha 2 LXer Syndicated Linux News 0 07-12-2008 12:10 PM
LXer: Mandriva kickstarts 2009 development LXer Syndicated Linux News 0 06-21-2008 05:10 PM
LXer: Mandriva kickstarts 2009 development LXer Syndicated Linux News 0 06-21-2008 04:30 PM


All times are GMT -5. The time now is 04:51 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration