Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Send some filthy mail.


computers / comp.os.vms / Re: Hard links on VMS ODS5 disks

SubjectAuthor
* Hard links on VMS ODS5 disksChris Townley
+* Re: Hard links on VMS ODS5 disksJohnny Billquist
|`- Re: Hard links on VMS ODS5 disksChris Townley
+* Re: Hard links on VMS ODS5 disksgah4
|+* Re: Hard links on VMS ODS5 disksSteven Schweda
||+* Re: Hard links on VMS ODS5 disksgah4
|||`* Re: Hard links on VMS ODS5 disksbill
||| `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  +* Re: Hard links on VMS ODS5 disksgah4
|||  |`* Re: Hard links on VMS ODS5 disksChris Townley
|||  | +* Re: Hard links on VMS ODS5 disksDave Froble
|||  | |`* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  | | +- Re: Hard links on VMS ODS5 disksgah4
|||  | | `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  | |  +- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  | |  +- Re: Hard links on VMS ODS5 disksgah4
|||  | |  `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  | `* Re: Hard links on VMS ODS5 disksgah4
|||  |  `* Re: Hard links on VMS ODS5 disksChris Townley
|||  |   +* Re: Hard links on VMS ODS5 disksgah4
|||  |   |+* Re: Hard links on VMS ODS5 disksChris Townley
|||  |   ||`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||  |   || `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   ||  `- Re: Hard links on VMS ODS5 disksSimon Clubley
|||  |   |`* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   | `* Re: Hard links on VMS ODS5 disksgah4
|||  |   |  `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |   `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  |    `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |     `* Re: Hard links on VMS ODS5 disksCraig A. Berry
|||  |      +* Re: Hard links on VMS ODS5 disksJan-Erik Söderholm
|||  |      |`* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||  |      |  `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      |   `* Re: Hard links on VMS ODS5 disksJan-Erik Söderholm
|||  |      |    +- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |      |    `- Re: Hard links on VMS ODS5 disksRobert A. Brooks
|||  |      `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |       +* Re: Hard links on VMS ODS5 disksterry-...@glaver.org
|||  |       |`- Re: Hard links on VMS ODS5 disksDave Froble
|||  |       `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  |        `* Re: Hard links on VMS ODS5 disksDave Froble
|||  |         `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||  `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||   `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||    `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||     +* Re: Hard links on VMS ODS5 disksgah4
|||     |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||     `* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||      `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||       +* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||       |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||       `* Re: Hard links on VMS ODS5 disksDave Froble
|||        `* Re: Hard links on VMS ODS5 disksSimon Clubley
|||         +* Re: Hard links on VMS ODS5 disksDave Froble
|||         |`- Re: Hard links on VMS ODS5 disksSimon Clubley
|||         +* Re: Hard links on VMS ODS5 disksJohnny Billquist
|||         |`* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|||         | `- Re: Hard links on VMS ODS5 disksJohnny Billquist
|||         `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||          |`* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          | `* Re: Hard links on VMS ODS5 disksSimon Clubley
|||          |  +* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||          |  |`- Re: Hard links on VMS ODS5 diskstridac
|||          |  `- Re: Hard links on VMS ODS5 disksDave Froble
|||          `* Re: Hard links on VMS ODS5 disksDave Froble
|||           `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||            `* Re: Hard links on VMS ODS5 disksDave Froble
|||             `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||              `* Re: Hard links on VMS ODS5 disksDave Froble
|||               +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               |+- Re: Hard links on VMS ODS5 disksDave Froble
|||               |+* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               ||`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || +* Re: Hard links on VMS ODS5 disksDave Froble
|||               || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || | `* Re: Hard links on VMS ODS5 disksJohn Dallman
|||               || |  `- Re: Hard links on VMS ODS5 disksDan Cross
|||               || +* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               || |  `* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|||               || |   `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               || |    `- Re: Hard links on VMS ODS5 disksSimon Clubley
|||               || `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               |`* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | +* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | |+- Re: Hard links on VMS ODS5 disksDan Cross
|||               | |+- Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | |+* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | ||`* Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | || +- Re: Hard links on VMS ODS5 disksDave Froble
|||               | || +- Re: Hard links on VMS ODS5 disksChris Townley
|||               | || +* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || |+- Re: Hard links on VMS ODS5 disksJohn Reagan
|||               | || |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | || | +* Re: Hard links on VMS ODS5 disksDave Froble
|||               | || | |`* Re: Hard links on VMS ODS5 disksSimon Clubley
|||               | || | | +- Re: Hard links on VMS ODS5 disksDave Froble
|||               | || | | +- Re: Hard links on VMS ODS5 disksterry-...@glaver.org
|||               | || | | `* Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || | `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | || +* Re: Hard links on VMS ODS5 disksStephen Hoffman
|||               | || `* Re: Hard links on VMS ODS5 disksIan Miller
|||               | |`- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               | `- Re: Hard links on VMS ODS5 disksArne Vajhøj
|||               `- Re: Hard links on VMS ODS5 disksArne Vajhøj
||`* Re: Hard links on VMS ODS5 disksSingle Stage to Orbit
|`- Re: Hard links on VMS ODS5 disksJohnny Billquist
+* Re: Hard links on VMS ODS5 disksArne Vajhøj
`- Re: Hard links on VMS ODS5 disksStephen Hoffman

Pages:12345678910
Re: Hard links on VMS ODS5 disks

