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:
Dave Darnell <[log in to unmask]>
Reply To:
Dave Darnell <[log in to unmask]>
Date:
Wed, 22 Nov 2000 08:45:06 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (101 lines)
This ability to rename an open file is one I really miss from my HP1000
days.

hurrah for Posix - I guess I'll have to start using it!

-dtd

> -----Original Message-----
> From: Paveza, Gary [mailto:[log in to unmask]]
> Sent: Wednesday, November 22, 2000 8:43 AM
> To: [log in to unmask]
> Subject: Re: posix mv command, was UDC theory
>
>
> 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