From owner-freebsd-current@FreeBSD.ORG Thu Dec 27 05:47:25 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0275916A419 for ; Thu, 27 Dec 2007 05:47:25 +0000 (UTC) (envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from mail.lonelyplanet.com.au (mail.lonelyplanet.com.au [203.166.32.192]) by mx1.freebsd.org (Postfix) with ESMTP id 488BD13C448 for ; Thu, 27 Dec 2007 05:47:24 +0000 (UTC) (envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from Garuda.lpint.net ([10.61.0.88]) by mail.lonelyplanet.com.au with InterScan Message Security Suite; Thu, 27 Dec 2007 16:47:07 +1100 Received: from klein.bigpond.com ([10.61.20.3]) by Garuda.lpint.net with Microsoft SMTPSVC(6.0.3790.1830); Thu, 27 Dec 2007 16:47:06 +1100 Received: from klein.bigpond.com (localhost [127.0.0.1])by klein.bigpond.com (8.14.1/8.14.1) with ESMTP id lBR5lIP5002738; Thu, 27 Dec 2007 16:47:18 +1100 (EST)(envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from localhost (petros@localhost)by klein.bigpond.com (8.14.1/8.14.1/Submit) with ESMTP id lBR5lHBb002735;Thu, 27 Dec 2007 16:47:17 +1100 (EST)(envelope-from Peter.Ross@alumni.tu-berlin.de) X-Authentication-Warning: klein.bigpond.com: petros owned process doing -bs Date: Thu, 27 Dec 2007 16:47:17 +1100 (EST) From: Peter Ross X-X-Sender: petros@klein.bigpond.com To: Yousef Ourabi In-Reply-To: Message-ID: <20071227164111.O1694@klein.bigpond.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 27 Dec 2007 05:47:06.0112 (UTC) FILETIME=[E9BA8000:01C8484B] X-imss-version: 2.049 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:5.0.1023(15630.002) X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:2 C:1 M:2 S:2 R:1 (0.1500 0.1500) Cc: freebsd-current@freebsd.org Subject: Re: 7.0 Beta 4 missing mount_ext2? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 27 Dec 2007 05:47:25 -0000 Hi Yousef, On Wed, 26 Dec 2007, Yousef Ourabi wrote: > Hello: > I did a fresh install from the 7.0 beta 4 amd64 cd 1 on my C2D system, > and I find that mount_ext2 is missing -- Is this by design, or did > something go wrong with my install? > > Back in the day mount -t ext2 would just fork on mount_ext2 -- is this > still the same or have things changed? According to the mount(8) man page: -t ufs | external_type .. The default behavior of mount is to pass the -t option directly to the nmount(2) system call in the fstype option. However, for the following file system types: cd9660, mfs, msdosfs, nfs, nfs4, ntfs, nwfs, nullfs, portalfs, smbfs, udf, and unionfs, mount will not call nmount(2) directly and will instead attempt to execute a program in /sbin/mount_XXX where XXX is replaced by the file system type name. For example, nfs file systems are mounted by the program /sbin/mount_nfs. ext2 seems to use nmount(2) directly so it does not need /sbin/mount_ext2 anymore. My system (a ca. four weeks old -current) does not have a mount_ext2. I cannot test ext2 mounting by now because I don't have an ext2 filesystem, sorry. But it worked three months ago (then I've got rid of Linux on my laptop). Regards Peter