*BSD News Article 21817


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!pipex!uunet!nih-csl!postman
From: crtb@helix.nih.gov (Chuck Bacon)
Subject: Why do I have to sync after shutdown?
Message-ID: <1993Oct4.141045.3924@alw.nih.gov>
Sender: postman@alw.nih.gov (AMDS Postmaster)
Organization: National Institutes of Health, Bethesda
Date: Mon, 4 Oct 1993 14:10:45 GMT
Lines: 22

I've installed 386bsd with patchkits 0.2.4.  I noticed that after
I run shutdown now, the first sync command results in a good half
second of disk activity.  Subsequent syncs each result in s single
click.

If I shutdown -r now, I don't think there's an equivalent to that
manually issued sync.

What's in the disk cache which has to get sunc?  Or does it?

I have an old SysV machine (3b1) which after a shutdown, goes
completely limp.  You have to hit reset, so there's never a
question whether you should sync or not.  You can't.

I've also noticed on a Sun IPC, that when you sync after a shutdown,
there's disk activity.

Any guidance?

--
	Chuck Bacon - crtb@helix.nih.gov ( alas, not my 3b1 )-:
		ABHOR SECRECY	-   DEFEND PRIVACY