Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964772AbWCTRzk (ORCPT ); Mon, 20 Mar 2006 12:55:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964835AbWCTRzk (ORCPT ); Mon, 20 Mar 2006 12:55:40 -0500 Received: from [198.99.130.12] ([198.99.130.12]:26837 "EHLO saraswathi.solana.com") by vger.kernel.org with ESMTP id S964772AbWCTRzj (ORCPT ); Mon, 20 Mar 2006 12:55:39 -0500 Date: Mon, 20 Mar 2006 12:56:33 -0500 From: Jeff Dike To: Matheus Izvekov Cc: Jan Engelhardt , Neil Brown , linux-kernel@vger.kernel.org Subject: Re: Who uses the 'nodev' flag in /proc/filesystems ??? Message-ID: <20060320175633.GA5797@ccure.user-mode-linux.org> References: <17436.60328.242450.249552@cse.unsw.edu.au> <17438.13214.307942.212773@cse.unsw.edu.au> <305c16960603200817u3c8e4023nf2621245fdb0ed65@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <305c16960603200817u3c8e4023nf2621245fdb0ed65@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 19 On Mon, Mar 20, 2006 at 01:17:59PM -0300, Matheus Izvekov wrote: > If a filesystem is nodev, then what would you fsck? Am i missing something? There's a UML filesystem for which the nodev-implies-no-fsck behavior is inconvenient. It stores its files as files on the host, where the file metadata is stored separately from the file data. If the two fall out of sync after a crash, we need to fsck it. In this case, fsck would do a hostfs mount of the data and metadata (where the files are available as they exist on the host) and fix things up. So, in this case, the thing being fscked is a directory hierarchy on the host. Jeff - 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/