From owner-freebsd-questions@FreeBSD.ORG Thu Mar 11 06:40:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B29C516A4CE for ; Thu, 11 Mar 2004 06:40:56 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54A0943D1F for ; Thu, 11 Mar 2004 06:40:55 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: nZgtYanPwRcZLFx9KGvL6Q 1079016053 Received: from [206.26.199.146] (unknown [206.27.244.214]) by www.fastmail.fm (Postfix) with ESMTP id 82384705D9E; Thu, 11 Mar 2004 09:40:51 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1B1RMM-0001TU-00; Thu, 11 Mar 2004 08:40:30 -0600 Date: Thu, 11 Mar 2004 08:40:30 -0600 From: Nathan Kinkade To: Odhiambo Washington , FreeBSD Mailing list Message-ID: <20040311144030.GC858@nkinkade.bmp.ub> Mail-Followup-To: Odhiambo Washington , FreeBSD Mailing list References: <20040311103035.GA95376@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oJ71EGRlYNjSvfq7" Content-Disposition: inline In-Reply-To: <20040311103035.GA95376@ns2.wananchi.com> User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade Subject: Re: mount an ISO image on rw mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 14:40:56 -0000 --oJ71EGRlYNjSvfq7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 11, 2004 at 01:30:35PM +0300, Odhiambo Washington wrote: > Hello users, >=20 > Perhaps I am just being stupid, doing a lot of things at the same time, > thus losing it. > Am I just dreaming by imagining that I can mount an ISO image with write > access? >=20 > I have done >=20 > [root@ns2]#vnconfig /dev/vn0c /wananchi/FreeSBIE-1.0-i386.iso > [root@ns2]#mount_cd9660 /dev/vn0c /freesbie >=20 > This mounts the image in read-only mode. However, I would like to modify > a few files on the image before writing it to a CD. >=20 > The man page for mount says that I could use -o -w to achieve a write > mode. Does this also apply to ISO iamages? I was thinking that once > mounted, they should behave like regular files, no? >=20 > -Wash I don't have an answer to this, but wanted to chime in because I have had the same issue in the past. I had once heard a friend tell me that he used to create ISO images in this very way in Linux by mounting an ISO image on a (Linux) loop device and then copy files to the image. It seems like it could be a flexible and convenient way to quickly create an ISO image at random, but I've never been able to get FreeBSD to mount and ISO image rw using either vnconfig or mdconfig. Maybe there are some practical considerations that we are overlooking? Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --oJ71EGRlYNjSvfq7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFAUHpeO0ZIEthSfkkRArn2AJ9Hm5hjA5FmSkWY36fwkD9m5UZcxACg1NUe E45CtnW/nnPbVPBIFu+pY2Y= =tztV -----END PGP SIGNATURE----- --oJ71EGRlYNjSvfq7--