From owner-freebsd-questions@FreeBSD.ORG Tue May 18 04:52:24 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 F09E916A5A9 for ; Tue, 18 May 2004 04:52:23 -0700 (PDT) Received: from chello080110061116.502.15.vie.surfer.at (chello080110061116.502.15.vie.surfer.at [80.110.61.116]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C2ED43E63 for ; Tue, 18 May 2004 04:29:33 -0700 (PDT) (envelope-from 4711@chello.at) Received: (qmail 26403 invoked from network); 18 May 2004 11:28:27 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 18 May 2004 11:28:27 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Tue, 18 May 2004 13:28:14 +0200 User-Agent: KMail/1.6.2 References: <20040518105316.59107.qmail@web40301.mail.yahoo.com> In-Reply-To: <20040518105316.59107.qmail@web40301.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_bNfqAUI7QCIEGYq"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405181328.27363.4711@chello.at> cc: Stephen Liu Subject: Re: How to mount and read cdimage before burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 11:52:24 -0000 --Boundary-02=_bNfqAUI7QCIEGYq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 18 May 2004 12:53, Stephen Liu wrote: > Hi folks, > > Freebsd 5.2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Following command works on Linux but not on Freebsd > # mount cd_image.iso -r -t iso9660 -o loop /mnt > (remark: iso9660 changed to cd9660) > > Google search brought following link > http://www.freebsddiary.org/iso-mount.php > > $ vnconfig /dev/vn0c cd_image.iso > ERROR: vnconfig(8) has been discontinued > Please use mdconfig(8). > $ mdconfig /dev/vn0c cd_image.iso > mdconfig: open(/dev/mdctl): Permission denied > $ su > Password: > # mdconfig /dev/md0c cd_image.iso > usage: > mdconfig -a -t type [-n] [-o [no]option]... [ > -f file] [-s size] [-S sectorsize] [-u unit] > mdconfig -d -u unit > mdconfig -l [-n] [-u unit] > type =3D {malloc, preload, vnode, swap} > option =3D {cluster, compress, reserve} > size =3D %d (512 byte blocks), %dk (kB), > %dm (MB) or %dg (GB) > > Have no idea how to proceed further. Kindly advise. > > TIA > > B.R. > Stephen Liu > > _______________________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" attach md: # mdconfig -a -t vnode -f /yourpath/your.iso=20 # mount -t cd9660 /dev/md0 /yourmountpoint list configured mds: # mdconfig -l unmount and detach: # umount /yourmountpoint # mdconfig -d -u 0 There are some examples listed in 'man 8 mdconfig'.=20 regards ch=20 =2D-=20 Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x941B6B0B=20 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu --Boundary-02=_bNfqAUI7QCIEGYq Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAqfNbcyi/EZQbawsRAr+PAKCnlA7ZiPIfO+wshZz7OKb3LPsE+QCfe+s7 ipBckG2asLntwXP7WEEG31A= =LnRE -----END PGP SIGNATURE----- --Boundary-02=_bNfqAUI7QCIEGYq--