LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Sync

[ILUG] Sync

John P. Looney (Kate) jplooney-ilug at online.ie
Wed Jun 21 12:03:23 IST 2000


On Tue, Jun 20, 2000 at 04:08:49PM +0100, Al O'Connor mentioned:
> 	"sync - force completion of pending disk writes (flush cache)" - man page	
> 
> 	I spotted this command recently, and a question appeared. Why is this
> 	a user command?  Surely it can be used for Bad Purposes like "while(1)
> 	sync;" or something...  Is there any really important reason why mere
> 	mortals should be allowed to use it? or is it just risk-free and so ok
> 	for general consumption.

 It's risk free. Only time I've ever used it was when I had a floppy
mounted, and wanted to force it to write a load of stuff to it before
unmounting. Though I suppose umount /mnt/floppy would have done the job
too.

 It's usually run as the "sync" user on older systems, I think, like SCO,
so maybe it *had* to be runnable by normal users...

Kate

-- 
The words of the unwary are apt to cause needless pain and bloody violence.
                                                        - Zen Master Greg




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell