unmounting a filesystem safely that doesn't exist anymore
peterjeremy at optushome.com.au
Sun Jun 11 23:48:44 UTC 2006
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
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.
More information about the freebsd-stable