Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 2 Sep 2002 05:13:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 2 Sep 2002 05:13:56 -0400 Received: from hermine.idb.hist.no ([158.38.50.15]:20231 "HELO hermine.idb.hist.no") by vger.kernel.org with SMTP id ; Mon, 2 Sep 2002 05:13:52 -0400 Message-ID: <3D732CD0.9CD1FCE1@aitel.hist.no> Date: Mon, 02 Sep 2002 11:18:08 +0200 From: Helge Hafting X-Mailer: Mozilla 4.76 [no] (X11; U; Linux 2.5.32 i686) X-Accept-Language: no, en, en MIME-Version: 1.0 To: =?iso-8859-1?Q?M=E5ns=20Rullg=E5rd?= , linux-kernel@vger.kernel.org Subject: Re: Disabling disk cache for single fs References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 594 Lines: 17 M?ns Rullg?rd wrote: > > Is there a way to disable the disk cache for one filesystem? I don't > want mp3s to waste all the cache that could be used better. > > If there isn't a way, what would be a good way to implement it? As a > mount option? I believe the correct way is to enhance your mp3 player(s) with the use of madvise() Helge Hafting - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/