[Info-vax] VMS Enhancement request: setfilenomove.com
Ian Miller
gxys at uk2.net
Mon Jul 15 11:03:59 EDT 2019
On Friday, July 12, 2019 at 11:40:01 PM UTC+1, Jess Goodman wrote:
> On Wednesday, July 10, 2019 at 10:03:57 PM UTC-4, Robert A. Brooks wrote:
> > On 7/10/2019 7:58 PM, John E. Malmberg wrote:
> >
> > > It should only complain about the open files if the nomove attribute is not set.
> >
> > Yeah, I agree
> >
> > >> It's not like it takes a long time, and the only way to
> > >> ensure that it's been run would be to check each file of interest for
> > >> the nomove attribute, and declaring the device safe for a defragmenter
> > >> if and only if each file of interest has been set /NOMOVE.
> > >
> > > It does not do that. It only tries to set the /nomove attribute and complains
> > > about the files that it can not set.
> > >
> > > Which means that you have do a dir/full on each file that it complains about.
> >
> > You can do this
> >
> > $ write sys$output f$file( "sys$loadable_images:sys$base_image.exe", "move" )
> > FALSE
> >
> > But yeah, I'll look into doing something.
> >
> >
> > --
> > -- Rob
>
> Why not allow SET FILE /NOMOVE to use /SHARE so that it can work on open files? Why is SET FILE/SHARE restricted to use only with /STATISTICS and /GLOBAL-BUFFERS when you can use DFU SET /IGNORE=INTERLOCK with /NOMOVE and most other file characteristics?
>
> Jess Goodman
DFU allows things which are not necessarily guaranteed or a good idea.
They may work, they may not - depending on your environment if that's OK or not.
More information about the Info-vax
mailing list