mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread Евгений Л
Hello everyone, I am trying to mount an ISO image (which was converted with
with help from ccd2iso tool), I used

mdconfig -a -t vnode -f ./isoimage.iso -u 3
mount -t cd9660 /dev/md3 /cdrom

and

mdconfig -a -f /path/disk.iso md1
mount -t cd9660 /dev/md1 /mnt/path

variant of the proper way. It doesn't work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread Mel Flynn
On Monday 20 April 2009 18:32:58 Евгений Л wrote:
 Hello everyone, I am trying to mount an ISO image (which was converted with
 with help from ccd2iso tool)

Tried that too, I think that tool is broken, cause known working ISOs work 
with mdconfig as you described :/
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread Josh Carroll
On Mon, Apr 20, 2009 at 12:32 PM, Евгений Л root1...@gmail.com wrote:
 Hello everyone, I am trying to mount an ISO image (which was converted with
 with help from ccd2iso tool), I used

 mdconfig -a -t vnode -f ./isoimage.iso -u 3
 mount -t cd9660 /dev/md3 /cdrom

 and

 mdconfig -a -f /path/disk.iso md1
 mount -t cd9660 /dev/md1 /mnt/path

 variant of the proper way. It doesn't work.

Both work fine here on 7.2-RC1/amd64:

r...@pflog:~# mdconfig -a -t vnode -f ./7.2-RC1-i386-bootonly.iso
md0
r...@pflog:~# mount -t cd9660 /dev/md0 /mnt  ls /mnt  umount /mnt
boot boot.catalog cdrom.inf

r...@pflog:~# mdconfig -d -u 0

r...@pflog:~# mdconfig -a -f ./7.2-RC1-i386-bootonly.iso -u 3
r...@pflog:~# mount -t cd9660 /dev/md3 /mnt  ls /mnt  umount /mnt
boot boot.catalog cdrom.inf

How doesn't it work? What error do you get? I would be more suspicious
of the .iso file being invalid/corrupt.

Regards,
Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread Paul Schmehl
--On Monday, April 20, 2009 11:32:58 -0500 ??? ? root1...@gmail.com 
wrote:




Hello everyone, I am trying to mount an ISO image (which was converted with
with help from ccd2iso tool), I used

mdconfig -a -t vnode -f ./isoimage.iso -u 3
mount -t cd9660 /dev/md3 /cdrom

and

mdconfig -a -f /path/disk.iso md1
mount -t cd9660 /dev/md1 /mnt/path

variant of the proper way. It doesn't work.


This works.  I got it from a previous post to the list answering my question 
two years ago.


To mount:

   mdconfig -a -t vnode -u 0 -f somefile.iso mount -t cd9660 /dev/md0 /mnt

To unmount:

   umount /mnt
   mdconfig -d -u 0

Thanks to A.J. Kehoe IV for posting that answer almost two years ago to the day.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread Евгений Л
20 апреля 2009 г. 21:11 пользователь Josh Carroll
josh.carr...@gmail.comнаписал:

 On Mon, Apr 20, 2009 at 12:32 PM, Евгений Л root1...@gmail.com wrote:
  Hello everyone, I am trying to mount an ISO image (which was converted
 with
  with help from ccd2iso tool), I used
 
  mdconfig -a -t vnode -f ./isoimage.iso -u 3
  mount -t cd9660 /dev/md3 /cdrom
 
  and
 
  mdconfig -a -f /path/disk.iso md1
  mount -t cd9660 /dev/md1 /mnt/path
 
  variant of the proper way. It doesn't work.

 Both work fine here on 7.2-RC1/amd64:

 r...@pflog:~# mdconfig -a -t vnode -f ./7.2-RC1-i386-bootonly.iso
 md0
 r...@pflog:~# mount -t cd9660 /dev/md0 /mnt  ls /mnt  umount /mnt
 boot boot.catalog cdrom.inf

 r...@pflog:~# mdconfig -d -u 0

 r...@pflog:~# mdconfig -a -f ./7.2-RC1-i386-bootonly.iso -u 3
 r...@pflog:~# mount -t cd9660 /dev/md3 /mnt  ls /mnt  umount /mnt
 boot boot.catalog cdrom.inf

 How doesn't it work? What error do you get? I would be more suspicious
 of the .iso file being invalid/corrupt.

 Regards,
 Josh



Just tried UltraISO through WINE, now everything works allright, ccd2iso
utility is apparently broken
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread 张臻
On Mon, Apr 20, 2009 at 08:32:58PM +0400, 遄桥紊� � wrote:
Hello everyone, I am trying to mount an ISO image (which was converted with
with help from ccd2iso tool), I used

mdconfig -a -t vnode -f ./isoimage.iso -u 3
mount -t cd9660 /dev/md3 /cdrom

and

mdconfig -a -f /path/disk.iso md1
mount -t cd9660 /dev/md1 /mnt/path

variant of the proper way. It doesn't work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I have tried 
my# mdconfig -a -t vnode -f ./texlive2008-20080822.iso -u 3
my# mount_cd9660 /dev/md
on my FreeBSD7.1 system. And it seems ok.
-- 

# 欢迎访问我的小站 #
#http://zhangzhen.czm.cn   #

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org