LDFU V2.7 !

DFU V2.7


.Previous. | Contents


Example:

$ DIR EXAMPLE  Directory MYDISK:[RUBBISH]  EXAMPLE.DIR;1  $ DFU %DFU> DELETE/DIRECTORY EXAMPLE.DIR  :%DFU-I-CLEANUP, Deleting MYDISK:[RUBBISH]EXAMPLE.DIR;1... *%DFU-S-DELETED, File DBGINI.COM;3 deleted (%DFU-S-DELETED, File ICON.COM;1 deleted *%DFU-S-DELETED, File I_FOOL.COM;1 deleted -%DFU-S-DELETED, File LOGICALS.COM;51 deleted *%DFU-S-DELETED, File LOGIN.COM;79 deleted *%DFU-S-DELETED, File LOGOUT.COM;4 deleted 1%DFU-S-DELETED, File NOTE_COMPRESS.COM;3 deleted *%DFU-S-DELETED, File SHOWCL.COM;3 deleted ,%DFU-S-DELETED, File SYMBOLS.COM;89 deleted ,%DFU-S-DELETED, File TPUBUILD.COM;5 deleted !%DFU-S-TOTAL, 11 file(s) deleted +%DFU-S-DELETED, File EXAMPLE.DIR;1 deleted 




/FILE=file-id

CSpecify a complete file-id (num,seq,rvn) of the file which must be Cdeleted. This qualifier allows the deletion of lost files or files marked for delete. Example :
$ DFU DFU> VERIFY MYDISK:  ,%DFU-S-CHKHOME, Home block info verified OK &%DFU-I-IFSCAN, Scanning INDEXF.SYS... I%DFU-E-INVBAKFID, file (86,17915,1) 0004CF04$BFS.;1 has invalid backlink K%DFU-W-DELETED, file (537,2878,1) APPL_UTRYIT_BOOK.TMP;1 marked for delete  .  .  .  (DFU> DELETE MYDISK/FILE=(86,17915,1) -%DFU-S-DELETED, File 0004CF04$BFS.;1 deleted  (DFU> DELETE MYDISK/FILE=(537,2878,1) 4%DFU-S-DELETED, File APPL_UTRYIT_BOOK.TMP;1 deleted  




/KEEP

EPreserve the directory tree; only delete the contents. /KEEP is only Dvalid with the /DIRECTORY qualifier. /KEEP works for DELETE/DIR and DELETE/DIR/TREE.

/NOLOG

ADo not log succesfull deletes to SYS$OUTPUT. /LOG is the default.

/NOREMOVE

HCan only be used with /FILE. Default DELETE/FILE will try to remove the Hfile from the parent directory. If the file's backlink no longer points @to a valid directory this will generate an error. The /NOREMOVE Equalifier overrules this behaviour allowing such files to be deleted.

/STATISTICS

FThis qualifier displays the performance statistics: CPU time, Elapsed Time, I/O and PageFaults.

/TREE

ECan only be used with /DIRECTORY. The delete command will delete all Hsubdirectories within the directory file specified. DFU will first sort Bout the subdirectory tree and than delete the files in the proper Border. Thus a complete directory tree is deleted with one command. 




7

Chapter 8
DIRECTORY



>This chapter describes the DIRECTORY command with the related parameters and qualifiers.3

8.1 Introduction



FThe DIRECTORY command offers 8 major functions. 3 functions deal with >all directories on a disk, the other 5 functions are used for Fmanipulating individual directories. These functions are activated by special qualifiers:

i

CWhen using /GRAPH the disk's free space distribution is shown as a eHbitmap image. Each position in the graph represents a certain number of Eblocks (in the example above 3472 blocks). This bitmap image gives a /?quick impression about the free space distribution on the disk.i

tHIf you use the /USAGE qualifier a sorted usage table will be added. Per CIdentifier / UIC the blocks used/allocated, and the number of file Bheaders are shown. If Diskquota is enabled a third column will be Fincluded which shows the blocks used/permitted allowing to QUOTA.SYS. 2Normally quota should satisfy the following rule :

o3 Quota used = blocks allocated + # of file headers R


ee


'

REPORT

a

Z

5Create a file and free space report of a disk device.
f


Format

e


REPORT device[:]

2


PARAMETERS

2


device[:]

ADevice to be reported. You may also specify a logical devicename.p
a


QUALIFIERS

s


/APPEND=filename

eAThis qualifier redirects the output to be appended to an already eFexisting file. If the output file does not exists it will be created. ,You can use /APPEND or /OUTPUT but not both.

/GRAPH

,GThis qualifier generates a graph table which visualizes the free space h2distribution on the disk. /NOGRAPH is the default.

/NOBITMAP

FThe /NOBITMAP qualifier suppresses the "Free space statistics" output.

/NOFILE

>The /NOFILE qualifier suppressed the "File Statistics" output.

/NOVOLUME

<The /NOVOLUME qualifier suppresses the "Volume info" output.

/OUTPUT=filename

iGThis qualifier redirects the output to a file. The output will also go to SYS$OUTPUT.

/STATISTICS

FThis qualifier displays the performance statistics: CPU time, Elapsed Time, I/O and PageFaults.o#

/USAGE(=uic or identifier)

oEThe /USAGE qualifier will generate a diskspace usage report based on u@Identifiers/UIC. If diskquota is enabled on the disk the blocks Hused/permitted allowing to QUOTA.SYS will also be shown. /USAGE is very @useful when diskquota is not enabled on the disk. When a UIC or Hidentifier is specified only the information for this UIC or identifier will be displayed.
A




6

Chapter 10
SEARCH



fFThis chapter describes the SEARCH command with the related parameters and qualifiers. 5

10.1 Introduction

t

VFThe search function allows very quick disk-wide searches for specific Bfiles. You can use almost any possible file attribute as a search qualifier.:

10.2 Syntax and Output



d!The command syntax for SEARCH is:a

l!DFU> SEARCH device/qualifiers &


=GThe output is displayed on your terminal. You can also sort the output aCwith the /SORT qualifier. The output is shown in 2 or 3 columns eg:>

p(DFU> SEARCH MYDISK/FILE=X.X/FRAGMENT  .  . l@$1$DUA102:[USER.COMMAND]X.X;1             1/3               1/1  . e . r


(HThe first column shows the full file name . The device name is included <in the file name. The second columns shows the file size as Cactual/allocated size. The 3rd column is optional and will only be iCshown when the /FRAGMENT qualifier is used. It shows the number of S'fileheaders / number of file fragments.D>

10.3 Volume Set processing



mFSEARCH checks if the device to-be-searched is member of a volume set. @If so, the complete volume set will be processed, starting with HRelative Volume Number 1 up to the last member in set. You can override ,this behaviour with the /NOVOLSET qualifier.:

10.4 Output formatting



HThe qualifier /FORMAT can be used with SEARCH. This allows the build up Hof a command procedure directly from the output generated by the SEARCH 1command. /FORMAT has the following restrictions :t

    rG
  1. /FORMAT is only valid with the /OUTPUT qualifier, and can not be s7 used together with the /FULL or the /SORT qualifiers./@
  2. The format string used must contain the !AS directive (in D uppercase). The file found will be substituted at the !AS location
C

hExample:

mHDFU> SEARCH/OUTP=DEL.COM/FORMAT="$DELETE/CONF !AS"/FILE=*.LOG mydisk 


>F

10.5 UIC and identifier processing

@Version V2.4 introduced an improved handling of UIC's. Previous Gversions of DFU only accepted a numeric UIC in the /OWNER qaulifier or fFan identifier in the /IDENT qualifier. V2.4 and later now accepts all Cvalid UIC and identifier formats (numeric and alphanumeric) in the A/OWNER and /IDENT qualifiers. Technically there is no longer any lFdifference between these two qualifiers, but they will be left in for compatibility reasons.a
'

SEARCH

l

v

$Fast file search through INDEXF.SYS.
r


Format



SEARCH device[:]




PARAMETERS



device[:]

ADevice to be searched. You may also specify a logical devicename.
o


DESCRIPTION

EThe SEARCH command is used for quick disk-wide searches for specific 2Ffiles. The qualifiers describe the file attributes used as the search Hcriteria. You can combine almost all of the possible qualifiers, unless otherwise specified. Eg.:r
FCDFU> SEARCH DISK1/SIZE=MIN=10/OWN=[1,4]/CREATED=SINCE=YESTERDAY C


Gis a valid command. Note that qualifiers will be used in a logical AND N@manner, that is, SEARCH will only display files which match all !qualifiers and options specified..

n


QUALIFIERS

e

/ACCESS=option(,option)

FThe /ACCESS qualifier is used to search files depending on their last 6ACCESS date (VMS 7.2 only). The possible options are :9



/ACE=identifier

GSearch for files which have an ACE containing the specific identifier. eEOnly ACE's of the format "IDENTIFIER=<identifier>,..." will be D searched.1

/ALLOCATED

oHDefault, SEARCH will use the actual file size. The /ALLOCATED qualifier Dforces SEARCH to use the allocated filesize. This qualifier is only )meaningfull if you combine it with /SIZE.i

/APPEND=filename

AThis qualifier redirects the output to be appended to an already (Fexisting file. If the output file does not exists it will be created. ,You can use /APPEND or /OUTPUT but not both.#

/ATTRIBUTE=option(,option)

iDThe /ATTRIBUTE qualifier is used to search files depending on their Elast attribute change date (VMS 7.2 only). The possible options are :eb

e

/BACKUP=option(,option)

HThe /BACKUP qualifier is used to search files depending on their backup date. The possible options are : 

-HThe NONE option gives files which don't have a backup date recorded.The Bother 2 options can be used to get files which have a backup date Dbefore or after a specific date. The BEFORE and SINCE option can be combined in one command.!

/BAKFID=backlink-file-id

HYou can use this qualifier to look for a file with a specific backlink. FOnly the first part of the file id must be specified, that is, if the Dfile id is (x,y,z) you must specify 'x' as the file id. You can use Bthis qualifier to get files from a specific directory. If you use A/BAKFID=0 you will get files not belonging to a directory (often temporary files).C)

/CHARACTERISTIC=(char1,char2...)

p7This qualifier is used to get files with specific file aBcharacteristics.The characteristics can have the following values:c

aGThe several characteristics can be combined in one command.If you want MFa logical OR behaviour in stead of the default AND behaviour, you can #use the special option MATCH=OR eg:<

)  SEARCH disk/CHAR=(NOMOVE,DIR,MATCH=OR) o


r!

/CREATED=option(,option)

BThe /CREATED qualifier is used to search files depending on their creation date. The options are :o 

g


.Previous% | Nextk. | Contentsp