[Info-vax] Hard links on VMS ODS5 disks
Dave Froble
davef at tsoft-inc.com
Sat Jul 15 18:42:41 EDT 2023
On 7/15/2023 9:32 AM, Craig A. Berry wrote:
>
> On 7/14/23 9:58 PM, Dave Froble wrote:
>> On 7/14/2023 9:48 PM, Craig A. Berry wrote:
>>>
>>> On 7/14/23 6:36 PM, Chris Townley wrote:
>>>> On 14/07/2023 22:30, gah4 wrote:
>>>
>>>>> Reminds me of, years ago, porting gnu-utils to OS/2 and finding that
>>>>> tail -f works. I don't know if tail -f is supposed to work on VMS, though.
>>>>>
>>>>> The main target is embedded Linux, especially where the whole system
>>>>> is in flash memory.
>>>>
>>>> But type/tail does ISTR
>>>
>>> On most of the interesting cases it fails with invalid file organization.
>>>
>>
>> Works very well here. Of course, I don't use invalid file organizations.
>>
>> :-)
>>
>
> I don't either, but the job controller does, and log files from batch
> jobs are about the only reason I would use this feature. If memory
> serves this is a well-known problem and somebody (maybe Hein?) had a fix
> in the works that never got prioritized.
>
> $ type/tail somelogfile.log
> %TYPE-W-OPENIN, error opening DSA0:[SOMEUSER]somelogfile.log;1 as input
> -SYSTEM-E-UNSUPPORTED, unsupported operation or function
> -RMS-F-ORG, invalid file organization value
> $ dir/full somelogfile.log
>
> Directory DSA0:[SOMEUSER]
>
> somelogfile.log;1 File ID: (9158,13,0)
> Size: 900/912 Owner: [SOMEGROUP,SOMEUSER]
> Created: 15-JUL-2023 08:23:51.37
> Modified: 15-JUL-2023 08:23:51.41 (1)
> Expires: <None specified>
> Backup: <No backup recorded>
> Effective: <None specified>
> Recording: <None specified>
> Accessed: 15-JUL-2023 08:23:51.37
> Attr Mod: 15-JUL-2023 08:23:51.41
> Data Mod: 15-JUL-2023 08:23:51.37
> Linkcount: 1
> File organization: Sequential
> Shelved state: Online
> Caching attribute: Writethrough
> File attributes: Allocation: 912, Extend: 0, Global buffer count: 0, No
> version limit
> Record format: VFC, 2 byte header, maximum 0 bytes, longest 1024 bytes
> Record attributes: Print file carriage control
> RMS attributes: None
> Journaling enabled: None
> File protection: System:RWED, Owner:RWED, Group:RE, World:
> Access Cntrl List: None
> Client attributes: None
>
> Total of 1 file, 900/912 blocks.
OpenVMS V7.2 on node DFE90A 15-JUL-2023 18:34:41.36 Uptime 299 05:59:05
$ t/tail netserver.log
Connect request received at 25-OCT-2022 22:09:58.00
from remote process AS800::"0=DFE"
for object "SYS$COMMON:[SYSEXE]FAL.EXE"
--------------------------------------------------------
--------------------------------------------------------
Connect request received at 25-OCT-2022 22:11:51.99
from remote process AS800::"0=DFE"
for object "SYS$COMMON:[SYSEXE]FAL.EXE"
--------------------------------------------------------
DFE job terminated at 25-OCT-2022 22:16:53.76
Accounting information:
Buffered I/O count: 15046 Peak working set size: 490
Direct I/O count: 1867 Peak page file size: 4051
Page faults: 1499 Mounted volumes: 0
Charged CPU time: 0 00:00:17.85 Elapsed time: 0 00:07:49.56
$
NETSERVER.LOG;12 File ID: (4619,103,0)
Size: 4/4 Owner: [DFE]
Created: 25-OCT-2022 22:09:04.26
Revised: 25-OCT-2022 22:16:53.84 (1)
Expires: <None specified>
Backup: <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 4, Extend: 0, Global buffer count: 0
No version limit
Record format: VFC, 2 byte header, maximum 0 bytes, longest 80 bytes
Record attributes: Print file carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None
Ok, my test was on a VAX, but I doubt that has any bearing. Don't have a clue.
Unless you're trying to read the file while it's still open. That doesn't work.
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list