Wow, this works great.
This means there is an implied link for every actual filename, then?
-dtd
> -----Original Message-----
> From: Duane Percox [mailto:[log in to unmask]]
> Sent: Wednesday, November 22, 2000 10:26 AM
> To: Dave Darnell; [log in to unmask]
> Subject: RE: [HP3000-L] posix mv command, was UDC theory
>
>
> Fellow list readers:
>
> If you don't want to have to get the case *exactly*
> correct and/or can't remember posix commands you can
> accomplish the same thing with:
>
> :purgelink oldudc
> :rename newudc,oldudc
>
> Duane Percox wk: 650.372.0200x608 fax: 650.372.3386
> [log in to unmask]
> www.qss.com
> qwebs.qss.com
>
>
> -----Original Message-----
> From: Dave Darnell [mailto:[log in to unmask]]
> Sent: Wednesday, November 22, 2000 7:45 AM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] posix mv command, was UDC theory
>
>
> 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
> > > >
> > >
> >
>
>
|