From owner-freebsd-questions@FreeBSD.ORG Thu Sep 14 21:39:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8084016A403 for ; Thu, 14 Sep 2006 21:39:59 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF8943D6D for ; Thu, 14 Sep 2006 21:39:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 65AAF1A4D79; Thu, 14 Sep 2006 14:39:55 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B98D951541; Thu, 14 Sep 2006 17:39:54 -0400 (EDT) Date: Thu, 14 Sep 2006 17:39:54 -0400 From: Kris Kennaway To: Perry Hutchison Message-ID: <20060914213954.GA58176@xor.obsecurity.org> References: <10609140727.AA28689@pluto.rain.com> <20060914160534.GA53648@xor.obsecurity.org> <10609142107.AA01301@pluto.rain.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <10609142107.AA01301@pluto.rain.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, kris@obsecurity.org Subject: Re: mount_ext2fs returning ENODEV on 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:39:59 -0000 --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+--