Re: hdiutil help

2011-11-10 Thread Eric Volker
 Yes, I understand what is happening and why (now), but I think for most 
 noob's MacOSX should have treated ISO images differently when you click on 
 one and then click on the Burn to Disc button.  It just does not seem to be 
 as intuitive as it should be for users that are not as smart as you are (or 
 I am now). ;-)

 I agree, the Finder should be smart enough to recognize a burnable image like 
 that and just do the right thing.

Bruce, I know I'm very late to this party, but why not use -fs UDF? I
tried this and got an error from hdiutil, but I was able to mount the
image with Disk Utility and it shows up as a UDF disk image in CMD-I.
Windows should be able to handle UDF properly, no?

Error was: mount_udf: mount_udf: open /dev/disk3 failed, Resource
busy: Resource busy
/sbin/mount failed with error 256

However, the resulting image mounted properly as a UDF image.

Eric

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: hdiutil help

2011-11-04 Thread David W. Morris
Isn't it because the ISO should an CD-ROM format, such as Rockridge,  
or Joliet, or ISO 9660, and not a file format that is used on hard  
drives?  I have created many useless CD-R drink coasters while trying  
to burn an ISO to a CD-R disc, because MacOSX often mistakenly asks if  
I want to burn the Contents of the ISO image to the CD-R, instead of  
burning the ISO image on to the CD-R and I forget that doing it that  
way does not create a CD-ROM that can be read on other computers.   
When I use OSX's Disk Utility and burn the ISO image to the CD-R, I  
get a CD-ROM that can be read on any computer.


Hope this helps.  (from the new guy, AmigaDave)

On Nov 3, 2011, at 6:58 PM, slvrmoonti...@yahoo.com wrote:

It probably giving that error because Macs can't read MS-DOS. Can  
you use the -fs option for FAT or FAT32?



Sent from my Verizon Wireless BlackBerry

-Original Message-
From: Bruce Johnson john...@pharmacy.arizona.edu
Sender: g3-5-list@googlegroups.com
Date: Thu, 3 Nov 2011 15:43:23
To: Macintel Listmacin...@googlegroups.com
Reply-To: g3-5-list@googlegroups.com
Cc: g3-5-list@googlegroups.com
Subject: hdiutil help

I'm trying to write a script that turns a zip file into a Windows- 
mountable ISO file, and my sticking point is the hdiutil command  
creating the disk image.


hdiutil create image_name  -format UDTO -srcfolder source-folder- 
path


Works. It creates a .cdr (aka .iso) file with the contents of the  
source folder. However the resulting disk image is formatted with a  
HFS+ file system, so when you try to mount the .iso file on a wondws  
machine (or the disk made by burning it) Windows claims it's  
corrupted and unreadable.


hdiutil has a -fs option allowing me to choose MS-DOS as the file  
system but trying that results in an error:


mount_msdos: /dev/disk2 on /Volumes/TEST: Operation not permitted
/sbin/mount failed with error 18176

However, it seems to continue to make the disk image.

Anyone know why it' spitting out that error?

(and before you suggest it:

No Toast is not an acceptable solution, nor is using Disk Utility,  
this has to be managed on a regular basis by a user who just wants  
to stick some stuff in his windows Access database (yes, I'm writing  
a Mac utility to create an ISO so Access can use it in his Windows VM)


--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
You received this message because you are a member of G-Group, a  
group for those using G3, G4, and G5 desktop Macs - with a  
particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our  
netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml

To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list

--
You received this message because you are a member of G-Group, a  
group for those using G3, G4, and G5 desktop Macs - with a  
particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our  
netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml

To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: hdiutil help

2011-11-04 Thread Bruce Johnson

On Nov 3, 2011, at 6:58 PM, slvrmoonti...@yahoo.com wrote:

 It probably giving that error because Macs can't read MS-DOS. Can you use the 
 -fs option for FAT or FAT32?
 

MS-DOS is what OS X calls FAT , so yes, Macs can read MS-DOS, and have been 
able to since system 6 or so. You may be thinking NTFS which is Windows' 
current file system and Macs can read that natively, just not write it….and the 
problem isn't that the Mac can't read it it's that Windows can't.

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: hdiutil help

2011-11-04 Thread Bruce Johnson

On Nov 3, 2011, at 7:47 PM, David W. Morris wrote:

 sn't it because the ISO should an CD-ROM format, such as Rockridge, or 
 Joliet, or ISO 9660, and not a file format that is used on hard drives?  

Well actually ISO is a partitioning scheme, which hosts a file structure, which 
may be a variety of underlying file systems, like MS-DOS and HFS+.


 I have created many useless CD-R drink coasters while trying to burn an ISO 
 to a CD-R disc, because MacOSX often mistakenly asks if I want to burn the 
 Contents of the ISO image to the CD-R, instead of burning the ISO image on 
 to the CD-R and I forget that doing it that way does not create a CD-ROM that 
 can be read on other computers.  When I use OSX's Disk Utility and burn the 
 ISO image to the CD-R, I get a CD-ROM that can be read on any computer.


That actually doesn't have anything to do with the ISO-ness of the dis image, 
but the way you'e burining the image….the first occurs when you tell OS X to 
put a file onto a disk (the iso file) and make a data CD out of it. The second 
(via Disk Utility) you're explicitly telling the mac that the file in question 
is a disk image and should be treated as such, hence the successful burning.


-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: hdiutil help

2011-11-04 Thread Frank Rojer
Hello:

First you must tell us your configuration.
I suppose you are writing a script with Applescript.
And you are using a virtual environment.
Is that correct? I am retired and I had some time helping you.

Here is a link to convert a zip file to an ISO file readable by mac.
I found it using google.com.
I had to register to brainsurface.com to take a look at the article.


http://www.brainsurface.com/how-to-convert-downloaded-zip-files-into-iso-files-for-use-as-virtual-cddvd-roms

Break a leg!! (I hope this will help you)

end of email===




On Fri, Nov 4, 2011 at 2:17 PM, Bruce Johnson
john...@pharmacy.arizona.eduwrote:


 On Nov 3, 2011, at 6:58 PM, slvrmoonti...@yahoo.com wrote:

 It probably giving that error because Macs can't read MS-DOS. Can you use
 the -fs option for FAT or FAT32?


 MS-DOS is what OS X calls FAT , so yes, Macs can read MS-DOS, and have
 been able to since system 6 or so. You may be thinking NTFS which is
 Windows' current file system and Macs can read that natively, just not
 write it….and the problem isn't that the Mac can't read it it's that
 Windows can't.

  --
 Bruce Johnson
 University of Arizona
 College of Pharmacy
 Information Technology Group

 Institutions do not have opinions, merely customs

  --
 You received this message because you are a member of G-Group, a group for
 those using G3, G4, and G5 desktop Macs - with a particular focus on Power
 Macs.
 The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our
 netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml
 To post to this group, send email to g3-5-list@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/g3-5-list


-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: hdiutil help

2011-11-04 Thread David W. Morris
Yes, I understand what is happening and why (now), but I think for  
most noob's MacOSX should have treated ISO images differently when you  
click on one and then click on the Burn to Disc button.  It just does  
not seem to be as intuitive as it should be for users that are not as  
smart as you are (or I am now). ;-)



