mounting ext2fs

Adam Vande More amvandemore at gmail.com
Thu Apr 19 20:00:02 UTC 2012


On Thu, Apr 19, 2012 at 1:59 PM, Matthias Apitz <guru at unixarea.de> wrote:

> What do you expect exactly from this command? The actual shell will open
> /dev/da0 for writing + truncating and will connect (dup) its fd 1 to it;
> then it will execute 'true', perhaps as buit-in; so what?
>

As he stated, it forces a GEOM retasting which is something necessary when
dealing with removable media.  However I don't think it will help in this
case as the device is already seen.  More likely the problem is the fs
itself.   I'm having trouble discerning the current problem you are trying
to solve given the scattered nature of the thread, but in general trouble
mounting ext2/3 fs results from one of 3 things.

GEOM doesn't see the partion which is what the "true > /dev/da0" fixes
The fs wasn't dismounted cleanly and needs to be fsck'd
The fs was created in a manner incompatible with FreeBSD ext2/3 support.

-- 
Adam Vande More


More information about the freebsd-questions mailing list