Trying to get a cdwriter to write to loop device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to use a shareware program called PowerISO to extract a .daa cd image to a raw iso9660 format so that I can view the contents.

PowerISO runs like this:
________________
[nate@blackbox ~/.wine/drive_c/Program Files/PowerISO]$ sudo wine cdburn.exe
Password:
Usage:
        cdburn <drive> -erase [image [options]]
        cdburn <drive> image [options]
Options:
-erase Erases the disk before burning (valid for R/W only)
        -sao              Writes the image out in "session at once", or cue
                          sheet, mode (default is "track at once")
        -speed            Speed of burn, or 'max' for maximum speed
-imagehaspostgap Use if your image already contains a 150 sector postgap
        The [image] must be provided unless the -erase flag is set.
        If both an image and -erase are provided, the media will be
        erased prior to burning the image to the disc.
__________________

So I'd guess it would try to burn to my /dev/hdc with a blank cd-r inserted.

[nate@blackbox ~/.wine/drive_c/Program Files/PowerISO]$ sudo wine C:\\Program\ Files\\PowerISO\\cdburn.exe Z:\\dev\\hdc Z:\\media\\usb1\\usarmy.daa fixme:ntdll:NtFsControlFile stub! return success - Unsupported fsctl 90018 (device=9 access=0 func=6 method=0)
Error verifying ISO image

Ok, so that didn't work (it terminated really quickly too). I wondered if it could burn to a file instead... I wasn't too sure about this, first I created a 1 Gig empty file:
dd if=/dev/zero of=usarm.iso bs=1k count=1000000
losetup /dev/loop0 usarm.iso
mkdosfs -c /dev/loop0 1000000
mount -t vfat /dev/loop0 mnt/

[nate@blackbox ~/.wine/drive_c/Program Files/PowerISO]$ sudo wine C:\\Program\ Files\\PowerISO\\cdburn.exe Z:\\media\\usb1\\mnt Z:\\media\\usb1\\usarmy.daa
Error 5 opening device \\.\Z:\media\usb1\mnt

I added a link to /dev/hdc using winecfg, then tried again (it should be eqivalent to Z:\\dev\\hdc, right?).

[nate@blackbox ~/.wine/drive_c/Program Files/PowerISO]$ sudo wine C:\\Program\ Files\\PowerISO\\cdburn.exe D: Z:\\media\\usb1\\usarmy.daa
Error 2 opening device \\.\D:

[nate@blackbox ~/.wine/drive_c/Program Files/PowerISO]$ sudo wine C:\\Program\ Files\\PowerISO\\cdburn.exe D:\\ Z:\\media\\usb1\\usarmy.daa
Error 3 opening device \\.\D:\

Should Z:\\dev\\hdc be any different than D:\\ - they produce different errors?

[nate@blackbox /media/usb1/US Army course]$ ls -al ~/.wine/dosdevices/
total 8
drwxrwxr-x 2 nate nate 4096 Aug 14 15:05 .
drwxrwxr-x 4 nate nate 4096 Aug 14 15:10 ..
lrwxrwxrwx 1 nate nate   10 Jun 23 10:53 c: -> ../drive_c
lrwxrwxrwx 1 nate nate    8 Aug 14 15:05 d: -> /dev/hdc
lrwxrwxrwx 1 nate nate    1 Jun 23 10:53 z: -> /


output of mount:
/media/usb1/US Army course/usarm.iso on /media/usb1/mnt type vfat (rw,loop=/dev/loop0)
[nate@blackbox /media/usb1/US Army course]$ ls -al ../ | grep mnt
drwxr-xr-x  2 root root       4096 Aug 14 14:57 mnt
[nate@blackbox /media/usb1/US Army course]$ ls -al ../mnt/
total 20
drwxr-xr-x  2 root root 4096 Aug 14 14:57 .
drwxrwxrwx 38 nate nate 8192 Aug 14 11:46 ..
-rwxr-xr-x  1 root root  593 Aug 14 14:57 patchenv20060719
-rwxr-xr-x  1 root root 3302 Aug 14 14:19 xorg.conf.bak20060602

I also tried creating a iso9660 image to let cdburn write to. However, that did not work, and I found out that iso9660 is strictly read-only anyway.

Are there any suggestions or wisdom on what the errors mean?
Thanks,
Nathan
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux