comp.lang.ada
 help / color / mirror / Atom feed
From: "Tarjei T. Jensen" <tarjei@online.no>
Subject: Re: Platform portable support of heir. file systems
Date: 1996/12/18
Date: 1996-12-18T00:00:00+00:00	[thread overview]
Message-ID: <32B8508F.2B7D@online.no> (raw)
In-Reply-To: 1996Dec18.071612.1@eisner


Larry Kilgallen wrote:
> 
> On VMS:
> 
>         Directories can only be nested 8 deep or so if you want
>         the files they contain to be backed up.
> 
>         Directories cannot be removed until all their contents
>         are removed, regardless of how much privilege you have.
> 
>         Directories are always created with nobody having delete
>         permission, regardless of what the caller specifies (this
>         is independent of the previous rule).
> 
>         Directories have a "version limit" attribute which
>         would logically be set by a creator to get a desired
>         behaviour, even if only to override the default for
>         the default of inheriting from the parent.
> 
>         The directory from which you read might be different from
>         the directory to which you write, given identical
specifications,
>         if the device specified is a rooted directory rather than
a
>         real device.  (Come to think of it, Unix users creating a
>         directory don't even specify the device separately, do
they>?)
> 
> I am certain that other operating systems have quirks as well,
> especially when one gets into permissible name lengths and
> character sets (which are _not_ necessarily the same as for
files).
> 
> A common package for directory manipulation would not seem to be
> very "portable" if the rules differ on each operating system.


Don't be silly!
Exactly this behaviour would be very nice to encapsulate. Much of
what
you think is VMS specific is specific to other operating systems.

Regardless of what is the underlying operating system it is a
general
requirement for some file maintenance primitives. That is why they
appear
in the standard C library. If C programmers think these things
important
then I'm pretty confident that Ada programmers want the same
facilities.

It is trivial to construct a set of primitives that easily can cope
with
file systems of the most common operating systems (I have a paper
somewhere around here on this theme). The point is not to capture all
the
fine points, but enough to keep the programmers comfortable.

Greetings,




  reply	other threads:[~1996-12-18  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-18  0:00 Platform portable support of heir. file systems Paul Whittington
1996-12-18  0:00 ` Larry Kilgallen
1996-12-18  0:00   ` Tarjei T. Jensen [this message]
1996-12-18  0:00     ` Larry Kilgallen
1996-12-20  0:00     ` Robert Dewar
1996-12-21  0:00       ` Tarjei T. Jensen
1996-12-21  0:00         ` Larry Kilgallen
1996-12-22  0:00           ` Tarjei T. Jensen
1996-12-22  0:00           ` Robert Dewar
1996-12-23  0:00             ` Larry Kilgallen
1996-12-22  0:00         ` Robert Dewar
1996-12-19  0:00   ` Michael F Brenner
1996-12-19  0:00     ` Larry Kilgallen
1996-12-19  0:00       ` Michael F Brenner
1996-12-19  0:00         ` Larry Kilgallen
1996-12-20  0:00           ` Robert A Duff
1996-12-23  0:00   ` David J. Fiander
1996-12-19  0:00 ` Robert Dewar
1996-12-19  0:00 ` Robert I. Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox