[Info-vax] VMS Enhancement request: setfilenomove.com
Jess Goodman
norebid at gmail.com
Fri Jul 12 18:39:59 EDT 2019
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
More information about the Info-vax
mailing list