From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 20:20:31 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 8C4571065683 for ; Sat, 5 Jul 2008 20:20:31 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0118FC23 for ; Sat, 5 Jul 2008 20:20:30 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so392944ana.13 for ; Sat, 05 Jul 2008 13:20:30 -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=yDkGSkgSGL4fiSTDl0reyH59pKUKJLwNzyzuAPtwQqo=; b=NTXugrGY6J9WcktBGnLCRx0UqiKSt+uj7AgJmnD0W7pVkr9IIFdTRjsz6cyembhdkq 3WD+JiY07yJ941qhVUk+UG//2zdpznUFKvsE690mNmxsBEOltFae+YMslpGYQur65bTO 6fC43QrY2v8OIney1LA7LoYpPyRaKyx9tZ06c= 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=X2S0SFLrUwf6Vtg0zrhne3fOyTXhVoj9Lim6K1xVRyaXyJGRSEW4+uGUdDcYds6KpQ jzUAPdENdqYYr0AlsaHFTEE4WGv05CCNfbrJur9dSK8MV1fKIFPY0zeuEDj5OoJ+7zPc tQPgl2qWw66JOtHIou0xb9K5yBCDTX9TG4gRs= Received: by 10.100.139.20 with SMTP id m20mr1894000and.135.1215289230431; Sat, 05 Jul 2008 13:20:30 -0700 (PDT) Received: from 200-117-245-190.fibertel.com.ar ( [190.245.117.200]) by mx.google.com with ESMTPS id c9sm1468561ana.9.2008.07.05.13.20.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jul 2008 13:20:29 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Sat, 5 Jul 2008 17:20:20 -0300 User-Agent: KMail/1.9.7 References: <200807042033.44829.gnemmi@gmail.com> <200807050546.09073.gnemmi@gmail.com> <486F3870.7090002@skoberne.net> In-Reply-To: <486F3870.7090002@skoberne.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807051720.20649.gnemmi@gmail.com> 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 20:20:31 -0000 On Saturday 05 July 2008 06:01:36 Nejc =8Akoberne wrote: > Hey, > > >> ls -la / | grep mnttest > > Can you paste output of this command? > > > sysid 5 (0x05),(Extended DOS) > > start 102398310, size 106446690 (51975 Meg), flag 0 > > beg: cyl 1023/ head 0/ sector 1; > > end: cyl 1023/ head 254/ sector 63 > > So the partition you're trying to mount is under an extended partition. > Can you do "ls -la /dev/ad0*" and provide us with the output? > > Bye, > Nejc Here you have a more complete output: root@inferna:~ # mkdir /mnttest root@inferna:~ # ls -la / | grep mnttest drwxr-xr-x 2 root wheel 512 Jul 5 17:16 mnttest root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnttest root@inferna:~ # ls /mnttest ls: /mnttest: Bad file descriptor root@inferna:~ # file /mnttest /mnttest: cannot open `/mnttest' (Bad file descriptor) root@inferna:~ # ls -la / | grep mnttest ls: mnttest: Bad file descriptor root@inferna:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=3D17, cmd=3D0x5801 ('X',1) is not impl= emented pid 8511 (doom.x86), uid 1001: exited on signal 11 root@inferna:~ # umount /mnttest root@inferna:~ # ls /mnttest root@inferna:~ # file /mnttest /mnttest: directory root@inferna:~ # ls -la / | grep mnttest drwxr-xr-x 2 root wheel 512 Jul 5 17:16 mnttest root@inferna:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=3D17, cmd=3D0x5801 ('X',1) is not impl= emented pid 8511 (doom.x86), uid 1001: exited on signal 11 root@inferna:~ #=20 Hope it clarifies sonething more=20 Thanks for helping Nejc :) =2D-=20 Blessings Gonzalo Nemmi