From owner-freebsd-current@FreeBSD.ORG Tue Dec 7 07:02:26 2004 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 AD92E16A4CE for ; Tue, 7 Dec 2004 07:02:26 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEBFF43D39 for ; Tue, 7 Dec 2004 07:02:25 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iB772AE9099058; Tue, 7 Dec 2004 08:02:10 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Craig Rodrigues From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 06 Dec 2004 23:58:31 EST." <20041207045831.GA886@crodrigues.org> Date: Tue, 07 Dec 2004 08:02:10 +0100 Message-ID: <99057.1102402930@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org Subject: Re: NMOUNT/OMOUNT midway status 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: Tue, 07 Dec 2004 07:02:26 -0000 thanks ! In message <20041207045831.GA886@crodrigues.org>, Craig Rodrigues writes: >On Mon, Dec 06, 2004 at 10:10:13PM +0100, Poul-Henning Kamp wrote: >> If you want to help me test I keep a patch relative to -current >> up to date: >> >> http://phk.freebsd.dk/patch/nmount.patch > >I cvsup'd to -current and applied this patch. >When I mounted an iso9660 file system, mount showed: > > on /mnt (cd9660, local, read-only) > > >I applied this patch (based on what I saw in the UDF fs code): > >--- sys/isofs/cd9660/cd9660_vfsops.c.org Mon Dec 6 23:34:15 2004 >+++ sys/isofs/cd9660/cd9660_vfsops.c Mon Dec 6 23:48:38 2004 >@@ -203,6 +203,8 @@ > return error; > } > imp = VFSTOISOFS(mp); >+ >+ vfs_mountedfrom(mp, fspec); > return 0; > } > > >And now mount shows: > >/dev/acd0 on /mnt (cd9660, local, read-only) > > >-- >Craig Rodrigues >rodrigc@crodrigues.org > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.