9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@caldo.demon.co.uk
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Weirdness with 9660srv and file names (extensions)?
Date: Fri, 25 Jan 2002 08:45:08 +0000	[thread overview]
Message-ID: <20020125084710.7179F199BF@mail.cse.psu.edu> (raw)

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

>>Shucks, I left my laptop at home this morning, so I'm afraid I can't
>>tell definitively at the moment, but the problem showed up trying to
>>read the VN Inferno CD, among others.  The file is most definitely
>>*not* named ``readme.''; the periods don't show up under other OS's
>>(I've tried Windows and FreeBSD), and the Inferno installation script
>>failed when it couldn't find, eg, ``foo'' because ``foo'' was known
>>as ``foo.''.  Not what VN had intended, I'm guessing.

i missed the initial message that prompted this discussion, so i don't
know the receiving system.

it does sound like a problem with the reading software, but it might help
to know that the July 2000 Inferno CD (the first one) was written using some ghastly
Windows software because the Plan 9 code at the time produced incorrect
results and we didn't have time to investigate.   the June 2001 Inferno CD and
all our Plan 9 CDs were written using Plan 9, but using a modified version
of the june 2000 disk/mk9660.  the modifications were to several two bugs
in the output format, and to change the publisher names and dates.
It uses Joliet format to record long, mixed-case names, but for
the benefit of commercial Unix systems that don't support Joliet,
it writes mixed-case names in the 9660 name section.  thus, it isn't
strictly conforming at some Level of the 9660 standard.  the commercial
Unix systems that I tried had no trouble with it.  Solaris needs
a special option when mounting or it maps the names to lower case anyway.
(xBSD/Linux read the names from the Joliet section, as did NT).
I didn't use Rock Ridge for the benefit of the Unix systems because
Windows couldn't cope.  I didn't write Rock Ridge and Joliet because
the writing software that could do that had some problem or restriction
that prevented it.  I don't remember what that was but no doubt
when I do the next ones I'll find it out again.

the Plan 9 CD isn't bootable because although I could write the boot format
correctly, and boot from it, because I'd have needed either to put
9660 support in the bootstrap.  I've done that before on PowerPC platforms
for Inferno, but it makes the bootstrap bigger and more complicated.
On the PC, because of the way the BIOS does CD bootstraps, a little hack
would suffice but I hadn't time to sort it out last time.
next time.


[-- Attachment #2: Type: message/rfc822, Size: 2665 bytes --]

To: 9fans@cse.psu.edu
Subject: Re: [9fans] Weirdness with 9660srv and file names (extensions)?
Date: Thu, 24 Jan 2002 16:53:47 -0500
Message-ID: <200201242153.QAA15132@math.psu.edu>

> ls -l /mnt/cd
>
> the owner/group will tell you what sort
> of format the cd is.  that'd be a start.
>
> if it's iso9660 or joliet or plan9, i'm stumped.
>
> if it's ridge or sierra, we might be parsing things
> wrong, or the file might really be named ``readme.''

Shucks, I left my laptop at home this morning, so I'm afraid I can't
tell definitively at the moment, but the problem showed up trying to
read the VN Inferno CD, among others.  The file is most definitely
*not* named ``readme.''; the periods don't show up under other OS's
(I've tried Windows and FreeBSD), and the Inferno installation script
failed when it couldn't find, eg, ``foo'' because ``foo'' was known
as ``foo.''.  Not what VN had intended, I'm guessing.

(this is from memory)  I did modify a routine, called, I believe,
rzdir() in 9660srv.c to remove trailing dots from file names shortly
after a section of code in which file version numbers were being
stripped off.  That seemed to fix at least some of it; it strikes me
that was using a strict iso9660 CD.

	- Dan C.

             reply	other threads:[~2002-01-25  8:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25  8:45 forsyth [this message]
2002-01-25 22:24 ` Dan Cross
  -- strict thread matches above, loose matches on Subject: below --
2002-01-27 19:55 Russ Cox
2002-01-27 19:29 Russ Cox
2002-01-27 19:37 ` Alexander Viro
2002-01-28 18:11   ` Boyd Roberts
2002-01-28 23:23 ` Dan Cross
2002-01-28 23:30   ` William S.
2002-01-24 16:13 Russ Cox
2002-01-24 16:22 ` Boyd Roberts
2002-01-24  7:36 Russ Cox
2002-01-24 21:53 ` Dan Cross
2002-01-24  3:22 Dan Cross
2002-01-24 15:59 ` Boyd Roberts
2002-01-25 10:00 ` bs
2002-01-25 12:40   ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020125084710.7179F199BF@mail.cse.psu.edu \
    --to=forsyth@caldo.demon.co.uk \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).