Sujet : Re: Case Insensitive File Systems -- Torvalds Hates Them
De : not (at) *nospam* telling.you.invalid (Computer Nerd Kev)
Groupes : comp.os.linux.miscDate : 07. May 2025, 00:54:09
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <681aa121@news.ausics.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
Rich <
rich@example.invalid> wrote:
Computer Nerd Kev <not@telling.you.invalid> wrote:
It could have been the same with ext* forbidding newlines (also tmpfs
etc.). Then you'd only have to worry about handling newlines in the
rare case of reading from some non-Linux filesystems like UFS.
Could ext* have forbade newlines? Yes. But that would have gone
against years of Unix tradition at the time had it done so. Since
Linux began as a "clone of Unix" it was only natural for it to inherit
Unix traditions as to filenames (any byte value other than ASCII NULL
and ASCII forward slash being allowed).
Well the original quote from Torvalds was about case insensitive
filesystems, which also already have a tradition, but he doesn't
like them, with good reasons. I feel there are valid reasons to
dislike newlines in filenames too. Maybe that would have been too
radical for a UNIX-based OS filesystem, but in practice I can't see
how it would have caused much trouble, and it would have avoided
needing lots of special handling for newlines in software.
Really it's too late for either argument to win now though.
-- __ __#_ < |\| |< _#