Date: Fri, 6 Jul 2001 14:25:25 -0400 From: "Otter" <otterr@telocity.com> To: "Giorgos Keramidas" <keramida@ceid.upatras.gr>, "faisal gillani" <fasi_74@yahoo.com> Cc: <questions@FreeBSD.ORG>, <mwm@mired.org> Subject: RE: script help thanks !!! Message-ID: <PCEGINJJIOIMLAAHJLIPMENECEAA.otterr@telocity.com> In-Reply-To: <20010706124158.A27819@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <fasi_74@yahoo.com> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PCEGINJJIOIMLAAHJLIPMENECEAA.otterr>