Number: 

Date: 21-Aug-84 14':20':47

Submitter: Masinter

Source: Masinter

Subject: want GETDIRINFO device independent info for directories (superseded by AR 1916)

Assigned To: 

Attn: 

Status: Superseded

In/By: AR 1916

Problem Type: 

Impact: 

Difficulty: 

Frequency: 

Priority: 

System: Operating System

Subsystem: Generic File Operations

Machine: 1132

Disk: 

Lisp Version: 21-Aug-84 06':58':35

Source Files: 

Microcode Version: 5124

Memory Size: 4096

File Server: 

Server Software Version: 

Disposition: '
["Sannella.PA" "22-Aug-84 17':53':51" Subject': Status':(New->Superseded) In/By':]

Description: Date': 16 Aug 84 12':02 PDT'
From': JonL.pa'
Subject': Re': proposal for device operations'
In-reply-to': Masinter.pa''s message of 15 Aug 84 13':57 PDT'
To': Masinter.pa'
cc': LispCore↑.pa'
'
Although the end goal is laudable, I don''t like the corruption of FULLNAME -- especially the generalization of the RECOG argument, since it''s not at all clear that the other functions that take RECOG arugments could fit into the generalization.'
'
Peeking ahead in the mails, I see Kelly''s suggestion for GETDEVINFO and GETDIRINFO;  These would, I think, be preferable to overloading the functionality of FULLNAME and GETFILEINFO (the latter of which ought to return a stream/file-specic piece of information).'
'
-- JonL --'
Date': 16 Aug 84 12':35 PDT'
From': vanMelle.pa'
Subject': Re': proposal for device operations'
In-reply-to': Masinter.pa''s message of 15 Aug 84 13':57 PDT'
To': Masinter.pa'
cc': LispCore↑.pa'
'
I am inclined to agree that you are overloading GETFILEINFO, and you are certainly overloading FULLNAME, since DIRECTORY is in no way analogous to other values of RECOG.'
'
But in the case of FULLNAME, there already is a perfectly fine function DIRECTORYNAMEP.  We could simply tighten up its definition to require returning the full directory name, much as INFILEP returns a full file name.  At least the Leaf version of this already does coerce to canonical names': (DIRECTORYNAMEP ''{ROSE}<LISP>) => {ROSEBOWL}<LISP>.'
'
I like GETDIRINFO.  I could imagine combining GETDEVINFO and GETDIRINFO if we want to avoid proliferating names, but it would probably be cleaner to keep them separate.'
'
And what about a generic CREATEDIRECTORY?'
'
	Bill'
'


Workaround: 

Test Case: 

Edit-By: Sannella.PA

Edit-Date: 22-Aug-84 17':53':52