From: dietmar@techfak.uni-bielefeld.de (Dietmar Braun) Subject: Re: Is (e2)fsck dangerous?? Date: Thu, 1 Apr 1993 12:02:13 GMT
In article <117139@netnews.upenn.edu>, seth@gradient.cis.upenn.edu (Zippy) writes:
|> I got a report yesterday that running (e2)fsck on a mounted fs was potentially
|> dangerous. Does this apply to the -r option only, or to any instance of
|> (e2)fsck? It seemed odd because this is the (only?) way to check a fs,
|> and since root can't be unmounted, we run into a problem here. Can anyone
|> verify this?
This applies to any instance of fsck. fsck bypasses the kernel.
E.g if there are files deleted, during (e2)fsck this might mess up everything.
Since there are no users, You can (and probably should)
fsck root from within /etc/rc.
Further information is in the manpage for fsck. You find
fsck and manpage in under the FSF packages maintained by Rick Faith.
e.g.
sunsite.unc.edu:/pub/Linux/utils/administration/utile14.taz
Dietmar
|>
|> Please reply via email to either address below.
|>
|> Thanks,
|>
|> Seth.
|>
|> Seth Bromberger seth@gradient.cis.upenn.edu
|> M.S.E. '93, University of Pennsylvania seth@eniac.seas.upenn.edu
--
=====
Dietmar Braun; University of Bielefeld
(finger dietmar@techfac.techfak.uni-bielefeld.de)