On Nov 4, 2011, at 6:21 AM, Bruce Johnson wrote:



On Nov 3, 2011, at 7:47 PM, David W. Morris wrote:

sn't it because the ISO should an CD-ROM format, such as Rockridge,  
or Joliet, or ISO 9660, and not a file format that is used on hard  
drives?


Well actually ISO is a partitioning scheme, which hosts a file  
structure, which may be a variety of underlying file systems, like  
MS-DOS and HFS+.



I have created many useless CD-R drink coasters while trying to  
burn an ISO to a CD-R disc, because MacOSX often mistakenly asks if  
I want to burn the Contents of the ISO image to the CD-R, instead  
of burning the ISO image on to the CD-R and I forget that doing it  
that way does not create a CD-ROM that can be read on other  
computers.  When I use OSX's Disk Utility and burn the ISO image to  
the CD-R, I get a CD-ROM that can be read on any computer.



That actually doesn't have anything to do with the ISO-ness of the  
dis image, but the way you'e burining the image….the first occurs  
when you tell OS X to put a file onto a disk (the iso file) and make  
a data CD out of it. The second (via Disk Utility) you're explicitly  
telling the mac that the file in question is a disk image and should  
be treated as such, hence the successful burning.



--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
You received this message because you are a member of G-Group, a  
group for those using G3, G4, and G5 desktop Macs - with a  
particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our  
netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml

To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


--
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: hdiutil help

2011-11-04 Thread Bruce Johnson

On Nov 4, 2011, at 7:20 AM, David W. Morris wrote:

 Yes, I understand what is happening and why (now), but I think for most 
 noob's MacOSX should have treated ISO images differently when you click on 
 one and then click on the Burn to Disc button.  It just does not seem to be 
 as intuitive as it should be for users that are not as smart as you are (or I 
 am now). ;-)

I agree, the Finder should be smart enough to recognize a burnable image like 
that and just do the right thing.

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: hdiutil help

2011-11-03 Thread slvrmoontiger
It probably giving that error because Macs can't read MS-DOS. Can you use the 
-fs option for FAT or FAT32?


Sent from my Verizon Wireless BlackBerry

-Original Message-
From: Bruce Johnson john...@pharmacy.arizona.edu
Sender: g3-5-list@googlegroups.com
Date: Thu, 3 Nov 2011 15:43:23 
To: Macintel Listmacin...@googlegroups.com
Reply-To: g3-5-list@googlegroups.com
Cc: g3-5-list@googlegroups.com
Subject: hdiutil help

I'm trying to write a script that turns a zip file into a Windows-mountable ISO 
file, and my sticking point is the hdiutil command creating the disk image.

hdiutil create image_name  -format UDTO -srcfolder source-folder-path

Works. It creates a .cdr (aka .iso) file with the contents of the source 
folder. However the resulting disk image is formatted with a HFS+ file system, 
so when you try to mount the .iso file on a wondws machine (or the disk made by 
burning it) Windows claims it's corrupted and unreadable.

hdiutil has a -fs option allowing me to choose MS-DOS as the file system but 
trying that results in an error:

mount_msdos: /dev/disk2 on /Volumes/TEST: Operation not permitted
/sbin/mount failed with error 18176

However, it seems to continue to make the disk image.

Anyone know why it' spitting out that error?

(and before you suggest it:

No Toast is not an acceptable solution, nor is using Disk Utility, this has to 
be managed on a regular basis by a user who just wants to stick some stuff in 
his windows Access database (yes, I'm writing a Mac utility to create an ISO so 
Access can use it in his Windows VM)

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list