LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-15-2005, 03:27 AM   #1
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian/ubuntu
Posts: 362

Rep: Reputation: 42
Question fstab confusion


Hello,

I have just installed FC4 on a machine that I was given and I'm a little confused. I have been using Suse for ages and very used to working with it.

The problem I'm having is that I want to alter the fstab file as the zip is not being mount properly and I would like to mount some samba shares at boot. So I did my usual open in vim as root but at the top it said that, "This file is edited by fstab-sync..."

So I opened man fstab-sync and it said it was rarely run in a shell as it was run by the Hal Daemon.

I then looked at the Rehat/Fedora pages and they had a small picture of some sort of 'device manager' thingy, look very pretty but I can't find it on my computer.

So the question is, do I have to use one of these programs to edit fstab now? if I do, why is that, and which is the best? Or can I just change it myself as I have done?

Thanks,
Phil
 
Old 10-15-2005, 04:06 AM   #2
daste
LQ Newbie
 
Registered: Oct 2003
Location: Turin - Italy for study, lived in Sessa Cilento (SA) - Italy
Distribution: Zanga Linux (my personal LFS)
Posts: 18

Rep: Reputation: 0
personally when I had FC4 on my notebook I modified it brutally and it worked, but it's absolutely not the way to follow!
 
Old 10-15-2005, 06:42 AM   #3
AnEnchanterCalledTim
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
I modified mine the other day by hand, works fine.
 
Old 10-15-2005, 04:13 PM   #4
init100
LQ Newbie
 
Registered: Oct 2005
Location: Europe
Distribution: Fedora Core 4
Posts: 20

Rep: Reputation: 0
Re: fstab confusion

Quote:
So the question is, do I have to use one of these programs to edit fstab now? if I do, why is that, and which is the best? Or can I just change it myself as I have done?
Every entry added (and modified) by fstab-sync is marked with the word 'managed' in the options field. If you don't change these rows, every other row should be just fine to edit. We can use my /etc/fstab as an example:

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/sda9               /                       ext3    defaults        1 1
/dev/sda6               /boot                   ext2    defaults        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/sda5               /mnt/win/e              vfat    defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
/dev/sda8               swap                    swap    defaults        0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
As you can see, my cd recorder (/dev/hdc) is the only entry managed by fstab-sync. I can change all the other entries without worrying about fstab-sync. Only /dev/hdc is ever updated by fstab-sync.
 
Old 10-16-2005, 11:19 AM   #5
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian/ubuntu
Posts: 362

Original Poster
Rep: Reputation: 42
Thanks,
I think I will just add the required bits my self and see if it works.

Cheers,
Phil
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
WM Confusion phoeniXflame Slackware 3 02-16-2003 05:19 AM
Some confusion about RH 7.3 psyklops Linux - Distributions 2 05-08-2002 03:08 PM

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

All times are GMT -5. The time now is 09:18 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
Open Source Consulting | Domain Registration