From owner-freebsd-stable@FreeBSD.ORG Mon Jun 12 07:45:43 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4169616A41F for ; Mon, 12 Jun 2006 07:45:43 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC6B243D45 for ; Mon, 12 Jun 2006 07:45:42 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-39-242.dynamic.qsc.de [212.202.39.242]) by efacilitas.de (Postfix) with ESMTP id 1B8444CD21; Mon, 12 Jun 2006 09:46:05 +0200 (CEST) Received: from [192.168.1.2] (muhkuh.local [192.168.1.2]) by eurystheus.local (Postfix) with ESMTP id BFB7C5285A; Mon, 12 Jun 2006 09:43:46 +0200 (CEST) Message-ID: <448D1BB5.6010204@cs.tu-berlin.de> Date: Mon, 12 Jun 2006 09:45:57 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.7.13) Gecko/20060519 X-Accept-Language: de, en MIME-Version: 1.0 To: Peter Jeremy References: <448B0419.3090303@cs.tu-berlin.de> <20060611234835.GC739@turion.vk2pj.dyndns.org> In-Reply-To: <20060611234835.GC739@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: stable@freebsd.org Subject: Re: unmounting a filesystem safely that doesn't exist anymore X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 07:45:43 -0000 Peter Jeremy schrieb: > On Sat, 2006-Jun-10 19:40:41 +0200, Bjrn Knig wrote: > >>I did a mistake: I unplugged my digital camera accidentally before I >>unmounted the filesystem. *doh* This happens very often, because I'm >>very scatterbrained. =) > > > Your best solution may be to use mtools (ports/emulators/mtools) rather > than mounting the filesystem. > > >>changed ad hoc. I just want to know if somebody knows a workaround or >>small trick that prevents the other filesystems from being unclean on >>next boot-up. > > > The only way to do this is to have all the other filesystems mounted > read-only. The "filesystem clean" flag is part of the superblock and > is cleared when a filesystem is mounted. It will be set only if the > filesystem is cleanly unmounted. Thank you very much for these information. They help me a lot. Björn P.S. I get the feeling questions@ would had been a better place for my question. ;-)