fstab-sync wipes out /etc/fstab
tfreeman at intel.digichem.net
tfreeman at intel.digichem.net
Sun Oct 16 18:08:28 UTC 2005
On Sun, 16 Oct 2005, Bill Perkins wrote:
> oleksandr korneta wrote:
> > on 10/16/2005 10:27 AM Bill Perkins wrote:
> >
> >
> >>>I agree here. And more than that, all stuff is kept being mounted into
> >>>/media deirectory despite the fact that by the unix-way there is a /mnt
> >>>directory intended for this. So if there is any config file which
> >>>allowes me to fix that, please point me to it, i'm going to put the
> >>>things in my way immediately
> >>
> >>Would you believe /etc/fstab?
> >>
> > dear Bill, you are missing the point.
> > Whenever I plug my flashdrive/externel_hdd/mp3_player into usb port the
> > new mounting points created by fstab are
> > /media/lexar, /media/kingston, /media/depends_on_flashdive_manufacturer
> > /media/vfat, /media/linux, /media/depends_on_hdd_filesystem
> > /media/iriver, /media/iaudio_g3, /media/again_by_playertype_and_vendor
> >
> > all this mounting points are naturally wiped out after the ums-device is
> > unplugged. Thus, if you notice the common thing for all of them is
> > /media directory the purpose of which (when there is /mnt) I'm not
> > getting at all. I would be glad if someone could explain it to me. But
> > the main point the whatever the reason is I dont need this directory on
> > my system and want to teach fstab-sync to not use it either. Now how to
> > do that?
> >
>
> Sorry, I hit the 'Send' button too quickly- what I was thinking was
> check /etc/fstab, and change the entries that start with /media to /mnt
This is as good a place as any to chime in. /etc/fstab is overwritten by
fstab-config at boot time, so changing /etc/fstab is going to either
1)interfere with the smooth workings of fstab-config and upstream
resources or 2) be a waste of effort which doesn't survive a reboot. What
is wanted is a decient way to achieve 3) have fstab-config manage fstab
the way the system manager wants things managed without oddball hacks or
work arounds.
It would be _really_ nice to find comprehensable documentation of
fstab-config somewhere. Like how to fix it _my_ way...
--
=============================================
If you think Education is expensive
Try Ignorance
Author Unknown
============================================
More information about the fedora-list
mailing list