Re: ODS5 and hardlinks
- From: "AEF" <spamsink2001@xxxxxxxxx>
- Date: 16 Jan 2007 05:24:29 -0800
Rob Brown wrote:
On Mon, 15 Jan 2007, Jeff Campbell wrote:
prep@xxxxxxxxxxxxxxxxxxx wrote:
Jeff Campbell <n8wxs@xxxxxxxx> writes:
A hard link keeps the file 'alive', the reverse of VMS file
aliases. If I alias your file and you delete it, I end up with a
FNF error when I next access it.
No, you SHOULD get a FILE ID/SEQUENCE NUMBER CHECK error.
Only if the header of the deleted primary file is reused and only when
you run ANAL/DISK. See example appended below.
Funny, looks like a -FNF error to me.
It probably depends on whether or not the file header has been reused
when you try to access it.
--
Rob Brown b r o w n a t g m c l d o t c o m
G. Michaels Consulting Ltd. (780)438-9343 (voice)
Edmonton (780)437-3367 (FAX)
http://gmcl.com/
$ COPY NL: PRIMARY.FILE
%COPY-S-COPIED, _NLA0: copied to DISK$DATA1:[SCRATCH]PRIMARY.FILE;1 (0
records)
$ SET FILE PRIMARY.FILE/ENTER=ALIAS
$ DIR/FILE
Directory DISK$DATA1:[SCRATCH]
ALIAS.FILE;1 (3760,14,0) 0/0
16-JAN-2007 08:15:53.43
EQUITIES.DIR;1 (4614,8,0) 1/3
27-DEC-2006 14:28:19.52
PRIMARY.FILE;1 (3760,14,0) 0/0
16-JAN-2007 08:15:53.43
Total of 3 files, 1/3 blocks.
$ DEL PRIMARY.FILE;
%DELETE-I-FILDEL, DISK$DATA1:[SCRATCH]PRIMARY.FILE;1 deleted (0 blocks)
$ DIR/FILE
Directory DISK$DATA1:[SCRATCH]
ALIAS.FILE;1 no such file
EQUITIES.DIR;1 (4614,8,0) 1/3
27-DEC-2006 14:28:19.52
Total of 2 files, 1/3 blocks.
$ ANAL/DISK DISK$DATA1:
Analyze/Disk_Structure for _DSA1: started on 16-JAN-2007 08:17:17.14
%ANALDISK-I-OPENQUOTA, error opening QUOTA.SYS
-SYSTEM-W-NOSUCHFILE, no such file
%ANALDISK-W-BADDIRENT, invalid file identification in directory entry
[SCRATCH]ALIAS.FILE;1
-ANALDISK-I-BAD_DIRHEADER, no valid file header for directory
$ TYPE ALIAS.FILE
%TYPE-W-OPENIN, error opening DISK$DATA1:[SCRATCH]ALIAS.FILE;1 as input
-RMS-E-FNF, file not found
$ ED ALIAS.FILE
Input file does not exist
[EOB]
*QUIT
$ COPY NL: NEW.FILE
%COPY-S-COPIED, _NLA0: copied to DISK$DATA1:[SCRATCH]NEW.FILE;1 (0
records)
$ DIR/FILE
Directory DISK$DATA1:[SCRATCH]
ALIAS.FILE;1 no such file
EQUITIES.DIR;1 (4614,8,0) 1/3
27-DEC-2006 14:28:19.52
NEW.FILE;1 (3760,16,0) 0/0
16-JAN-2007 08:18:08.27
Total of 3 files, 1/3 blocks.
$ TYPE ALIAS.FILE
%TYPE-W-OPENIN, error opening DISK$DATA1:[SCRATCH]ALIAS.FILE;1 as input
-RMS-E-FNF, file not found
$ ANAL/DISK DISK$DATA1
Analyze/Disk_Structure for _DSA1: started on 16-JAN-2007 08:18:45.95
%ANALDISK-I-OPENQUOTA, error opening QUOTA.SYS
-SYSTEM-W-NOSUCHFILE, no such file
%ANALDISK-W-BADDIRENT, invalid file identification in directory entry
[SCRATCH]ALIAS.FILE;1
-ANALDISK-I-BAD_DIRFIDSEQ, invalid file sequence number in directory
file ID
$
AEF
.
- References:
- ODS5 and hardlinks
- From: JF Mezei
- Re: ODS5 and hardlinks
- From: AEF
- Re: ODS5 and hardlinks
- From: JF Mezei
- Re: ODS5 and hardlinks
- From: AEF
- Re: ODS5 and hardlinks
- From: JF Mezei
- Re: ODS5 and hardlinks
- From: Jeff Campbell
- Re: ODS5 and hardlinks
- From: prep
- Re: ODS5 and hardlinks
- From: Jeff Campbell
- Re: ODS5 and hardlinks
- From: Rob Brown
- ODS5 and hardlinks
- Prev by Date: Re: Blast from the 1988s (DEC proposal)
- Next by Date: Re: Odd DSSI/Cluster behaviour. Phanton disks appear online
- Previous by thread: Re: ODS5 and hardlinks
- Next by thread: Re: ODS5 and hardlinks
- Index(es):