Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 08:40:30 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Odhiambo Washington <wash@wananchi.com>, FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   Re: mount an ISO image on rw mode
Message-ID:  <20040311144030.GC858@nkinkade.bmp.ub>
In-Reply-To: <20040311103035.GA95376@ns2.wananchi.com>
References:  <20040311103035.GA95376@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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