From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 11:34:15 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 11E7B106566C for ; Tue, 10 Jun 2008 11:34:15 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id C3B0E8FC17 for ; Tue, 10 Jun 2008 11:34:14 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so626760ana.13 for ; Tue, 10 Jun 2008 04:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=mh/ecZiz2TzOZrgaf8CHcMahnpXgKLHbot2Pq/Gp/9M=; b=ki8L17nteKyNBmNca4moCWxZwuS4lwq/qYba2f0iNtV/Nu6uHhUMrM/ieykOJzayIl r8ZvZ76r+ULRcJqBucJ9/oeULJ5/w24tvk83XDsgWX7YXJdMkFhy+182dZgtv5F27CTR GYMMheEBTIqrqstRNfYl1l4C+GoG6/DiBSQs4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=TtQpJWFLdDAHtkZjOsw/0iHOKAunF7QVa0/x5GJdSN3c3YhTISKFZiwPck1iCGdkrp MeODIaJYtCOx58zegamCYljuSA8qA1/7M29upwDN2qAP6UpZWBeNrCKC3uFW3DxNBF9D ZJPmTyMjyeqHbJKcKqU81bibzlq8zphVJmmts= Received: by 10.100.137.11 with SMTP id k11mr5258450and.25.1213097652162; Tue, 10 Jun 2008 04:34:12 -0700 (PDT) Received: from 103-120-245-190.fibertel.com.ar ( [190.245.120.103]) by mx.google.com with ESMTPS id 6sm11943207ywc.8.2008.06.10.04.34.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Jun 2008 04:34:10 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Tue, 10 Jun 2008 08:34:06 -0300 User-Agent: KMail/1.9.9 References: <20080610103756.GA13862@gentoo> In-Reply-To: <20080610103756.GA13862@gentoo> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806100834.06557.gnemmi@gmail.com> Subject: Re: bad file descriptor when mounting an ext2fs. 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: Tue, 10 Jun 2008 11:34:15 -0000 On Tuesday 10 June 2008 07:37:56 anhnmncb wrote: > Hi, list, > Recently, I encounter a very annoying issue, when I try to > mount an ext2fs filesystem in laptop disk, after mounted it without > any errors, I can't access it, ls /mnt/da0s3 says "bad file > descriptor". In that disk, also has msdos and ufs fs, but they > work well. > I tried reformat whole disk, and fsck.ext2 -f that ext2fs > slice, nothing works at all. > But my a local disk has ext2fs too, it can be mounted and used > well, don't know why? The same thing happens in here too .. The same question It has also been posted in this list on Friday 09 May 2008 14:40:06 by Isaac Mushinsky and me, but nobody answered ... On FreeBSD 7.0 i386 and Linux i386 in here, I get either get a 'Bad file descriptor' for directory /linux' or $ mount -t etx2fs /dev/ad0s7 /linux $ ls /linux No such file or directory I've got all of my music, pdfs, pictures and on a ext3 and I only need to mount it in order to get FreeBSD's Amarok access to my music collection. If somebody has solution or a pointer to a solution or whatever may help on this matter, I would greatly appreciate his/hers reply :) Blessings -- Gonzalo Nemmi