From owner-freebsd-current@FreeBSD.ORG Fri Aug 8 11:21:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6B5037B401 for ; Fri, 8 Aug 2003 11:21:43 -0700 (PDT) Received: from zerodeux.net (zerodeux.net [62.212.104.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1678E43FA3 for ; Fri, 8 Aug 2003 11:21:43 -0700 (PDT) (envelope-from v.caron@zerodeux.net) Received: from zerodeux.net (localhost [127.0.0.1]) by zerodeux.net (Postfix) with SMTP id F2C22B73F for ; Fri, 8 Aug 2003 20:21:43 +0200 (CEST) Received: from 62.4.19.30 (SquirrelMail authenticated user zerodeux) by zerodeux.net with HTTP; Fri, 8 Aug 2003 20:21:44 +0200 (CEST) Message-ID: <33131.62.4.19.30.1060366904.squirrel@zerodeux.net> In-Reply-To: <20030807052229.X3970@gamplex.bde.org> References: <33618.62.4.19.30.1060183855.squirrel@zerodeux.net> <20030807052229.X3970@gamplex.bde.org> Date: Fri, 8 Aug 2003 20:21:44 +0200 (CEST) From: "Vincent Caron" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Subject: Re: Troubles while mounting ext2 from 5.1-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 18:21:44 -0000 Bruce Evans said: >> > >> > # mount -t ext2fs /dev/ad0s2 /mnt/linux >> > ext2fs: /dev/ad0s2: No such file or directory >> >> Did you compile EXT2FS support into your kernel? Awful shame on a FreeBSD newbie, I didn't. I naively thought it was in the GENERIC kernel, but I just saw he note about the 'risky' use of the ext2 module. Apologies. Building now bleeding edge kernel ... > That's probably the main bug here. Some others are: > > (1) mount(8) obfuscates the name of the mount utility that does the mount > > (2) nmount(2) returns the unhelpful errno ENOENT for many cases > > (3) mount_ext2fs doesn't print the name of the mount point > > (4) mount(2) only documents the device file for ufs. > > (5) nmount(2) is undocumented. Thanks for the insight, a very good one I would have loved to find in the archives, now it's reality :). The fix for error display from mount_* is obviously a good idea (to prevent spurious bug reports like mine !). Sincerely, Vincent