Hello,

I have problems mounting Windows 7 DVD ISO images on OpenBSD 5.4
stable.  For example, you can download X17-59463.iso from
http://www.mydigitallife.info/official-windows-7-sp1-iso-from-digital-river/

# ls -l X17-59463.iso                                                          
-rw-------  1 meunier  users  2564476928 Feb 16 01:24 X17-59463.iso

Then:

# vnconfig vnd0 X17-59463.iso                                                  
# disklabel vnd0
# /dev/rvnd0c:
type: vnd
disk: GSP1RMCULFRER_EN
label: _DVD            
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 100
tracks/cylinder: 1
sectors/cylinder: 100
cylinders: 50087
total sectors: 5008744
boundstart: 0
boundend: 5008744
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:          5008744                0 ISO9660                   
  c:          5008744                0 ISO9660                   
# mount_cd9660 /dev/vnd0a /mnt                                                 
# ls -la /mnt
total 4
dr-xr-xr-x   1 root  wheel  112 Apr 12  2011 .
drwxr-xr-x  14 root  wheel  512 Dec 31 18:44 ..
-r-xr-xr-x   1 root  wheel  135 Apr 12  2011 README.TXT
# cat /mnt/README.TXT                                                          
This disc contains a "UDF" file system and requires an operating system
that supports the ISO-13346 "UDF" file system specification.
# umount /mnt
# mount_udf /dev/vnd0a /mnt                                                    
FSD does not lie within the partition!
mount_udf: mount: Invalid argument
#

So... how do I access the UDF file system on such a DVD ISO image?

For reference, here's what I get using Linux (booting Ubuntu from a
USB stick on the same computer):

me@pc:~$ sudo mount -t ufs -o ufstype=44bsd,ro /dev/sda8 /mnt
me@pc:~$ sudo mount -o loop /mnt/meunier/X17-59463.iso /mnt2
me@pc:~$ mount | egrep iso
/mnt/meunier/X17-59463.iso on /mnt2 type udf (ro)
me@pc:~$ ls /mnt2
autorun.inf  boot  bootmgr  efi  setup.exe  sources  support  upgrade
me@pc:~$

Is there any way to get the same thing on OpenBSD, or am I out of
luck?

Thanks,

Philippe

Reply via email to