From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265094AbUAHONM (ORCPT ); Thu, 8 Jan 2004 09:13:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265063AbUAHONL (ORCPT ); Thu, 8 Jan 2004 09:13:11 -0500 Received: from [212.5.174.154] ([212.5.174.154]:61065 "EHLO zelcom.ru") by vger.kernel.org with ESMTP id S264933AbUAHOMr (ORCPT ); Thu, 8 Jan 2004 09:12:47 -0500 Date: Thu, 08 Jan 2004 17:11:19 +0300 Message-ID: <87ad4y8r94.wl@canopus.ns.zel.ru> From: Samium Gromoff To: ahu@ds9a.nl CC: linux-kernel@vger.kernel.org Subject: blockfile access patterns logging User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Jens, > > For some time I've wanted to log exactly what linux is reading and writing > from my harddisk - for a variety of reasons. The current reason is that my > very idle laptop writes to disk every once in a while (or reads, I don't > know). Have you mounted the fs with -o noatime? > Now, conceptually this should not be very hard, but I'd like to ask your > thoughts on where I might insert some crude logging? There are lots of > places that might be better or worse for some reason. > > I'd love to be as close to the physical block device as possible, short of > rewriting actual IDE drivers. > > Any tips? Or is this idea crazy? > > Thanks! > > -- > http://www.PowerDNS.com Open source, database driven DNS Software > http://lartc.org Linux Advanced Routing & Traffic Control HOWTO regards, Samium Gromoff