9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: G. David Butler gdb@dbSystems.com
Subject: [9fans] allowing space (ASCII 0x20) in file names
Date: Thu,  9 Apr 1998 20:03:01 -0500	[thread overview]
Message-ID: <19980410010301.nzSfiYHir3l01LRvmWkIrIEQwGVGEj3WSk_WnglQLeg@z> (raw)

From: "Tom Duff" <td@pixar.com>

>It's ludicrous to make an incompatible change like this with, as you noted,
>such far-reaching consequences, just for one weird little application.

NNTP (look at the new draft rfc1036)? IMAP? CIFS?  These are not "little"
nor "weird" applications.

>If your application doesn't like the names the file system gives it,
>keep a little name-mapping table somewhere and write open and create
>routines that use it.

How do you map a dense UTF-8 encoding on another with 255 octets
to 27?  If there is a character that can be used as a ubiquitous
terminator (like 0x7f perhaps?) then

a-very-long-file-name-that-is-much-longer-than-27-octets

could be

a-very-long-file-name-that-/is-much-longer-than-27-octe/ts{0x7f}

or you could trust MD5 and turn it into 16 bytes mapped to (16/3)*4=24
base64 characters.  But md5 is only one way so you have to create a
file of mappings (your suggestion).  How do you update a file without
file locking by 100's of cpu servers?  That would be very hard with
exclusive access files that don't block (that can be fixed too)!
(BTW: There are also 100's of file servers.)  Also the failure
scenarios are crazy.

We are told Plan9 is dead.  Inferno is alive.  The last time I
talked to Lucent about licensing, they will not license Plan9 for
re-distribution.  So I'm alone anyway if I use Plan9.  It is *much*
easier to change the OS to host the application than it is to twist
the application to live with the OS.  Remember INN, CYRUS and SAMBA
are applications that already exist...

I'm open to suggestions...

Thanks again.

David Butler
gdb@dbSystems.com




             reply	other threads:[~1998-04-10  1:03 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-10  1:03 G.David [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-14 15:18 Russ
1998-04-14 15:16 Tom
1998-04-14 13:50 Rob
1998-04-14 13:35 Elliott.Hughes
1998-04-14 13:04 Russ
1998-04-14  9:50 Elliott.Hughes
1998-04-14  9:08 Elliott.Hughes
1998-04-14  6:38 Nigel
1998-04-14  6:24 forsyth
1998-04-14  5:33 forsyth
1998-04-13 23:03 geoff
1998-04-13 13:50 G.David
1998-04-13  6:00 geoff
1998-04-12  3:27 ozan
1998-04-10 14:49 G.David
1998-04-10 14:43 forsyth
1998-04-10  4:04 geoff
1998-04-09 23:44 Tom
1998-04-09 22:08 G.David
1998-04-09  3:10 G.David
1998-04-08 23:56 G.David
1998-04-08 22:05 Rob
1998-04-08 21:54 G.David
1998-04-08 20:32 Russ
1998-04-08 19:58 G.David
1998-04-08 17:45 Tom
1998-04-08 17:08 Russ
1998-04-08 16:56 G.David

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=19980410010301.nzSfiYHir3l01LRvmWkIrIEQwGVGEj3WSk_WnglQLeg@z \
    --to=9fans@9fans.net \
    /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).