Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 09:45:57 +0200
From:      =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        stable@freebsd.org
Subject:   Re: unmounting a filesystem safely that doesn't exist anymore
Message-ID:  <448D1BB5.6010204@cs.tu-berlin.de>
In-Reply-To: <20060611234835.GC739@turion.vk2pj.dyndns.org>
References:  <448B0419.3090303@cs.tu-berlin.de> <20060611234835.GC739@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448D1BB5.6010204>