Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2012 14:36:10 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        perryh@pluto.rain.com
Cc:        jhs@berklix.com, freebsd-questions@freebsd.org
Subject:   Re: mounting ext2fs
Message-ID:  <20120419123609.GA1195@tiny>
In-Reply-To: <4f90406e.wUY9XXMDqOEhzRDN%perryh@pluto.rain.com>
References:  <201204181259.q3ICx2ZJ052422@fire.js.berklix.net> <4f90406e.wUY9XXMDqOEhzRDN%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, April 19, 2012 a las 09:42:22AM -0700, perryh@pluto.rain.com escribió:

> "Julian H. Stacey" <jhs@berklix.com> wrote:
> 
> > > what does lsvfs show ?
> >
> > Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t
> > (it show interesting stuff on my /xp  anyway ).
> 
> Easier:  file -s /dev/da0s1

gives now:

# file -s /dev/da0s1 
/dev/da0s1: Linux rev 1.0 ext2 filesystem data (mounted or unclean)

and /dev/da0s1 is mounted:

# mount | fgrep /dev/da0s1
/dev/da0s1 on /mnt (ext2fs, local)

the problem with (this) cardreader seems to be that the card must
already inserted at boot time; a later switch to another card, for
example from a card with 'msdosfs' to a card with 'ext2fs', gives the
problem in my first mail; don't know if this is a bug or feature :-)

ext2fs.ko is loaded automagically by mount(8); I do not load it at boot,
but after the mount(8) it was loaded;

	matthias
-- 
Matthias Apitz
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



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