[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NFS ~'s
Received-Date: Mon, 18 May 92 19:50:06 EDT
Posted-Date: Mon, 18 May 1992 19:49-0400
Date: Mon, 18 May 1992 19:49-0400
From: Barry Margolin <barmar@Think.COM>
Date: Mon, 18 May 1992 18:41 EDT
From: qobi@unagi.cis.upenn.edu
Quick question: How does one control whether Symbolics NFS treats version
numbers as foo.lisp.~1~ or foo.lisp.1
I'm not sure I understand the question. I think you're asking what it
takes for Genera with NFS to parse a Unix versioned pathname (ending in
.~<version>~) such that PATHNAME-VERSION returns something other than
:UNSPECIFIC. The answer is that if one of the directories in the
pathname ends in ".sct", Genera expects all files to have version
numbers, and parses the version number out. If none of the ancestor
directories have the ".sct" suffix, the file name is parsed the
traditional way, so the version number ends up being treated as the
type.
No this is not what I am asking.
If you're talking about how NFS *creates* versioned files, if the server
is Unix then it always uses ~<version>~; it will never create
foo.lisp.1.
Yes this is what I am asking. On the local system that I am using here at
UPenn I see a different behavior than I have seen anywhere else. If I c-X c-S
a file foo.lisp several times, the files get *created* by NFS as foo.lisp.1,
foo.lisp.2, etc. *not* foo.lisp.~1~, foo.lisp.~2~, etc. This has screwed me
since I have SCT directories with version numbers in the ~ format and at UPenn
I can't read those directories. I seem to remember once coming across some
documented variables that specify the format strings used to convert NFS
pathnames into printed form which would allow control over the format used for
version numbers. I couldn't remember those variables though and couldn't find
them in the docs or with APROPOS. That is why I am asking SLUG.
For details about both of these, see sections 3.3.1.3 UNIX Backup Files,
and 3.3.1.4 Using SCT with a UNIX File System, in the Genera 8.1 Bundled
Network Products Documentation manual (or in the Document Examiner).
Unfortunately we don't have Genera 8.1 and still use 8.0.1.
Thanks,
Jeff
- Follow-Ups:
- NFS ~'s
- From: barmar@Think.COM (Barry Margolin)
- References:
- NFS ~'s
- From: barmar@Think.COM (Barry Margolin)