LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-17-2008, 12:47 PM   #1
borsburn
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Writing to tty causes writing to disk? (in ancient 2.2.x kernel)


I've been looking into some of the reasons that a nearly idle Linux system might perform a surprising number of disk writes.

The latest one I've come across is that writing to (for instance) /dev/ttyS0 causes the mtime to change, so the inode gets dirty and is flushed to disk on the next kernel buffer timeout.

But I'm only seeing this disk write under a 2.2.x kernel, not a 2.4.x kernel. That is, the mtime changes in both cases, but the change doesn't result in a disk write under the 2.4.x kernel.

Is there a difference in device inode handling between 2.2.x and 2.4.x that would account for this?

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Democratization, Writing and Writing Code LXer Syndicated Linux News 0 11-22-2006 05:03 AM
MDK10.1 CE - Something Writing to Disk Every 5 s - What? mac57 Mandriva 5 01-13-2005 08:58 AM
Writing to CDRW Disk sd-redhat Linux - Software 1 06-16-2004 10:09 PM
cd writing software which supports multisession writing jayakrishnan Linux - General 3 03-24-2003 05:51 AM
writing to hard disk from kernel mode.. udayan Programming 0 07-09-2002 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration