Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 31 Jan 2002 01:36:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 31 Jan 2002 01:36:16 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:14863 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Thu, 31 Jan 2002 01:36:02 -0500 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: PROBLEM: ext2/mount - multiple mounts corrupts inodes Date: 30 Jan 2002 22:35:59 -0800 Organization: Transmeta Corporation, Santa Clara CA Message-ID: In-Reply-To: <20020130163730.N763@lynx.adilger.int> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Disclaimer: Not speaking for Transmeta in any way, shape, or form. Copyright: Copyright 2002 H. Peter Anvin - All Rights Reserved Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Followup to: <20020130163730.N763@lynx.adilger.int> By author: Andreas Dilger In newsgroup: linux.dev.kernel > > > Rather than mounting the device to try and see if it is already > mounted, use /proc/mounts or /etc/mtab or "df" or "mount" output > instead. Doctor, it hurts when I do this... ;-). > > ENOTATOMIC Might not matter for a human user, but for a daemon like autofs it's vital that atomicity is preserved. -hpa -- at work, in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - 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/