You are not logged in.

#1 2005-04-25 02:01:48

KENTOSI
Member
From: Sydney, Australia
Registered: 2005-02-27
Posts: 69
Website

fstab or mtab?

Hi all,

The HAL daemon keeps replacing entries in my /etc/fstab file.  Everytime I reconfigure my cdrom mpunt points from /dev/hdd to /dev/cdroms/cdrom0 and so on, the hal utility keeps rearranging it and makes a new entry pointing to /dev/hdd.

The result is that in gnome, then I open up Computer I have two entries for my DVD rom, 2 entries for my CD-Writer, floppy, etc.

My question is, how do you tame this HAL thing? Or am I suppose to forget it and just edit /etc/mtab?


~gautam

Offline

#2 2005-04-25 05:10:26

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: fstab or mtab?

mtab is a list of currently mounted filesystem and is created by the system so you shouldn't touch it.  To solve your problem you can (1) disable hal or (2) remove the dvd/cd/floppy lines from fstab and let hal handle them.

Offline

#3 2005-04-25 15:05:13

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: fstab or mtab?

Making fstab read only may help too, but it may break hal...

Offline

#4 2005-04-25 15:16:53

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: fstab or mtab?

silly hal - maybe you need to reconfigure hal instead of changing fstab (seeing as it seems to manage fstab for you)

Offline

#5 2005-04-28 05:42:41

KENTOSI
Member
From: Sydney, Australia
Registered: 2005-02-27
Posts: 69
Website

Re: fstab or mtab?

OK thanks guys I'll try solution (2) by Snowman tonight.


~gautam

Offline

Board footer

Powered by FluxBB