From owner-freebsd-questions Fri Jul 6 11:27:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206]) by hub.freebsd.org (Postfix) with SMTP id 8A45237B401 for ; Fri, 6 Jul 2001 11:27:07 -0700 (PDT) (envelope-from otterr@telocity.com) Received: (cpmta 1302 invoked from network); 6 Jul 2001 11:27:05 -0700 Received: from dsl-216-227-91-85.telocity.com (HELO zoso) (216.227.91.85) by smtp.telocity.com (209.228.33.206) with SMTP; 6 Jul 2001 11:27:05 -0700 X-Sent: 6 Jul 2001 18:27:05 GMT Reply-To: From: "Otter" To: "Giorgos Keramidas" , "faisal gillani" Cc: , Subject: RE: script help thanks !!! Date: Fri, 6 Jul 2001 14:25:25 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <20010706124158.A27819@hades.hell.gr> Importance: Normal 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 If it HAS to be done, try "expect". It's located in the ports. If you have another machine that can commnicate over to the soon-to-be single user machine's console serial port, you might be able to work something out with that. -Otter > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Giorgos > Keramidas > Sent: Friday, July 06, 2001 5:42 AM > To: faisal gillani > Cc: questions@FreeBSD.ORG; mwm@mired.org > Subject: Re: script help thanks !!! > > > -----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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message