Date: Tue, 18 May 2004 20:29:26 +0800 (CST) From: =?iso-8859-1?q?Stephen=20Liu?= <satimis@yahoo.com> To: Christian Hiris <4711@chello.at>, freebsd-questions@freebsd.org Cc: Ion-Mihai Tetcu <itetcu@apropo.ro> Subject: Re: How to mount and read cdimage before burning Message-ID: <20040518122926.19300.qmail@web40304.mail.yahoo.com> In-Reply-To: <200405181328.27363.4711@chello.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Christian, Ion-Mihai and others Tks for your advice which works for me. Problem is solved now. B.R. Stephen > > Hi folks, > > > > Freebsd 5.2 > > =========== > > > > 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 = {malloc, preload, vnode, > swap} > > option = {cluster, compress, > reserve} > > size = %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 > attach md: > # mdconfig -a -t vnode -f /yourpath/your.iso > # 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'. _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040518122926.19300.qmail>