E2fsck

From: Dave Hall <linux_at_no.spam.please>
Date: Wed Sep 24 2003 - 09:57:02 CST

On Wed, Sep 24, 2003 at 09:48:21AM -0600, Keith Brown wrote:
> > > How do I tell which partition is associated with which mount point? One of
> > > them is currently screwed and has to be e2fsck'd.
> >
> > I think you can use tune2fs to read (and optionally change) the labels.
> >
> > Have you tried just specifying /home (or whatever) as the device to fsck? I
> > prefer my fstab the old way so I haven't had to deal with filesystem labels.
> > I do recall mount being intellegent about them on a freshly installed RedHat
> > system so I'd hope fsck was given the same insight.
>
> Yes, I tried this but I guess e2fsck isn't up to it yet. I'll try
> tune2fs and see what I get.

Try the generic fsck. The man page indicates you can specify something
like LABEL=foo. I'd guess the generic fsck reads the lables (like the
generic mount).

-- 
Dave
===============================================================
| <- You must be smarter than this stick to ride
     the Internet		-Mike Handler
===============================================================
Received on Wed Sep 24 09:57:02 2003

This archive was generated by hypermail 2.1.8 : Mon Mar 06 2006 - 18:35:12 CST