All of lore.kernel.org
 help / color / mirror / Atom feed
* strange iso9660 bug
@ 2008-09-28 20:08 Robert Millan
  2008-09-29  8:31 ` Urja Rannikko
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Millan @ 2008-09-28 20:08 UTC (permalink / raw)
  To: grub-devel


Hi,

I was having a look at this iso9660 image:

  http://syllable.info/Syllable-0.6.4-LiveCD-1.1.iso.bz2

and GRUB seems to behave strangely with it.  When its contents are listed by
Linux, GRUB Legacy or isoinfo, you get a long list (the "real" data), but
when they're listed by GRUB 2, you get a short list with only 3 files:

  - autorun.inf
  - some *.ico file
  - readme.txt

which are obviously aimed at MS-Windows users.

I wonder if someone more knowledgeable than me about iso9660 has a clue on
what's going on.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



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

* Re: strange iso9660 bug
  2008-09-28 20:08 strange iso9660 bug Robert Millan
@ 2008-09-29  8:31 ` Urja Rannikko
  2008-09-29 15:07   ` Robert Millan
  0 siblings, 1 reply; 5+ messages in thread
From: Urja Rannikko @ 2008-09-29  8:31 UTC (permalink / raw)
  To: The development of GRUB 2

On Sun, Sep 28, 2008 at 11:08 PM, Robert Millan <rmh@aybabtu.com> wrote:
>
> Hi,
>
> I was having a look at this iso9660 image:
>
>  http://syllable.info/Syllable-0.6.4-LiveCD-1.1.iso.bz2
>
> and GRUB seems to behave strangely with it.  When its contents are listed by
> Linux, GRUB Legacy or isoinfo, you get a long list (the "real" data), but
> when they're listed by GRUB 2, you get a short list with only 3 files:
>
>  - autorun.inf
>  - some *.ico file
>  - readme.txt
>

One gets those for windows files in linux by doing:
mount -o loop,norock -t iso9660 /tmp/syllable.iso /mnt/loop
(that was my command line, YMMV)

So i think that you need to support rockridge extensions to see the
for linux content.

-- 
urjaman



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

* Re: strange iso9660 bug
  2008-09-29  8:31 ` Urja Rannikko
@ 2008-09-29 15:07   ` Robert Millan
  2008-09-29 17:15     ` Bean
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Millan @ 2008-09-29 15:07 UTC (permalink / raw)
  To: The development of GRUB 2

On Mon, Sep 29, 2008 at 11:31:29AM +0300, Urja Rannikko wrote:
> On Sun, Sep 28, 2008 at 11:08 PM, Robert Millan <rmh@aybabtu.com> wrote:
> >
> > Hi,
> >
> > I was having a look at this iso9660 image:
> >
> >  http://syllable.info/Syllable-0.6.4-LiveCD-1.1.iso.bz2
> >
> > and GRUB seems to behave strangely with it.  When its contents are listed by
> > Linux, GRUB Legacy or isoinfo, you get a long list (the "real" data), but
> > when they're listed by GRUB 2, you get a short list with only 3 files:
> >
> >  - autorun.inf
> >  - some *.ico file
> >  - readme.txt
> >
> 
> One gets those for windows files in linux by doing:
> mount -o loop,norock -t iso9660 /tmp/syllable.iso /mnt/loop
> (that was my command line, YMMV)
> 
> So i think that you need to support rockridge extensions to see the
> for linux content.

Yup, that was it.

So anyone feels like hacking rockridge?  :-)

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



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

* Re: strange iso9660 bug
  2008-09-29 15:07   ` Robert Millan
@ 2008-09-29 17:15     ` Bean
  2008-10-05 10:56       ` Robert Millan
  0 siblings, 1 reply; 5+ messages in thread
From: Bean @ 2008-09-29 17:15 UTC (permalink / raw)
  To: The development of GRUB 2

On Mon, Sep 29, 2008 at 11:07 PM, Robert Millan <rmh@aybabtu.com> wrote:
> On Mon, Sep 29, 2008 at 11:31:29AM +0300, Urja Rannikko wrote:
>> On Sun, Sep 28, 2008 at 11:08 PM, Robert Millan <rmh@aybabtu.com> wrote:
>> >
>> > Hi,
>> >
>> > I was having a look at this iso9660 image:
>> >
>> >  http://syllable.info/Syllable-0.6.4-LiveCD-1.1.iso.bz2
>> >
>> > and GRUB seems to behave strangely with it.  When its contents are listed by
>> > Linux, GRUB Legacy or isoinfo, you get a long list (the "real" data), but
>> > when they're listed by GRUB 2, you get a short list with only 3 files:
>> >
>> >  - autorun.inf
>> >  - some *.ico file
>> >  - readme.txt
>> >
>>
>> One gets those for windows files in linux by doing:
>> mount -o loop,norock -t iso9660 /tmp/syllable.iso /mnt/loop
>> (that was my command line, YMMV)
>>
>> So i think that you need to support rockridge extensions to see the
>> for linux content.
>
> Yup, that was it.
>
> So anyone feels like hacking rockridge?  :-)

Hi,

Rockridge is supported in iso9660. However, the image file has three
namespaces, iso9660, joliet and rockridge. Currently, the priority is:

joliet > rockridge > iso9660

So only files in joliet is showed.

It's possible to change priority, but what if we need to access files
in the other namespace ? Perhaps we can control it with variables, for
example: disable_joliet, disable_rockridge, etc.


-- 
Bean



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

* Re: strange iso9660 bug
  2008-09-29 17:15     ` Bean
@ 2008-10-05 10:56       ` Robert Millan
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Millan @ 2008-10-05 10:56 UTC (permalink / raw)
  To: The development of GRUB 2

On Tue, Sep 30, 2008 at 01:15:21AM +0800, Bean wrote:
> 
> Hi,
> 
> Rockridge is supported in iso9660. However, the image file has three
> namespaces, iso9660, joliet and rockridge. Currently, the priority is:
> 
> joliet > rockridge > iso9660
> 
> So only files in joliet is showed.
> 
> It's possible to change priority, but what if we need to access files
> in the other namespace ? Perhaps we can control it with variables, for
> example: disable_joliet, disable_rockridge, etc.

Sounds fine to me.  But I'd also change the default priorities so that they
match with those in isoinfo, linux, grub legacy, etc.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



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

end of thread, other threads:[~2008-10-05 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 20:08 strange iso9660 bug Robert Millan
2008-09-29  8:31 ` Urja Rannikko
2008-09-29 15:07   ` Robert Millan
2008-09-29 17:15     ` Bean
2008-10-05 10:56       ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.