<u8stsk$9mqu$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28810&group=comp.os.vms#28810

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Fri, 14 Jul 2023 20:48:04 -0500
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <u8stsk$9mqu$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 01:48:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ab6f9df34d1c3e33d66aa27c5fccb2e8";
logging-data="318302"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xbfX9k4qMSN3Wk6Bj+Y2oTyAVrO0Z0Ls="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
Cancel-Lock: sha1:aGvrVib2UKT4uUFqXTkxaYvWQ0g=
Content-Language: en-US
In-Reply-To: <u8sm65$p4p$1@dont-email.me>
 by: Craig A. Berry - Sat, 15 Jul 2023 01:48 UTC

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.

Re: Hard links on VMS ODS5 disks

<u8t21b$a0v6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28811&group=comp.os.vms#28811

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Fri, 14 Jul 2023 22:58:20 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <u8t21b$a0v6$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 15 Jul 2023 02:58:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5d1e01582e5fe416a085eb105aea34e9";
logging-data="328678"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2nnJbMh9sMkutOardBc1n4QstI2erh9c="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:qKJDaZvk6IKmgsbrP8tX/5MNgo8=
In-Reply-To: <u8stsk$9mqu$1@dont-email.me>
 by: Dave Froble - Sat, 15 Jul 2023 02:58 UTC

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.

:-)

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Hard links on VMS ODS5 disks

<c786fc48-98d9-4a76-83a6-e3c22b39c494n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28812&group=comp.os.vms#28812

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:1917:b0:762:42ca:9197 with SMTP id bj23-20020a05620a191700b0076242ca9197mr34831qkb.11.1689407178344;
Sat, 15 Jul 2023 00:46:18 -0700 (PDT)
X-Received: by 2002:ac8:5915:0:b0:403:acd3:eb2f with SMTP id
21-20020ac85915000000b00403acd3eb2fmr42967qty.4.1689407178174; Sat, 15 Jul
2023 00:46:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 15 Jul 2023 00:46:17 -0700 (PDT)
In-Reply-To: <u8shbr$50b0$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:3c0b:a992:f4b0:f003;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:3c0b:a992:f4b0:f003
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com> <u8s8jb$o5q$1@dont-email.me>
<u8sch0$4e93$1@dont-email.me> <u8sde2$4gng$1@dont-email.me> <u8shbr$50b0$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c786fc48-98d9-4a76-83a6-e3c22b39c494n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: gah...@u.washington.edu (gah4)
Injection-Date: Sat, 15 Jul 2023 07:46:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: gah4 - Sat, 15 Jul 2023 07:46 UTC

On Friday, July 14, 2023 at 3:14:23 PM UTC-7, Craig A. Berry wrote:
> bash has some builtins but other things as separate executables. It
> sounds like busybox just has everything as a builtin.

As well as I know it, in the usual case all those are symlinks.
The normal sh built-ins will still be built-in, and the others will use
the link, and run another busybox.

That works well for systems that can keep one copy in memory,
but run it more than once using that copy. And you can replace
the symlink with an actual program, or symlink to something else.

The standalone_shell configure option, not the default, has it check
for busybox applets that are not normally shell built-ins, before checking
the path. Especially convenient if there are no other files to run.

Re: Hard links on VMS ODS5 disks

<u8u0rg$chi4$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28813&group=comp.os.vms#28813

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 12:44:48 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <u8u0rg$chi4$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me>
<760d4b6a-170c-43c7-97ad-208452152a43n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 11:44:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5229ddf1f6565fa417b9b3817a01ba6d";
logging-data="411204"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dsoCt0cqXIynEuLuaw1RMCb3WP/2PylI="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:rc1zcfAcWe9QR2lBEHAd4JyHYAU=
Content-Language: en-GB
In-Reply-To: <760d4b6a-170c-43c7-97ad-208452152a43n@googlegroups.com>
 by: Chris Townley - Sat, 15 Jul 2023 11:44 UTC

