HP3000-L Archives

November 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Paveza, Gary" <[log in to unmask]>
Reply To:
Paveza, Gary
Date:
Wed, 22 Nov 2000 10:43:09 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (75 lines)
From what I recall, posix uses file descriptors, or handles.  The name
doesn't matter.  Once the file is opened, in posix you can even rm the file.
The file is still there, just the entry from the directory listing is gone.
When the last accessor releases the file, then the descriptor is released
and the inodes (where the actual data is stored) are freed.

-------------------------------------------------------------
Gary L. Paveza, Jr.
Technical Services Manager
(302) 761-3173 - voice
(877) 720-2970 - pager

        -----Original Message-----
        From:   Tracy Pierce [SMTP:[log in to unmask]]
        Sent:   Wednesday, November 22, 2000 10:37 AM
        To:     [log in to unmask]
        Subject:        [HP3000-L] posix mv command, was UDC theory

        John Burke writes...
        > ...
        > - edit the file (say udc.pub.sys), making your changes and
        > keeping it as, for example, udcnew.pub.sys.
        >
        > - use the posix move command to replace udc with udcnew:
        >
        > :mv.hpbin.sys "/SYS/PUB/UDCNEW /SYS/PUB/UDC"
        >
        > Respond "yes" to the question about replacing udc. All
        > subsequent logons
        > will get the new version of the udc. I use this trick all the time
to
        > replace files in use.
        >
        > John Burke
        >
        >
        And a cute trick it is indeed, at least to this Posix pre-neophyte.
How
        does it work, that is, what's really happening with the files?  I
have to
        assume the SET/SHOWCATALOG settings remain pointed to the original
version;
        does mv just build a link, or???

        Tracy Pierce





        > > -----Original Message-----
        > > From: Steve Hammond [mailto:[log in to unmask]]
        > > Sent: Wednesday, November 22, 2000 7:09 AM
        > > To: [log in to unmask]
        > > Subject: [HP3000-L] UDC theory
        > >
        > >
        > > Just a sanity check on my udc theory, which is a little rusty.
        > >
        > > When I upgrade from 5.5 to 6.0, I need to make one change to
        > > my PowerHouse udc. This udc is set account by account.
        > >
        > > If no one is logged on into any of the accounts that use the
        > > udc, I only need to make the modification to the udc file and
        > > keep it. Then the changes are there the next time someone
        > > logs into that account.
        > >
        > > Is this correct?
        > >
        > > TIA
        > >
        > > steve
        > >
        >

ATOM RSS1 RSS2