[98932] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: 5.2 upgrade & /etc/fstab

daemon@ATHENA.MIT.EDU (Tony Nugent)
Wed Nov 11 08:12:34 1998

To: Patrick Bauer <bauerp@niagara.com>
Cc: redhat-list@redhat.com
In-Reply-To: message-id <Pine.LNX.4.04.9811110414000.3552-100000@peachy.fruit> 
	 of Wed, Nov 11 04:14:39 1998
Date: Wed, 11 Nov 1998 23:25:18 +1000
From: Tony Nugent <Tony.Nugent@usq.edu.au>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Wed Nov 11 1998 at 04:14, Patrick Bauer wrote:

> What i did... was to re-build /etc/fstab... using vi... i re-typed all the
> entries manually..

vi on redhat linux is vim.  (Brilliant editor, I use it constantly).

With vim, it is almost trivial to replace all spaces with tabs in one hit
with the following command:

:retab!

Voila!

(Yes, the trailing `!' after the ":retab" is needed to make it work).

It happens to work very well with the /etc/fstab file, leaving no
"trailing" spaces after any of the tabs.

In fact, ex is also vim, so you can do this with a one-liner on the command
line to edit it "in situ" without even having the editor come up on the
tty!  However, I would have to experiment with it a little bit to figure
out the exact command that would be needed...

> > > I've upgraded from 5.1 to 5.2. The most pressing problem is that only
> > > some of /etc/fstab is read.
> > > /proc is reported as not being found as are 2 partitions. The entries
> > > are there.
> >
> > 5.2 seems picky about spacing.  These lines will work, if they are the first
> > non-comments in your file.   Spacing counts.  I think it's a bug in the
> > parsing.
> >
> > /dev/sda6               /                       ext2    defaults        1 1
> > none                    /proc                   proc    defaults        0 0
> >
> > > Does anyone have a fix. The only error messages are that they're not
> > > found in /etc/mtab or /etc/fstab. I know one other person had this
> > > same problem with an upgrade. Some of it is read just fine.
> > >
> > > Clean install is not a good option- this is on a server.

Too many people have mentioned this problem for this to be passed over as
not being a bad bug with RH5.2.  However, this particular problem hasn't
hit me with the 5 installs I've done so far.

Cheers
Tony
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
  Tony Nugent <Tony.Nugent@usq.edu.au>           <linux@usq.edu.au>
  Computer Support Officer                       Faculty of Science
  University of Southern Queensland, Toowoomba Oueensland Australia
 -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
        **  Hello and Welcome to the Psychiatric Hotline **
If you are obsessive-compulsive, please press 1 repeatedly.
If you are co-dependent, please ask someone to press 2.
If you have multiple personalities, please press 3, 4, 5 and 6.
If you are paranoid-delusional, we know who you are and what you want
       - just stay on the line so we can trace the call.
If you are schizophrenic, listen carefully and a little voice will
       tell you which number to press next.
If you are manic-depressive, it doesn't matter which number you press
       - no one will answer.
If you suffer from panic attacks, push every button you can find.
If you are sane, please hold on - we have the rest of humanity on the
        other line and they desparately want to ask a few questions.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post