Re: parse-namestring and logical pathnames



On Sep 28, 6:44 pm, Richard M Kreuter <kreu...@xxxxxxxxx> wrote:
Marco Antoniotti <marc...@xxxxxxxxx> writes:
On Sep 28, 4:37 pm, Richard M Kreuter <kreu...@xxxxxxxxx> wrote:
The intent of the lettercase stuff in the pathnames specification
is to let you say

  (make-pathname :name "FOO" :type "LISP" :case :common)

on any Lisp and with any pathname host and get back a pathname that
maps to a filename using the standard file naming conventions of
whatever file system the file happens to be on

Besides, lowercasing in Unix is wrong as the file system is case-
sensitive.

Customary case is meant to be whatever lettercase is normally used in
file names on a file system, not whether the file system is
case-preserving or case-insensitive.  The examples in the dictionary
entry for MAKE-PATHNAME shows and the Issue PATHNAME-COMPONENT-CASE
mentions that customary case for Unix is supposed to be lowercase.

Yes. And *that* is wrong (the supposition that customary case for
Unix is lowercase). Modulo what Rainer said about having different
file systems mounted on a UN*X box (or whatever box), traditional UNIX
file systems are not exclusively lowercase.

The bottom line is that - as usual - the pathname spec is lacking in
many many ways.

Cheers
--
Marco

.



Relevant Pages

  • Re: Comm Ports 10+
    ... He'd copied over a massive system from Unix to Windows, ... File System, AFS, developed at CMU at its Information Technology Center. ... All devices are in the internal kernel namespace '??' ...
    (microsoft.public.vc.mfc)
  • Re: trouble with rename-file
    ... Which by looking at the source of the function rename-file is an error ... foreign function call to the unix function rename. ... Not all partitions contain a file system. ... That's what the dfcommand shows you. ...
    (comp.lang.lisp)
  • Re: linux usb drive
    ... Just a little, again, what file system is in use on the drive? ... Unix user 501. ... then you just need to take ownership of the drive. ... Right-click the folder that you want to take ownership of, ...
    (microsoft.public.windows.vista.security)
  • Re: parse-namestring and logical pathnames
    ... file names on a file system, not whether the file system is ... mentions that customary case for Unix is supposed to be lowercase. ... Unix is lowercase). ... that all-uppercase directory entry names make up around one ...
    (comp.lang.lisp)
  • Re: book recommendation: Mac as Unix
    ... I'm a total newbie to the Mac. ... I've been using Unix and Linux ... If you want to launch Terminal.app from the command line, ... An alias is a Mac OS X file system specific abstraction. ...
    (comp.sys.mac.system)