On 15/07/2023 02:33, gah4 wrote:
> On Friday, July 14, 2023 at 4:36:41 PM UTC-7, Chris Townley wrote:
>
> (snip, I 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.
>
> tail -f reads the end of a file, then waits and checks to see if it got bigger.
> That is, if the EOF went away.
>
> Not all file system, I suspect, can do that.
>

Sorry, I should have said TYPE/TAIL/CONTINUOUS which works with some
caveats on the file

--
Chris

Re: Hard links on VMS ODS5 disks

<u8u74o$d8b1$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28814&group=comp.os.vms#28814

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 08:32:06 -0500
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <u8u74o$d8b1$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 13:32:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ab6f9df34d1c3e33d66aa27c5fccb2e8";
logging-data="434529"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bcr/y0d5YEPvOOObLezxW6ILI6FC0TnA="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
Cancel-Lock: sha1:KI0ep69Ho2eDrOE1hoKvdH9uLuw=
Content-Language: en-US
In-Reply-To: <u8t21b$a0v6$1@dont-email.me>
 by: Craig A. Berry - Sat, 15 Jul 2023 13:32 UTC

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.

Re: Hard links on VMS ODS5 disks

<u8u924$dad9$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28815&group=comp.os.vms#28815

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 16:04:51 +0200
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <u8u924$dad9$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 14:04:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7fa312c8710ed5bac14b8903a524641b";
logging-data="436649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RulhM1zdV8NTl3zoWNaHZ"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:tTprhaq/a1r/Q63s7ZbykWt/JGg=
In-Reply-To: <u8u74o$d8b1$1@dont-email.me>
Content-Language: sv
 by: Jan-Erik Söderholm - Sat, 15 Jul 2023 14:04 UTC

Den 2023-07-15 kl. 15:32, skrev Craig A. Berry:
>
> 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.

As I have understood this (veruy annoying) thing is that
the file org is not "invalid" as such, it is just not
supported by type/tail...

Re: Hard links on VMS ODS5 disks

<u8ub39$37s$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28816&group=comp.os.vms#28816

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 16:39:37 +0200
Organization: MGT Consulting
Message-ID: <u8ub39$37s$1@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 14:39:37 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="3324"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <u8rgjd$11j4$1@dont-email.me>
 by: Johnny Billquist - Sat, 15 Jul 2023 14:39 UTC

On 2023-07-14 14:55, Arne Vajhøj wrote:
> On 7/13/2023 9:25 AM, bill wrote:
>> On 7/13/2023 1:50 AM, gah4 wrote:
>>> On Wednesday, July 12, 2023 at 3:46:45 PM UTC-7, Steven Schweda wrote:
>>>>> [...] For example, gzip, gunzip, zcat, and gzcat, are all the
>>>>> same file, but do different things based on argv[0].
>>>> Common in the past, but the GNU folks decided against that scheme
>>>> some time ago. (At least a dozen years?)
>
>>> A MacBook Air with OS 10.12.6 has two different files, not linked,
>>> but with exactly the same contents.
>>>
>>> ls -li compress uncompress
>>> 421074 -rwxr-xr-x  1 root  wheel  27680 Jul 14  2017 compress
>>> 421907 -rwxr-xr-x  1 root  wheel  27680 Jul 14  2017 uncompress
>>> and cmp -l shows that they are the same.
>>>
>>> FreeBSD does use the hard links, and also Linux.
>>> The Linux system is 13 years old, so doesn't disagree with your dozen
>>> years.
>>
>> Which is yet another example of "throw more hardware at the problem".
>> A link would save the space, but who cares.
>
> We can discuss the optimal choice between:
> * paying more dollars to get bigger disk
> * the complexity of programs with multiple behavior depending on name
>
> But I don't think that is the case here. I think the case is that
> the cheapest disk you can buy for new systems are so big that there
> is enough space, so no money is saved by adding the complexity of
> multiple behaviors.

I think you missed the point.

In this case, the program does deal with the different behaviors
depending on under which name it is invoked. It's identical binaries.

The issue is just that you could have had just one copy of the program,
but they installed two. For absolutely zero difference except they use
up more disk space.

Johnny

Re: Hard links on VMS ODS5 disks

<u8ub9k$37s$2@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28817&group=comp.os.vms#28817

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 16:43:00 +0200
Organization: MGT Consulting
Message-ID: <u8ub9k$37s$2@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me> <u8sch0$4e93$1@dont-email.me>
<u8sde2$4gng$1@dont-email.me> <u8shbr$50b0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 14:43:00 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="3324"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <u8shbr$50b0$1@dont-email.me>
 by: Johnny Billquist - Sat, 15 Jul 2023 14:43 UTC

On 2023-07-15 00:14, Craig A. Berry wrote:
>
> On 7/14/23 4:07 PM, Arne Vajhøj wrote:
>> (separate executables should run under DCL, but I believe
>> some of these are shell internal commands)
>
> bash has some builtins but other things as separate executables.  It
> sounds like busybox just has everything as a builtin.

Yes. That is the whole point of busybox. It's just one binary, that have
all commands as built-in. Meaning you are not depending on other
programs first of all being installed, and second, not be corrupted,
third, not being dependent on some dynamic library that you might have.

Busybox is usually involved when you have some embedded system, or for
the recovery tools in case your system has been corrupted or messed up,
so that you can get back to a good state.

Johnny

Re: Hard links on VMS ODS5 disks

<u8ubch$37s$3@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28818&group=comp.os.vms#28818

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 16:44:33 +0200
Organization: MGT Consulting
Message-ID: <u8ubch$37s$3@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me>
<760d4b6a-170c-43c7-97ad-208452152a43n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 14:44:33 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="3324"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <760d4b6a-170c-43c7-97ad-208452152a43n@googlegroups.com>
 by: Johnny Billquist - Sat, 15 Jul 2023 14:44 UTC

On 2023-07-15 03:33, gah4 wrote:
> On Friday, July 14, 2023 at 4:36:41 PM UTC-7, Chris Townley wrote:
>
> (snip, I 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.
>
> tail -f reads the end of a file, then waits and checks to see if it got bigger.
> That is, if the EOF went away.
>
> Not all file system, I suspect, can do that.

I have a hard time imagining any file system that could not. Such a file
system would then also not be able to append to an existing file.

Johnny

Re: Hard links on VMS ODS5 disks

<u8ubhi$37s$4@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28819&group=comp.os.vms#28819

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 16:47:14 +0200
Organization: MGT Consulting
Message-ID: <u8ubhi$37s$4@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
<u8u924$dad9$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 14:47:14 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="3324"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <u8u924$dad9$1@dont-email.me>
 by: Johnny Billquist - Sat, 15 Jul 2023 14:47 UTC

On 2023-07-15 16:04, Jan-Erik Söderholm wrote:
> Den 2023-07-15 kl. 15:32, skrev Craig A. Berry:
>>
>> 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.
>
>
> As I have understood this (veruy annoying) thing is that
> the file org is not "invalid" as such, it is just not
> supported by type/tail...

Right.

And the secondary problem being that it's a little tricky to find the
last n lines in such a file organization. You'll have to do some
heuristics, and hope you got it right. But that usually is possible to
do with a high chance of success. So it could definitely be done. (I
have such a tool for RSX...)

Johnny

Re: Hard links on VMS ODS5 disks

<c25726e3-31c8-450a-875e-111d27c2a491n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28820&group=comp.os.vms#28820

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:19a6:b0:767:fe53:3691 with SMTP id bm38-20020a05620a19a600b00767fe533691mr82797qkb.3.1689442906494;
Sat, 15 Jul 2023 10:41:46 -0700 (PDT)
X-Received: by 2002:a05:6870:3a10:b0:1b0:5141:4c74 with SMTP id
du16-20020a0568703a1000b001b051414c74mr7259153oab.6.1689442906297; Sat, 15
Jul 2023 10:41:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 15 Jul 2023 10:41:45 -0700 (PDT)
In-Reply-To: <u8ubch$37s$3@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:8dfe:c0dd:be26:7827;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:8dfe:c0dd:be26:7827
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com> <u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com> <u8sm65$p4p$1@dont-email.me>
<760d4b6a-170c-43c7-97ad-208452152a43n@googlegroups.com> <u8ubch$37s$3@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c25726e3-31c8-450a-875e-111d27c2a491n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: gah...@u.washington.edu (gah4)
Injection-Date: Sat, 15 Jul 2023 17:41:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2302
 by: gah4 - Sat, 15 Jul 2023 17:41 UTC

On Saturday, July 15, 2023 at 7:44:36 AM UTC-7, Johnny Billquist wrote:
> On 2023-07-15 03:33, gah4 wrote:

(snip)

> > tail -f reads the end of a file, then waits and checks to see if it got bigger.
> > That is, if the EOF went away.
> > Not all file system, I suspect, can do that.

> I have a hard time imagining any file system that could not. Such a file
> system would then also not be able to append to an existing file.

I suspect all could do it if you close, and reopen the file.

But the Unix ones do it without close/open, and then I found that
also worked on OS/2.

Re: Hard links on VMS ODS5 disks

<u8v1iu$tmq$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28821&group=comp.os.vms#28821

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 23:03:26 +0200
Organization: MGT Consulting
Message-ID: <u8v1iu$tmq$1@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me>
<760d4b6a-170c-43c7-97ad-208452152a43n@googlegroups.com>
<u8ubch$37s$3@news.misty.com>
<c25726e3-31c8-450a-875e-111d27c2a491n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jul 2023 21:03:26 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="30426"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <c25726e3-31c8-450a-875e-111d27c2a491n@googlegroups.com>
 by: Johnny Billquist - Sat, 15 Jul 2023 21:03 UTC

On 2023-07-15 19:41, gah4 wrote:
> On Saturday, July 15, 2023 at 7:44:36 AM UTC-7, Johnny Billquist wrote:
>> On 2023-07-15 03:33, gah4 wrote:
>
> (snip)
>
>>> tail -f reads the end of a file, then waits and checks to see if it got bigger.
>>> That is, if the EOF went away.
>
>>> Not all file system, I suspect, can do that.
>
>> I have a hard time imagining any file system that could not. Such a file
>> system would then also not be able to append to an existing file.
>
> I suspect all could do it if you close, and reopen the file.
>
> But the Unix ones do it without close/open, and then I found that
> also worked on OS/2.

Also works on RSX, which basically also means any VMS system/filesystem
shouldn't be a problem.

In general, I'm still of the opinion that any system I can image would
be capable. Opening a file for append do mean that you need to be able
to find where the end of the file is, and seek to there, unless you have
a very specific "open for append" system call.
Otherwise any system would basically open a file for append by opening
it for writing, finding where the eof is, and seek there. Then you could
start writing.

And if you had such a special function, there is still the question of
how seeks then work. If you don't have a seek at all, then sure, you
might not be able to do a tail -f either. But otherwise, what happens if
you seek to beyond eof and try to read? And what if you seek to eof that
you found before, and just try reading again? If someone have added more
to the file, it either would just give eof error, in case the local
program cached where eof is, and just checked against that, or else it
would try to do a read, and then it would get the new data, right?

And if you cache the eof, there is no reason why you could not get it
updated.

But even if you don't have a seek function, the question is what happens
when you reach eof. Reading would return eof error, obviously. And I
would think it would also be true no matter how many times you try.
And then comes the question, what happens if someone did append to the
file in between?

With RSX (and I assume VMS), the eof point is sortof cached, but an
attempt to read beyond it is perfectly possible, and will succeed/fail
based on the actual file content.

Johnny

Re: Hard links on VMS ODS5 disks

<u8v7e3$gqcc$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28822&group=comp.os.vms#28822

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sat, 15 Jul 2023 18:42:41 -0400
Organization: A noiseless patient Spider
Lines: 122
Message-ID: <u8v7e3$gqcc$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 15 Jul 2023 22:43:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a9d816bd2db692044d7b39b2bb514e1";
logging-data="551308"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/lPCXzZxztcinztdoUzVzdAcmI9Yxxits="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:TYaQGYobxIkQJ96VvpJmd/IDtiU=
In-Reply-To: <u8u74o$d8b1$1@dont-email.me>
 by: Dave Froble - Sat, 15 Jul 2023 22:42 UTC

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@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Hard links on VMS ODS5 disks

<c882fd83-e5f1-45a7-a52c-0e5a84fe0e9fn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28828&group=comp.os.vms#28828

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1713:b0:403:c38f:65f7 with SMTP id h19-20020a05622a171300b00403c38f65f7mr73479qtk.0.1689499553274;
Sun, 16 Jul 2023 02:25:53 -0700 (PDT)
X-Received: by 2002:a05:6870:4516:b0:1b0:19a6:2577 with SMTP id
e22-20020a056870451600b001b019a62577mr8585223oao.3.1689499552953; Sun, 16 Jul
2023 02:25:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 16 Jul 2023 02:25:52 -0700 (PDT)
In-Reply-To: <u8v7e3$gqcc$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=100.8.228.76; posting-account=2vnRtAoAAAAE0ap3uRDMDu6cngT6BrOO
NNTP-Posting-Host: 100.8.228.76
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com> <u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com> <u8sm65$p4p$1@dont-email.me>
<u8stsk$9mqu$1@dont-email.me> <u8t21b$a0v6$1@dont-email.me>
<u8u74o$d8b1$1@dont-email.me> <u8v7e3$gqcc$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c882fd83-e5f1-45a7-a52c-0e5a84fe0e9fn@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: terry-gr...@glaver.org (terry-...@glaver.org)
Injection-Date: Sun, 16 Jul 2023 09:25:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2930
 by: terry-...@glaver.org - Sun, 16 Jul 2023 09:25 UTC

On Saturday, July 15, 2023 at 6:43:21 PM UTC-4, Dave Froble wrote:
> Unless you're trying to read the file while it's still open. That doesn't work.

That's kind of the whole point of 'tail -f' 8-}

I suspect all of the pieces are there, but nobody has put them together in
a single utility. For example, $ BACKUP/IGNORE=INTERLOCK doesn't care
if files are open or not. Years ago, I taught VMS C-Kermit about all of the
various permutations of RMS file structure, including a few well-known
cases of intentionally using undefined file types (True BASIC was one of
the offenders). It had to convert every possible file type to either canonical
ASCII, fixed-block binary, or a special format called "labeled"* (which was
invented by fdc and myself just to deal with VMS's myriad file types). The
only issue would seem to be that the tail program won't see a change in
EOF on slowly-growing files until the creating process either has a buffer
flush or closes the file, so the output might be bursty. But that's true on
Unix as well.

* Our test for this was to send a multi-key indexed file with RMS journaling
from VMS to TOPS-20 to a PC to IBM 370 VM/CMS and back to VMS and
having it arrive intact, complete with journal info.

Re: Hard links on VMS ODS5 disks

<u918mv$qqvg$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28841&group=comp.os.vms#28841

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 16 Jul 2023 13:16:44 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <u918mv$qqvg$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
<u8v7e3$gqcc$1@dont-email.me>
<c882fd83-e5f1-45a7-a52c-0e5a84fe0e9fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jul 2023 17:17:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a9d816bd2db692044d7b39b2bb514e1";
logging-data="879600"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+L/5SiSguTQbhIxIx8zR2Q073aEKNYqQQ="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:M8dYeubXhk/eLfnM4R20PKoMqBg=
In-Reply-To: <c882fd83-e5f1-45a7-a52c-0e5a84fe0e9fn@googlegroups.com>
 by: Dave Froble - Sun, 16 Jul 2023 17:16 UTC

On 7/16/2023 5:25 AM, terry-...@glaver.org wrote:
> On Saturday, July 15, 2023 at 6:43:21 PM UTC-4, Dave Froble wrote:
>> Unless you're trying to read the file while it's still open. That doesn't work.
>
> That's kind of the whole point of 'tail -f' 8-}

RSTS had/has an open mode with "read regardless" as an option. This can also
be done on VMS. But if a utility on VMS doesn't use such a capability, then it
won't happen.

Perhaps the design of the utility figures that since reading only what is on
disk doesn't see anything not yet written, that it's worthless to try.

I've implemented logging in various programs to flush writes to disk
immediately, since I'd usually want to see up to date logging on a current
running program.

It's the design of a utility and user programs that defines whether a capability
is implemented.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Hard links on VMS ODS5 disks

<u91bpb$r14d$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28843&group=comp.os.vms#28843

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 16 Jul 2023 14:09:47 -0400
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <u91bpb$r14d$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
<u8u924$dad9$1@dont-email.me> <u8ubhi$37s$4@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 16 Jul 2023 18:09:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a49d12b29515f0012a9ddd3c90fd611";
logging-data="885901"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183TpOAt8xv2SnPHZXJbwK0gYya5IvLar8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:lPLpAfqAGXnwSWZ219gcY1yjeIE=
In-Reply-To: <u8ubhi$37s$4@news.misty.com>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 16 Jul 2023 18:09 UTC

On 7/15/2023 10:47 AM, Johnny Billquist wrote:
> And the secondary problem being that it's a little tricky to find the
> last n lines in such a file organization. You'll have to do some
> heuristics, and hope you got it right. But that usually is possible to
> do with a high chance of success. So it could definitely be done. (I
> have such a tool for RSX...)

It depends on the record format.

VAR,VFC => read from start or make a good guess
FIX, STM, STMLF, STMCR => no problem
UDF => "last n lines" is not defined

Arne

Re: Hard links on VMS ODS5 disks

<u91cs4$r72f$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28844&group=comp.os.vms#28844

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 16 Jul 2023 14:28:19 -0400
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <u91cs4$r72f$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jul 2023 18:28:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a49d12b29515f0012a9ddd3c90fd611";
logging-data="891983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18beWzIhPgT9OvLcZRUClHFckEJyrkLurU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:Ptt/2Lts9PU75zUiUpOIm50YWRg=
In-Reply-To: <u8ub39$37s$1@news.misty.com>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 16 Jul 2023 18:28 UTC

On 7/15/2023 10:39 AM, Johnny Billquist wrote:
> On 2023-07-14 14:55, Arne Vajhøj wrote:
>> On 7/13/2023 9:25 AM, bill wrote:
>>> Which is yet another example of "throw more hardware at the problem".
>>> A link would save the space, but who cares.
>>
>> We can discuss the optimal choice between:
>> * paying more dollars to get bigger disk
>> * the complexity of programs with multiple behavior depending on name
>>
>> But I don't think that is the case here. I think the case is that
>> the cheapest disk you can buy for new systems are so big that there
>> is enough space, so no money is saved by adding the complexity of
>> multiple behaviors.
>
> I think you missed the point.
>
> In this case, the program does deal with the different behaviors
> depending on under which name it is invoked. It's identical binaries.

I got that.

> The issue is just that you could have had just one copy of the program,
> but they installed two. For absolutely zero difference except they use
> up more disk space.

The two cost are hardware and peoples time.

With todays TB disks it is very unlikely that having two copies of some
executables will require buying bigger and more expensive disk(s).

Having developer support the name test logic on multiple platforms
and having sys admins needing to worry about linked stuff
when they clean up is a very small effort but still an
effort greater than zero.

Arne

Re: Hard links on VMS ODS5 disks

<u91cvu$r72f$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28845&group=comp.os.vms#28845

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Sun, 16 Jul 2023 14:30:22 -0400
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <u91cvu$r72f$2@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jul 2023 18:30:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a49d12b29515f0012a9ddd3c90fd611";
logging-data="891983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ipNcp1z+HZ6qa2AzX0ejIzj3+BUfaWFw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:HjGuJjA7p/Sr+8/PcmGSS4kqFhQ=
Content-Language: en-US
In-Reply-To: <u91cs4$r72f$1@dont-email.me>
 by: Arne Vajhøj - Sun, 16 Jul 2023 18:30 UTC

On 7/16/2023 2:28 PM, Arne Vajhøj wrote:
> The two cost are hardware and peoples time.
>
> With todays TB disks it is very unlikely that having two copies of some
> executables will require buying bigger and more expensive disk(s).
>
> Having developer support the name test logic on multiple platforms
> and having sys admins needing to worry about linked stuff
> when they clean up is a very small effort but still an
> effort greater than zero.

And just to make sure we are talking about the same.

VMS example:

$ type a.c
#include <stdio.h>

int main(int argc, char *argv[])
{ printf("I am A\n");
return 0;
} $ cc a
$ link a
$ type b.c
#include <stdio.h>

int main(int argc, char *argv[])
{ printf("I am B\n");
return 0;
} $ cc b
$ link b
$ run a
I am A
$ run b
I am B

$ del a.exe;*, b.exe;*
$ type ab.c
#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[])
{ if(strstr(argv[0], "]a.exe;") != NULL)
{
printf("I am A\n");
}
if(strstr(argv[0], "]b.exe;") != NULL)
{
printf("I am B\n");
}
return 0;
} $ cc ab
$ link ab
$ set file/enter=a.exe ab.exe
$ set file/enter=b.exe ab.exe
$ run a
I am A
$ run b
I am B
$ set file/remove a.exe;1
$ set file/remove b.exe;1

Arne

Re: Hard links on VMS ODS5 disks

<cd721147-347b-47f5-a7c2-2986a1c9a5a4n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28847&group=comp.os.vms#28847

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4889:b0:767:fae1:9a3f with SMTP id ea9-20020a05620a488900b00767fae19a3fmr87393qkb.7.1689568678644;
Sun, 16 Jul 2023 21:37:58 -0700 (PDT)
X-Received: by 2002:a05:6870:1707:b0:1b3:ecdb:ff21 with SMTP id
h7-20020a056870170700b001b3ecdbff21mr11953202oae.3.1689568678330; Sun, 16 Jul
2023 21:37:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 16 Jul 2023 21:37:57 -0700 (PDT)
In-Reply-To: <u91cvu$r72f$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:85c:7b9:37f3:a874;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:85c:7b9:37f3:a874
References: <u8ma5c$38rt0$2@dont-email.me> <4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com> <a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me> <u91cvu$r72f$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cd721147-347b-47f5-a7c2-2986a1c9a5a4n@googlegroups.com>
Subject: Re: Hard links on VMS ODS5 disks
From: gah...@u.washington.edu (gah4)
Injection-Date: Mon, 17 Jul 2023 04:37:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2205
 by: gah4 - Mon, 17 Jul 2023 04:37 UTC

On Sunday, July 16, 2023 at 11:30:26 AM UTC-7, Arne Vajhøj wrote:

(snip)

> #include <stdio.h>
> #include <string.h>
>
> int main(int argc, char *argv[])
> {
> if(strstr(argv[0], "]a.exe;") != NULL)
> {
> printf("I am A\n");
> }
> if(strstr(argv[0], "]b.exe;") != NULL)
> {
> printf("I am B\n");
> }
> return 0;
> }
I suspect you need a slightly better way to recognize the program name.

I am not so sure what VMS passes for argv[0] in all cases.

For extra fun, you can use the Command Definition Utility.

I remember TeX does fun things with the command name and arguments.
You need CDU to make them work right.

Re: Hard links on VMS ODS5 disks

<u93640$ijt$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28848&group=comp.os.vms#28848

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 17 Jul 2023 12:45:20 +0200
Organization: MGT Consulting
Message-ID: <u93640$ijt$1@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 17 Jul 2023 10:45:20 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="19069"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <u91cvu$r72f$2@dont-email.me>
 by: Johnny Billquist - Mon, 17 Jul 2023 10:45 UTC

On 2023-07-16 20:30, Arne Vajhøj wrote:
> On 7/16/2023 2:28 PM, Arne Vajhøj wrote:
>> The two cost are hardware and peoples time.
>>
>> With todays TB disks it is very unlikely that having two copies of some
>> executables will require buying bigger and more expensive disk(s).
>>
>> Having developer support the name test logic on multiple platforms
>> and having sys admins needing to worry about linked stuff
>> when they clean up is a very small effort but still an
>> effort greater than zero.
>
> And just to make sure we are talking about the same.

[...]

Yes. And my point is that this detail is there no matter what. So you
didn't "save" anything by having two binaries. Since it's actually just
one binary, and how it behaves is based on which name it was invoked as.

Yes, you *could* have different binaries, with the different behaviors,
and not have to deal with all this.

But that was not what was going on here. The binary we are talking about
still have this logic you are hinting at. It's just that in addition to
that engineering work, which seems to be your concern, it also uses up
twice the space (or even more, depending on how many copies of the
program you happen to install).

I feel like you didn't get the point that the decision on what the
program should do based on under what name it was invoked was not absent
with these multiple copies... It is still there, and still made use of.

Sure disk space is cheap and all that. But in this case, it's really
questionable why not have a hard link. Even at a fraction of a cents
difference in cost, it's still not zero, and bad behavior should really
not be propagated. Sooner or later a small problem becomes a bigger problem.

Johnny

Re: Hard links on VMS ODS5 disks

<u936hl$ijt$2@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28849&group=comp.os.vms#28849

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 17 Jul 2023 12:52:37 +0200
Organization: MGT Consulting
Message-ID: <u936hl$ijt$2@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
<u8u924$dad9$1@dont-email.me> <u8ubhi$37s$4@news.misty.com>
<u91bpb$r14d$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 17 Jul 2023 10:52:37 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="19069"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <u91bpb$r14d$1@dont-email.me>
 by: Johnny Billquist - Mon, 17 Jul 2023 10:52 UTC

On 2023-07-16 20:09, Arne Vajhøj wrote:
> On 7/15/2023 10:47 AM, Johnny Billquist wrote:
>> And the secondary problem being that it's a little tricky to find the
>> last n lines in such a file organization. You'll have to do some
>> heuristics, and hope you got it right. But that usually is possible to
>> do with a high chance of success. So it could definitely be done. (I
>> have such a tool for RSX...)
>
> It depends on the record format.

Right. But in this case, the record format was given.

> VAR,VFC => read from start or make a good guess
> FIX, STM, STMLF, STMCR => no problem
> UDF => "last n lines" is not defined

And in this case it was VFC. And as I said - you can usually make a good
guess.

Johnny

Re: Hard links on VMS ODS5 disks

<u936m6$ijt$3@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28850&group=comp.os.vms#28850

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 17 Jul 2023 12:55:02 +0200
Organization: MGT Consulting
Message-ID: <u936m6$ijt$3@news.misty.com>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
<u8v7e3$gqcc$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 17 Jul 2023 10:55:02 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="19069"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
In-Reply-To: <u8v7e3$gqcc$1@dont-email.me>
 by: Johnny Billquist - Mon, 17 Jul 2023 10:55 UTC

On 2023-07-16 00:42, Dave Froble wrote:

> 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.

Why wouldn't it work on an open file? As long as you are allowed shared
reading it should be just fine.

Johnny

Re: Hard links on VMS ODS5 disks

<u9394l$14pgi$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28851&group=comp.os.vms#28851

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 17 Jul 2023 13:36:53 +0200
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <u9394l$14pgi$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
<u8u924$dad9$1@dont-email.me> <u8ubhi$37s$4@news.misty.com>
<u91bpb$r14d$1@dont-email.me> <u936hl$ijt$2@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 17 Jul 2023 11:36:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9f43144bd92f1aae172600b987b52a8d";
logging-data="1205778"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sM4b9MDteItgHM1sr5X/c"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:zQmKLX4D7XC1f1zQcc6dgC4tuew=
In-Reply-To: <u936hl$ijt$2@news.misty.com>
Content-Language: sv
 by: Jan-Erik Söderholm - Mon, 17 Jul 2023 11:36 UTC

Den 2023-07-17 kl. 12:52, skrev Johnny Billquist:
> On 2023-07-16 20:09, Arne Vajhøj wrote:
>> On 7/15/2023 10:47 AM, Johnny Billquist wrote:
>>> And the secondary problem being that it's a little tricky to find the
>>> last n lines in such a file organization. You'll have to do some
>>> heuristics, and hope you got it right. But that usually is possible to
>>> do with a high chance of success. So it could definitely be done. (I
>>> have such a tool for RSX...)
>>
>> It depends on the record format.
>
> Right. But in this case, the record format was given.
>
>> VAR,VFC => read from start or make a good guess
>> FIX, STM, STMLF, STMCR => no problem
>> UDF => "last n lines" is not defined
>
> And in this case it was VFC. And as I said - you can usually make a good
> guess.
>
>   Johnny
>

But, "read from start" is the same as TYPE without /TAIL. And that is
what I do when I get that error from TYPE/TAIL. Just TYPE the log file
and let it scroll to the end, the net result is the same as when using
/tail, the last 24 (or so) lines are on the screen. And besides, more
lines are available based on the size of my scroll-back buffer in the
emulator, usually 20000 or 200000 lines.

Jan-Erik.

Re: Hard links on VMS ODS5 disks

<u93fnb$18k5h$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28857&group=comp.os.vms#28857

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 17 Jul 2023 09:29:15 -0400
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <u93fnb$18k5h$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<u8ub39$37s$1@news.misty.com> <u91cs4$r72f$1@dont-email.me>
<u91cvu$r72f$2@dont-email.me> <u93640$ijt$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 17 Jul 2023 13:29:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6860f312a226585fafffa87b970a927c";
logging-data="1331377"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QZPdFmCC7+lW9yEMTN8EH7i8Dvcs4awM="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:i5k5fsOJKUGxyrYzqDqI9/wYbZQ=
In-Reply-To: <u93640$ijt$1@news.misty.com>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 17 Jul 2023 13:29 UTC

On 7/17/2023 6:45 AM, Johnny Billquist wrote:
> On 2023-07-16 20:30, Arne Vajhøj wrote:
>> On 7/16/2023 2:28 PM, Arne Vajhøj wrote:
>>> The two cost are hardware and peoples time.
>>>
>>> With todays TB disks it is very unlikely that having two copies of some
>>> executables will require buying bigger and more expensive disk(s).
>>>
>>> Having developer support the name test logic on multiple platforms
>>> and having sys admins needing to worry about linked stuff
>>> when they clean up is a very small effort but still an
>>> effort greater than zero.
>>
>> And just to make sure we are talking about the same.
>
> [...]
>
> Yes. And my point is that this detail is there no matter what. So you
> didn't "save" anything by having two binaries. Since it's actually just
> one binary, and how it behaves is based on which name it was invoked as.
>
> Yes, you *could* have different binaries, with the different behaviors,
> and not have to deal with all this.
>
> But that was not what was going on here. The binary we are talking about
> still have this logic you are hinting at. It's just that in addition to
> that engineering work, which seems to be your concern, it also uses up
> twice the space (or even more, depending on how many copies of the
> program you happen to install).
>
> I feel like you didn't get the point that the decision on what the
> program should do based on under what name it was invoked was not absent
> with these multiple copies... It is still there, and still made use of.

Ah.

You are saying that they ditched the linking but kept the code
that made linking work.

As if in my example had done:

$ cc ab
$ link/exe=a ab
$ link/exe=b ab

That is silly in my opinion. They should have gotten rid of that code.

Simple is good - complex is bad.

Arne

Re: Hard links on VMS ODS5 disks

<u93fq3$18n8o$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28858&group=comp.os.vms#28858

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Hard links on VMS ODS5 disks
Date: Mon, 17 Jul 2023 09:30:07 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <u93fq3$18n8o$1@dont-email.me>
References: <u8ma5c$38rt0$2@dont-email.me>
<4b754c60-50e2-4d6a-a529-289c4d792b90n@googlegroups.com>
<45f4e9ef-2b99-4429-a448-e72932f6179bn@googlegroups.com>
<a824cb63-5dae-4970-8948-d29d613f23dfn@googlegroups.com>
<khacacF6ktaU1@mid.individual.net> <u8rgjd$11j4$1@dont-email.me>
<f896a0be-38a5-4d99-af51-b82ebadaf7fan@googlegroups.com>
<u8s8jb$o5q$1@dont-email.me>
<6b1af301-1eb0-471f-bb22-fb8483fac559n@googlegroups.com>
<u8sm65$p4p$1@dont-email.me> <u8stsk$9mqu$1@dont-email.me>
<u8t21b$a0v6$1@dont-email.me> <u8u74o$d8b1$1@dont-email.me>
<u8v7e3$gqcc$1@dont-email.me> <u936m6$ijt$3@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Jul 2023 13:30:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="63b4279b34a1c05083c92faf75c31536";
logging-data="1334552"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iyv0QSKuta53gky1V9TQi44dJnxR7EzI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Ax5dz3kH6zMgzH5WX/5uBlBobU8=
In-Reply-To: <u936m6$ijt$3@news.misty.com>
 by: Dave Froble - Mon, 17 Jul 2023 13:30 UTC

On 7/17/2023 6:55 AM, Johnny Billquist wrote:
> On 2023-07-16 00:42, Dave Froble wrote:
>
>> 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.
>
> Why wouldn't it work on an open file? As long as you are allowed shared reading
> it should be just fine.
>
> Johnny
>

I'm not familiar with the TYPE utility.

I am a bit familiar with RMS, the DLM, and usage.

My guess is that the utility doesn't use any "read regardless" capability. So
"allowed shared reading" may not be in use. Just a guess.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486


computers / comp.os.vms / Re: Hard links on VMS ODS5 disks

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor