Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2006 17:39:54 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Perry Hutchison <perryh@pluto.rain.com>
Cc:        freebsd-questions@freebsd.org, kris@obsecurity.org
Subject:   Re: mount_ext2fs returning ENODEV on 6.1
Message-ID:  <20060914213954.GA58176@xor.obsecurity.org>
In-Reply-To: <10609142107.AA01301@pluto.rain.com>
References:  <10609140727.AA28689@pluto.rain.com> <20060914160534.GA53648@xor.obsecurity.org> <10609142107.AA01301@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 14, 2006 at 02:07:56PM -0700, Perry Hutchison wrote:
> > > # ll /dev/ad0s7
> > > crw-r-----  1 root  operator    0,  93 Sep  4 02:30 /dev/ad0s7
> > > # file -s /dev/ad0s7
> > > /dev/ad0s7: Linux rev 1.0 ext2 filesystem data
> > > # grep -w ad0s7 /etc/fstab
> > > /dev/ad0s7      /linux          ext2fs  ro              0       0
> > > # ll -d /linux
> > > drwxr-xr-x  2 root  wheel  512 Aug 24 12:09 /linux
> > > # mount /linux
> > > mount_ext2fs: /dev/ad0s7: Operation not supported by device
> >=20
> > No ext2fs support in your kernel?
>=20
> I had not thought that was the problem, since according to
> something in the docs or manpages -- which I now cannot locate
> -- missing kernel support should have resulted in a different
> message.  How would I check, to be sure?  I am using the kernel
> from the installation CD, not one I have built:

Then you don't have kernel support, since it's not enabled by default
(the ext2 code is under the GPL and cannot be distributed in a
BSD-licensed kernel).  Recompile your kernel or load the module per
the handbook.

Kris

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFCcwqWry0BWjoQKURAj9yAJ9nR9FlZ9LFBCFp37jegCcevBMV6ACfcZnO
QUBMr1KfJtqQLDZmmQ2ktEM=
=6HPh
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--



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