Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2004 23:58:31 -0500
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: NMOUNT/OMOUNT midway status
Message-ID:  <20041207045831.GA886@crodrigues.org>
In-Reply-To: <90140.1102367413@critter.freebsd.dk>
References:  <90140.1102367413@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041207045831.GA886>