From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 04:37:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF8991065676 for ; Sat, 5 Jul 2008 04:37:29 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from mail.skiltech.com (bunning.skiltech.com [65.36.251.181]) by mx1.freebsd.org (Postfix) with ESMTP id 9994D8FC12 for ; Sat, 5 Jul 2008 04:37:29 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from localhost (localhost [127.0.0.1]) by mail.skiltech.com (Postfix) with ESMTP id B017325BF11; Sat, 5 Jul 2008 00:37:28 -0400 (EDT) X-Virus-Scanned: amavisd-new at skiltech.com Received: from mail.skiltech.com ([127.0.0.1]) by localhost (bunning.skiltech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XMg2OppHH3rR; Sat, 5 Jul 2008 00:37:28 -0400 (EDT) Received: from [192.168.1.100] (c-71-63-150-244.hsd1.mn.comcast.net [71.63.150.244]) by mail.skiltech.com (Postfix) with ESMTPA id C4EBD25BF04; Sat, 5 Jul 2008 00:37:27 -0400 (EDT) Message-ID: <486EFA86.3060009@cwis.biz> Date: Fri, 04 Jul 2008 23:37:26 -0500 From: Ryan Coleman User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Gonzalo Nemmi References: <200807042033.44829.gnemmi@gmail.com> <486ED53A.1090105@cwis.biz> <200807050045.30661.gnemmi@gmail.com> In-Reply-To: <200807050045.30661.gnemmi@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mounting ext2fs partitions on FBSD7 ( third time a charm?) 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: Sat, 05 Jul 2008 04:37:30 -0000 Gonzalo Nemmi wrote: > On Friday 04 July 2008 22:58:18 you wrote: > >> Gonzalo Nemmi wrote: >> >>> Could somebody please throw me a pointer ... >>> i have followed every instruction on every book and/or how-to ... yet ... >>> >>> What am I doing wrong?? >>> >>> root@inferna:~ # uname -sr >>> FreeBSD 7.0-RELEASE >>> root@inferna:~ # kldstat >>> Id Refs Address Size Name >>> 1 10 0xc0400000 4dd878 kernel >>> 2 1 0xc08de000 7559b0 nvidia.ko >>> 3 1 0xc1034000 6721c acpi.ko >>> 4 1 0xc4a2e000 4000 logo_saver.ko >>> 5 1 0xc5884000 10000 ext2fs.ko >>> root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ >>> root@inferna:~ # ls /mnt >>> ls: /mnt: Bad file descriptor >>> root@inferna:~ # cd /mnt >>> /mnt: Not a directory. >>> root@inferna:~ # umount /mnt >>> root@inferna:~ # cd /mnt >>> root@inferna:/mnt # mount -t ext2fs /dev/ad0s8 . >>> root@inferna:/mnt # ls >>> ls: .: Not a directory >>> root@inferna:/mnt # cd ~ >>> root@inferna:~ # umount /mnt >>> root@inferna:~ # file /mnt/ >>> /mnt/: directory >>> root@inferna:~ # cd /mnt >>> root@inferna:/mnt # ls >>> root@inferna:/mnt # >>> >>> dmesg says _nothing_ >>> _Any_ hint will be more than welcome :) >>> >> What does /var/log/messages say when you run mount -t ext2fs? >> > > Hi Ryan! > And thanks for your help :) > > Unfortunately, just as much as dmesg, /var/log/messages says nothing :s > Look: > > root@inferna:~ # date > Sat Jul 5 00:39:39 ART 2008 > root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ > root@inferna:~ # ls /mnt > ls: /mnt: Bad file descriptor > root@inferna:~ # cd /mnt > /mnt: Not a directory. > root@inferna:~ # cat /var/log/messages | tail -5 > Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 > Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, > cmd=0x5801 ('X',1) is not implemented > Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on > signal 11 > Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 > Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 > root@inferna:~ # umount /mnt > root@inferna:~ # cat /var/log/messages | tail -5 > Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 > Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, > cmd=0x5801 ('X',1) is not implemented > Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on > signal 11 > Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 > Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 > root@inferna:~ # > > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? > If you did, at least I'd know that it _is_ possible :s > > Thanks :) > No, I thought maybe there was something there I could help with.... I haven't used ext/ext2/ext3 since I dumped RHL in 2003.