public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hduitil for linux
@ 2008-09-24  2:34 Andrey Vul
  2008-09-24 11:18 ` Joerg Schilling
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Vul @ 2008-09-24  2:34 UTC (permalink / raw
  To: gentoo-user

Is there a hdiutil clone for Linux? mkisofs lacks HFS+ support and my
SSE3-capable computer is still compiling KDE. It will take a long
while to get OSX inside VMware working.

-- 
Andrey Vul



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-24  2:34 [gentoo-user] hduitil for linux Andrey Vul
@ 2008-09-24 11:18 ` Joerg Schilling
  2008-09-24 22:35   ` Andrey Vul
  0 siblings, 1 reply; 14+ messages in thread
From: Joerg Schilling @ 2008-09-24 11:18 UTC (permalink / raw
  To: gentoo-user

"Andrey Vul" <andrey.vul@gmail.com> wrote:

> Is there a hdiutil clone for Linux? mkisofs lacks HFS+ support and my
> SSE3-capable computer is still compiling KDE. It will take a long
> while to get OSX inside VMware working.

Why do you believe that you need HFS+ at all?

mkisofs supports Apple MAC UDF extensions since Spring 2007.


Just have a look at the man page and use the same options as you would 
use to create HFS but in addition add:

-UDF		to enable a non-anonymous UDF hybrid file system

-no-hfs		to turn off creating a ISO9660/HFS hybrid 
		when UDF based Mac OS extensions are used.

This uses code that was developped by the German Company Helios that is 
specialized on selling self created SunOS (and now also others) based file 
servers to turn off creating a ISO9660/HFS hybrid when UDF based Mac OS 
extensions are used for Apple products since more than 20 years. As Helios 
uses mkisofs and it's UDF MAC extensions for backups, this could be called 
the only known mature solution.

P.S. make sure you are not using the outdated mkisofs clone from Debian.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-24 11:18 ` Joerg Schilling
@ 2008-09-24 22:35   ` Andrey Vul
  2008-09-24 22:48     ` Joerg Schilling
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Vul @ 2008-09-24 22:35 UTC (permalink / raw
  To: gentoo-user

On Wed, Sep 24, 2008 at 7:18 AM, Joerg Schilling
<Joerg.Schilling@fokus.fraunhofer.de> wrote:
> "Andrey Vul" <andrey.vul@gmail.com> wrote:
>
>> Is there a hdiutil clone for Linux? mkisofs lacks HFS+ support and my
>> SSE3-capable computer is still compiling KDE. It will take a long
>> while to get OSX inside VMware working.
>
> Why do you believe that you need HFS+ at all?
Because I have paths which exceed the HFS limit and lead to
truncation, in addition to symlinks. Both work incorrectly.
E.g.,
HFS+ directory name: Garritan Instruments for Finale 2009
HFS directory name: Garritan Instruments for Finale

I want my remastered (backup) to look exactly like the original:
Joliet(or ISO9660:1999) for Windows and HFS+ for OS X.
>
> mkisofs supports Apple MAC UDF extensions since Spring 2007.
UDF != HFS+

-- 
Andrey Vul



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-24 22:35   ` Andrey Vul
@ 2008-09-24 22:48     ` Joerg Schilling
  2008-09-24 23:23       ` Andrey Vul
  0 siblings, 1 reply; 14+ messages in thread
From: Joerg Schilling @ 2008-09-24 22:48 UTC (permalink / raw
  To: gentoo-user

"Andrey Vul" <andrey.vul@gmail.com> wrote:

> > Why do you believe that you need HFS+ at all?
> Because I have paths which exceed the HFS limit and lead to
> truncation, in addition to symlinks. Both work incorrectly.
> E.g.,
> HFS+ directory name: Garritan Instruments for Finale 2009
> HFS directory name: Garritan Instruments for Finale

No problem for UDF!

> I want my remastered (backup) to look exactly like the original:
> Joliet(or ISO9660:1999) for Windows and HFS+ for OS X.
> >
> > mkisofs supports Apple MAC UDF extensions since Spring 2007.
> UDF != HFS+

Correct, but I still see no reason why HFS+ is required.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-24 22:48     ` Joerg Schilling
@ 2008-09-24 23:23       ` Andrey Vul
  2008-09-25  8:23         ` Joerg Schilling
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Vul @ 2008-09-24 23:23 UTC (permalink / raw
  To: gentoo-user

On Wed, Sep 24, 2008 at 6:48 PM, Joerg Schilling
<Joerg.Schilling@fokus.fraunhofer.de> wrote:
> "Andrey Vul" <andrey.vul@gmail.com> wrote:
>
>> > Why do you believe that you need HFS+ at all?
>> Because I have paths which exceed the HFS limit and lead to
>> truncation, in addition to symlinks. Both work incorrectly.
>> E.g.,
>> HFS+ directory name: Garritan Instruments for Finale 2009
>> HFS directory name: Garritan Instruments for Finale
>
> No problem for UDF!
>
>> I want my remastered (backup) to look exactly like the original:
>> Joliet(or ISO9660:1999) for Windows and HFS+ for OS X.
>> >
>> > mkisofs supports Apple MAC UDF extensions since Spring 2007.
>> UDF != HFS+
>
> Correct, but I still see no reason why HFS+ is required.
Have you mastered OS X install CD/DVDs using AppleUDF and have them
behave identically to HFS+ CD/DVDs?
Also, AFAIK UDF doesn't support embedded control characters in files
(i.e. Icon\r).
>
>
> Jörg
>
> --
>  EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
>       js@cs.tu-berlin.de                (uni)
>       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
>  URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
>
>



-- 
Andrey Vul



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-24 23:23       ` Andrey Vul
@ 2008-09-25  8:23         ` Joerg Schilling
  2008-09-26  2:44           ` Andrey Vul
  0 siblings, 1 reply; 14+ messages in thread
From: Joerg Schilling @ 2008-09-25  8:23 UTC (permalink / raw
  To: gentoo-user

"Andrey Vul" <andrey.vul@gmail.com> wrote:

> > Correct, but I still see no reason why HFS+ is required.
> Have you mastered OS X install CD/DVDs using AppleUDF and have them
> behave identically to HFS+ CD/DVDs?

Did you?

Why do your answers look as if you were unwilling to even give it a try?



> Also, AFAIK UDF doesn't support embedded control characters in files
> (i.e. Icon\r).

This claim is of course wrong.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-25  8:23         ` Joerg Schilling
@ 2008-09-26  2:44           ` Andrey Vul
  2008-09-26  6:34             ` Sebastian Günther
  2008-09-26 15:20             ` Joerg Schilling
  0 siblings, 2 replies; 14+ messages in thread
From: Andrey Vul @ 2008-09-26  2:44 UTC (permalink / raw
  To: gentoo-user

On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
<Joerg.Schilling@fokus.fraunhofer.de> wrote:
> "Andrey Vul" <andrey.vul@gmail.com> wrote:
>
>> Also, AFAIK UDF doesn't support embedded control characters in files
>> (i.e. Icon\r).
>
> This claim is of course wrong.
I beg to differ.
Output of ls -Alh in the Installer.app dir is supposed to show
"Icon?". UDF image shows "Icon_" instead.
This is enough for me to lose trust in UDF for hybrid CD/DVDs :(

mkisofs command: mkisofs -o fin2k9.iso -udf -iso-level 4 -V "Finale
2009" /mnt/iso0
/mnt/iso0 is an hfs+ mountpoint from fin2k9.dmg
mkisofs version: mkisofs 2.01.01a42 (i686-pc-linux-gnu) Copyright (C)
1993-1997 Eric Youngdale (C) 1997-2008 Jörg Schilling


-- 
Andrey Vul



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-26  2:44           ` Andrey Vul
@ 2008-09-26  6:34             ` Sebastian Günther
  2008-09-26 14:13               ` Andrey Vul
  2008-09-26 15:20             ` Joerg Schilling
  1 sibling, 1 reply; 14+ messages in thread
From: Sebastian Günther @ 2008-09-26  6:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]

* Andrey Vul (andrey.vul@gmail.com) [26.09.08 04:45]:
> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
> <Joerg.Schilling@fokus.fraunhofer.de> wrote:
> > "Andrey Vul" <andrey.vul@gmail.com> wrote:
> >
> >> Also, AFAIK UDF doesn't support embedded control characters in files
> >> (i.e. Icon\r).
> >
> > This claim is of course wrong.
> I beg to differ.
> Output of ls -Alh in the Installer.app dir is supposed to show
> "Icon?". UDF image shows "Icon_" instead.
       ^
Are completely sure that this is a question mark?

> This is enough for me to lose trust in UDF for hybrid CD/DVDs :(

> 1993-1997 Eric Youngdale (C) 1997-2008 Jörg Schilling
                                          ^^
                                          Because this indicates some 
problems with your locale and question marks are often used if a 
charakter can't be displayed correctly.

Sebastian

-- 
 " Religion ist das Opium des Volkes. "      Karl Marx

 SEB@STI@N GÜNTHER         mailto:samson@guenther-roetgen.de

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-26  6:34             ` Sebastian Günther
@ 2008-09-26 14:13               ` Andrey Vul
  2008-09-26 15:18                 ` Joerg Schilling
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Vul @ 2008-09-26 14:13 UTC (permalink / raw
  To: gentoo-user

On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
<samson@guenther-roetgen.de> wrote:
> * Andrey Vul (andrey.vul@gmail.com) [26.09.08 04:45]:
>> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
>> <Joerg.Schilling@fokus.fraunhofer.de> wrote:
>> > "Andrey Vul" <andrey.vul@gmail.com> wrote:
>> >
>> >> Also, AFAIK UDF doesn't support embedded control characters in files
>> >> (i.e. Icon\r).
>> >
>> > This claim is of course wrong.
>> I beg to differ.
>> Output of ls -Alh in the Installer.app dir is supposed to show
>> "Icon?". UDF image shows "Icon_" instead.
>       ^
> Are completely sure that this is a question mark?
ls converts control characters into question  marks unless -b is specified.
>
-- 
Andrey Vul



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-26 14:13               ` Andrey Vul
@ 2008-09-26 15:18                 ` Joerg Schilling
  2008-09-26 16:10                   ` Andrey Vul
  0 siblings, 1 reply; 14+ messages in thread
From: Joerg Schilling @ 2008-09-26 15:18 UTC (permalink / raw
  To: gentoo-user

"Andrey Vul" <andrey.vul@gmail.com> wrote:

> On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
> <samson@guenther-roetgen.de> wrote:
> > * Andrey Vul (andrey.vul@gmail.com) [26.09.08 04:45]:
> >> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
> >> <Joerg.Schilling@fokus.fraunhofer.de> wrote:
> >> > "Andrey Vul" <andrey.vul@gmail.com> wrote:
> >> >
> >> >> Also, AFAIK UDF doesn't support embedded control characters in files
> >> >> (i.e. Icon\r).
> >> >
> >> > This claim is of course wrong.
> >> I beg to differ.
> >> Output of ls -Alh in the Installer.app dir is supposed to show
> >> "Icon?". UDF image shows "Icon_" instead.
> >       ^
> > Are completely sure that this is a question mark?
> ls converts control characters into question  marks unless -b is specified.

ls does not mark \r this way, gls may do.....

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-26  2:44           ` Andrey Vul
  2008-09-26  6:34             ` Sebastian Günther
@ 2008-09-26 15:20             ` Joerg Schilling
  1 sibling, 0 replies; 14+ messages in thread
From: Joerg Schilling @ 2008-09-26 15:20 UTC (permalink / raw
  To: gentoo-user

"Andrey Vul" <andrey.vul@gmail.com> wrote:

> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
> <Joerg.Schilling@fokus.fraunhofer.de> wrote:
> > "Andrey Vul" <andrey.vul@gmail.com> wrote:
> >
> >> Also, AFAIK UDF doesn't support embedded control characters in files
> >> (i.e. Icon\r).
> >
> > This claim is of course wrong.
> I beg to differ.
> Output of ls -Alh in the Installer.app dir is supposed to show
> "Icon?". UDF image shows "Icon_" instead.
> This is enough for me to lose trust in UDF for hybrid CD/DVDs :(
>
> mkisofs command: mkisofs -o fin2k9.iso -udf -iso-level 4 -V "Finale
> 2009" /mnt/iso0
> /mnt/iso0 is an hfs+ mountpoint from fin2k9.dmg
> mkisofs version: mkisofs 2.01.01a42 (i686-pc-linux-gnu) Copyright (C)
> 1993-1997 Eric Youngdale (C) 1997-2008 JÃ?rg Schilling

Use cdrtools-2.01.01a50

ftp://ftp.berlios.de/pub/cdrecord/alpha/

The current version no longer enforces silly Microsoft rules on UDF in case
that the image does not contain Joliet too.

Note that in order to get Apple extensions, you of course need to specify the 
related options to mkisofs.



Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-26 15:18                 ` Joerg Schilling
@ 2008-09-26 16:10                   ` Andrey Vul
  2008-09-26 18:44                     ` Andrey Vul
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Vul @ 2008-09-26 16:10 UTC (permalink / raw
  To: gentoo-user

On Fri, Sep 26, 2008 at 11:18 AM, Joerg Schilling
<Joerg.Schilling@fokus.fraunhofer.de> wrote:
> "Andrey Vul" <andrey.vul@gmail.com> wrote:
>
>> On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
>> <samson@guenther-roetgen.de> wrote:
>> > * Andrey Vul (andrey.vul@gmail.com) [26.09.08 04:45]:
>> >> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
>> >> <Joerg.Schilling@fokus.fraunhofer.de> wrote:
>> >> > "Andrey Vul" <andrey.vul@gmail.com> wrote:
>> >> >
>> >> >> Also, AFAIK UDF doesn't support embedded control characters in files
>> >> >> (i.e. Icon\r).
>> >> >
>> >> > This claim is of course wrong.
>> >> I beg to differ.
>> >> Output of ls -Alh in the Installer.app dir is supposed to show
>> >> "Icon?". UDF image shows "Icon_" instead.
>> >       ^
>> > Are completely sure that this is a question mark?
>> ls converts control characters into question  marks unless -b is specified.
>
> ls does not mark \r this way, gls may do.....
Still, "ls -Ab" on the dmg file does not match "ls -Ab" on the remastered ISO.
I.e.:
andrey@andrey ~ $ ls -b /mnt/iso0/InstallFinale.app/
Contents  Icon\r
andrey@andrey ~ $ ls -b /mnt/iso1/InstallFinale.app/
Contents  Icon_
, where /mnt/iso1 is the folowing: mkisofs -o fin2k9.iso -udf
-iso-level 4 -V "Finale 2009" /mnt/iso0 && sudo mount fin2k9.iso
/mnt/iso1 -o loop

Unless there's a mkisofs option that does not convert "low ASCII" to
_, I'm stuck to using HFS+ (since I have paths > 31 characters).



-- 
Andrey Vul



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-26 16:10                   ` Andrey Vul
@ 2008-09-26 18:44                     ` Andrey Vul
  2008-09-26 20:34                       ` Joerg Schilling
  0 siblings, 1 reply; 14+ messages in thread
From: Andrey Vul @ 2008-09-26 18:44 UTC (permalink / raw
  To: gentoo-user

On Fri, Sep 26, 2008 at 12:10 PM, Andrey Vul <andrey.vul@gmail.com> wrote:
> On Fri, Sep 26, 2008 at 11:18 AM, Joerg Schilling
> <Joerg.Schilling@fokus.fraunhofer.de> wrote:
>> "Andrey Vul" <andrey.vul@gmail.com> wrote:
>>
>>> On Fri, Sep 26, 2008 at 2:34 AM, Sebastian Günther
>>> <samson@guenther-roetgen.de> wrote:
>>> > * Andrey Vul (andrey.vul@gmail.com) [26.09.08 04:45]:
>>> >> On Thu, Sep 25, 2008 at 4:23 AM, Joerg Schilling
>>> >> <Joerg.Schilling@fokus.fraunhofer.de> wrote:
>>> >> > "Andrey Vul" <andrey.vul@gmail.com> wrote:
>>> >> >
>>> >> >> Also, AFAIK UDF doesn't support embedded control characters in files
>>> >> >> (i.e. Icon\r).
>>> >> >
>>> >> > This claim is of course wrong.
>>> >> I beg to differ.
>>> >> Output of ls -Alh in the Installer.app dir is supposed to show
>>> >> "Icon?". UDF image shows "Icon_" instead.
>>> >       ^
>>> > Are completely sure that this is a question mark?
>>> ls converts control characters into question  marks unless -b is specified.
>>
>> ls does not mark \r this way, gls may do.....
> Still, "ls -Ab" on the dmg file does not match "ls -Ab" on the remastered ISO.
Ignore what I said.
However, I raise a new question: is it
a) -a50 vs. -a42
b) -no-hfs
that allows control chars / Apple extensions to be used in UDF?
> --
> Andrey Vul
>



-- 
Andrey Vul



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] hduitil for linux
  2008-09-26 18:44                     ` Andrey Vul
@ 2008-09-26 20:34                       ` Joerg Schilling
  0 siblings, 0 replies; 14+ messages in thread
From: Joerg Schilling @ 2008-09-26 20:34 UTC (permalink / raw
  To: gentoo-user

"Andrey Vul" <andrey.vul@gmail.com> wrote:


> >> ls does not mark \r this way, gls may do.....
> > Still, "ls -Ab" on the dmg file does not match "ls -Ab" on the remastered ISO.
> Ignore what I said.
> However, I raise a new question: is it
> a) -a50 vs. -a42
> b) -no-hfs
> that allows control chars / Apple extensions to be used in UDF?

As I did previously write, use -UDF and -no-hfs together with the other Apple
specific options you use when creating HFS hybrid disks.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-09-26 20:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24  2:34 [gentoo-user] hduitil for linux Andrey Vul
2008-09-24 11:18 ` Joerg Schilling
2008-09-24 22:35   ` Andrey Vul
2008-09-24 22:48     ` Joerg Schilling
2008-09-24 23:23       ` Andrey Vul
2008-09-25  8:23         ` Joerg Schilling
2008-09-26  2:44           ` Andrey Vul
2008-09-26  6:34             ` Sebastian Günther
2008-09-26 14:13               ` Andrey Vul
2008-09-26 15:18                 ` Joerg Schilling
2008-09-26 16:10                   ` Andrey Vul
2008-09-26 18:44                     ` Andrey Vul
2008-09-26 20:34                       ` Joerg Schilling
2008-09-26 15:20             ` Joerg Schilling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox