From owner-freebsd-questions Fri Jul 6 3:25:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id ED76337B631 for ; Fri, 6 Jul 2001 03:25:02 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b119.otenet.gr [195.167.121.247]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f66AOWh23319; Fri, 6 Jul 2001 13:24:33 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.4/8.11.3) id f669fx627970; Fri, 6 Jul 2001 12:41:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 6 Jul 2001 12:41:58 +0300 From: Giorgos Keramidas To: faisal gillani Cc: questions@FreeBSD.ORG, mwm@mired.org Subject: Re: script help thanks !!! Message-ID: <20010706124158.A27819@hades.hell.gr> References: <20010706092455.89995.qmail@web11001.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010706092455.89995.qmail@web11001.mail.yahoo.com>; from fasi_74@yahoo.com on Fri, Jul 06, 2001 at 02:24:55AM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----Original Message----- From: faisal gillani Subject: script help thanks !!! Date: Fri, Jul 06, 2001 at 02:24:55AM -0700 > well friend > > i am a newbie .. i wanted a script that runs in a non > busy hour on my server > & automatically runs fsck on my files systems .. > before that turn itself > into single user mode What is the point of fsck'ing regularly a filesystem that is working fine until that moment? More importantly, why bring a working server to single user mode on a regular basis, possibly interrupting some work it's doing? How are you going to find out *when* the right time will be, to shut down everything? No, what you are asking can't be done in a single script; and I don't see a reason why one would like to do it. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message