I just came accross very curious behaviour of the rename command (MPE/ix
5.5 + PP7):
MPE XL:hello manager.sys
ENTER ACCOUNT (SYS) PASSWORD:
HP3000 Release: C.55.00 User Version: C.55.07 FRI, AUG 27, 1999, 9:26 PM
MPE/iX HP31900 C.05.08 Copyright Hewlett-Packard 1987. All rights reserved.
:newacct test,mgr
:build x.pub.test
:hello mgr.test
CPU=2. Connect=1. FRI, AUG 27, 1999, 9:26 PM.
HP3000 Release: C.55.00 User Version: C.55.07 FRI, AUG 27, 1999, 9:26 PM
MPE/iX HP31900 C.05.08 Copyright Hewlett-Packard 1987. All rights reserved.
:rename x,x/lock
USER IS NOT CREATOR (FSERR 94)
RENAME failed due to file system error. Not renamed. (CIERR 373)
:comment ok, makes sense, since i (mgr.test) am not creator of file x
:comment let's just make sure
:listf x,-3
********************
FILE: X.PUB.TEST
FILE CODE : 0 FOPTIONS: BINARY,FIXED,NOCCTL,STD
BLK FACTOR: 1 CREATOR : MANAGER.SYS
REC SIZE: 256(BYTES) LOCKWORD:
BLK SIZE: 256(BYTES) SECURITY--READ : ANY
EXT SIZE: 0(SECT) WRITE : ANY
NUM REC: 0 APPEND : ANY
NUM SEC: 0 LOCK : ANY
NUM EXT: 0 EXECUTE : ANY
MAX REC: 1023 **SECURITY IS ON
FLAGS : NO ACCESSORS
NUM LABELS: 0 CREATED : FRI, AUG 27, 1999, 9:26 PM
MAX LABELS: 0 MODIFIED: FRI, AUG 27, 1999, 9:26 PM
DISC DEV #: 1 ACCESSED: FRI, AUG 27, 1999, 9:26 PM
SEC OFFSET: 0 LABEL ADDR: $00000011.$00AB7E20
VOLCLASS : MPEXL_SYSTEM_VOLUME_SET:DISC
:comment ok. proves point about x being created by manager.sys
:comment now, next command works. how cum??
:rename x,y
:
---------------------------------------------------------------------------
Gilles Schipper
GSA Inc.
HP3000 & HP9000 System Administration Specialists
300 John Street, Box 87651 Thornhill, ON Canada L3T 7R4
Voice: 905.889.3000 Fax: 905.889.3001
Internet: [log in to unmask]
---------------------------------------------------------------------------
|