ODFU V3.0 !

DFU V3.0


.Previous. | Contents


CThe diskwide function qualifiers can be used in one command; other Dcombinations of qualifiers are not possible. Note that the diskwide Cdirectory functions can take several minutes to complete because a Fcomplete directory scan uses a lot of disk I/O (approximately 2 I/O's per directory).

EAn indirect command file containing a list of files can be used as a Gparameter to /COMPRESS or /DUMP. Such a list can be generated with the SEARCH command. Example:

7DFU> SEARCH disk/FILE=*.DIR/SIZE=MIN=50/OUT=dir.lst $DFU> DIRECTORY/COMPRESS @dir.lst 


=Using the /COMPRESS function on critical system files is not Erecommended. The directory is not accessible for a short time during Gthe execution of the compresss command; also the directory may be left Acorrupted, should the system crash in the middle of the compress command.N

5.3.2 Discussion of directory compression



BThe DIRECTORY/COMPRESS function will improve performance on large >directories. There are some options which can further enhance performance :



FSo the following approach should be used when compressing directories:

    7
  1. Inactive directories : use DIR/COMPRESS/TRUNCATE.C
  2. Not very active directories : use DIR/COMPRESS (/TRUNCATE=n).?
  3. Active directories, files added at the end (such as MAIL 3 directories) : use DIR/COMPRESS without /TRUNCATEI
  4. Active directories, files added in random alphabetical order : use 2 DIR/COMPRESS/FILL_FACTOR=n, n between 50 and 75.


<

5.3.3 Output formatting

FThe qualifier /FORMAT can be used with DIRECTORY/VERSION. This allows Gthe build up of a command procedure directly from the output generated Dby the DIR/VERSION command. /FORMAT has the following restrictions :
    H
  1. /FORMAT is only valid with the /VERSION and the /OUTPUT qualifier.@
  2. The format string used must contain the !AS directive (in D uppercase). The file found will be substituted at the !AS location


Example:

IDFU> DIR/VERSION=4/OUTPUT=PURGE.COM/FORMAT="$PURGE/KEEP=3 !AS" mydisk 





*

DIRECTORY



Performs directory functions.



Format

2

DIRECTORY device[:] or directory-file(s)




PARAMETERS



device

GThe device on which to perform one of the diskwide directory functions.

directory-files(s)

@The file specification of the directory on which to perform the F/COMPRESS, /DUMP or /RECOVER function. /REBUILD_MFD requires a device Hname only (assumes 000000.DIR implicitly). Wildcard file specifications Fmay be used. DFU will automatically add .DIR to the filespecification if a filetype is not provided.



QUALIFIERS



/ALIAS

HThe /ALIAS qualifier directs DFU to scan all directories for alias file Fentries on a disk. Normally only the system disk should contain alias Afiles. This qualifier can be combined with /VERSION=n and /EMPTY.

/COMPRESS

GPerforms the directory compression unless /TEST is also specified. The =output will show the results in terms of file sizes. Example:
#DFU> DIR/COMP OWN$:[000000]MAIL  L%DFU-S-DONE, OWN$:[000000]MAIL.DIR;1: 31 files; was : 4/9, now : 3/3 blocks  DFU> 




/DEVICE

FThe device on which the files reside. The device name is added to the Hfile name. If a file list is generated with the DFU SEARCH command this Hqualifier is not needed. This qualifier can only be used in combination with /COMPRESS or /DUMP.

/DUMP

DProduce a block level dump of a directory. /DUMP will interpret the Ddirectory entries found in each block. A directory entry contains a Csize, version-limit, type and name field. Next the directory entry Econtains a list of versions and file ID's for this entry. /DUMP will @produce a rather low level output of this information. Example :
DFU> DIR/DUMP C.DIR  DUMP of directory block 1 >Size: 22, Version limit: 3, Type: ODS-2, Name(10): CHKDSK.EXE #   Version: 3, FID : (1027,1456,0) ASize: 26, Version limit: 3, Type: ODS-2, Name(13): CHKDSK.README $   Version: 2, FID : (33892,1171,0) $   Version: 3, FID : (1256,11234,0) >Size: 22, Version limit: 3, Type: ODS-2, Name(10): CHKDSK.SAV #   Version: 2, FID : (13947,100,0) ?Size: 24, Version limit: 3, Type: ODS-2, Name(11): CHKDSK.SAVE $   Version: 1, FID : (12531,2114,0) BSize: 26, Version limit: 3, Type: ODS-2, Name(14): CHKDSK_LNK.COM "   Version: 2, FID : (12314,72,0) 8Size: 18, Version limit: 3, Type: ODS-2, Name(5): C_D.C "   Version: 3, FID : (32650,32,0) :Size: 20, Version limit: 3, Type: ODS-2, Name(7): C_D.EXE !   Version: 9, FID : (2675,64,0) :Size: 20, Version limit: 3, Type: ODS-2, Name(7): C_D.OBJ "   Version: 4, FID : (9835,117,0) :Size: 20, Version limit: 3, Type: ODS-2, Name(7): C_D_2.C #   Version: 15, FID : (12428,84,0) <Size: 22, Version limit: 3, Type: ODS-2, Name(9): C_D_2.OBJ "   Version: 9, FID : (8439,119,0) <Size: 22, Version limit: 3, Type: ODS-2, Name(9): C_D_3.CLD "   Version: 3, FID : (9777,178,0) <Size: 22, Version limit: 3, Type: ODS-2, Name(9): C_D_3.OBJ "   Version: 2, FID : (9737,161,0) :Size: 20, Version limit: 3, Type: ODS-2, Name(7): C_D_4.C $   Version: 3, FID : (10594,1580,0) <Size: 22, Version limit: 3, Type: ODS-2, Name(9): C_D_4.OBJ #   Version: 2, FID : (10177,109,0)  DUMP of directory block 2 8Size: 18, Version limit: 3, Type: ODS-2, Name(5): DFU.C $   Version: 169, FID : (31123,52,0)   .  .  . =%DFU-I-TOTAL, OWN$:[SOURCES.FORTRAN.DFUSRC]C.DIR;1: 42 files  




/EMPTY

DThe /EMPTY qualifier will produce a list of empty directories. This 5qualifier can be combined with /ALIAS and /VERSION=n.

/FILL_FACTOR=n

CSpecifies ,in percentage, the filling of directory blocks during a E/COMPRESS operation. Fill factor may be between 50 and 100. Omitting Fthis qualifier is the same as /FILL_FACTOR=100 (maximum compression). FIf the directory has not enough allocated space a low fill factor may >result in failure of the Compress operation. DFU will issue a @DFU-E-EXTERR error, and the directory file will not be modified.

/FORMAT=format-string

FCreate an output file in a format described by the format string. The Gstring must contain the !AS directive (this must be uppercase). At the C!AS location the resultant filename will be filled in. The /OUTPUT qualifier is required.

/OUTPUT=filename

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

/REBUILD_MFD

HSyntax : DIRECTORY/REBUILD_MFD <device> This qualifier causes the Cmaster file directory (000000.DIR) of the device to be rebuild and entered in itself.

/RECOVER

GThis qualifier rebuilds a corrupted directory. Do not use this command "on critical or active directories.

/STATISTICS

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

/TEST

HThe /TEST can only be used in conjunction with /COMPRESS. The qualifier Awill show the results of the /COMPRESS but will not compress the directory file.

/TRUNCATE=blocksize

?During a compress operation truncate the directory back to the Eblocksize specified. If blocksize is not specified, the file will be Gtruncated back to the end-of-file block number. Truncation will always Fbe rounded up to the next highest multiple of the disk's cluster size.

/VERSION=n

BThe /VERSION qualifier directs DFU to scan all directories on the Ddevice to produce a list of files which have at least 'n' versions. 6This qualifier can be combined with /ALIAS and /EMPTY.


-

5.4 INDEXF

FThis chapter describes the INDEXF command with the related parameters and qualifiers.6

5.4.1 Description



CThe INDEXF command can be used to manipulate the disk's INDEXF.SYS Cfile. There are 4 options which can be invoked with the appropiate qualifiers :



BThe INDEXF command is a very powerfull tool which can be used for Dsolving some classic ODS2 problems (such as the SYSTEM-F-HEADERFULL Aerror). It will save an image BACKUP/RESTORE operation or even a Dre-INIT of the disk. There are however some restrictions when using Gthis command. Also issueing this command on a volume or shadow set can $only be done after some preparation.

BINDEXF/ANALYZE can always be performed on a on-line, mounted disk Gbecause it is a read-only function. The /DEFRAG, /EXTEND and /TRUNCATE Goption however requires that the disk is correctly dismounted from all Esystems in the cluster. Also VOLPRO privilege is required to execute Fthese options. The procedure to defrag, extend or truncate INDEXF.SYS is as follows :

    J
  1. Perform an ANALYZE/DISK/REPAIR first to make sure that there are no  structure errors on the diskD
  2. DISMOUNT the disk cluster wide (with /NOUNLOAD). In case of a ; volume or shadow set the complete set must be dismounted.F
  3. Issue the INDEXF/DEFRAG, /EXTEND=n or /TRUNCATE command for the J disk. The syntax is : DFU> INDEXF/DEFRAG device: On a shadow set one E must specify the virtual unit as the device: parameter and use the J /SHADOW_MEMBER=device: qualifier to specify ONE physical member of this  set.G
  4. DFU will remount the disk privately and determine if the command  can be executed.H
  5. If the command can be executed DFU will prompt for a confirmation.I
  6. If the command is confirmed DFU will remount the disk /FOREIGN and J start with the operation. After completing all operations the disk will  be dismounted.J
  7. The system manager must now manually remount the disk. In case of a I volume set the complete set must be remounted. In case of a shadow set C remounting the complete set will result in a correct shadow copy , operation on the other members of the set.


EThere are some restrictions which will limit the use of the /DEFRAG, /EXTEND and /TRUNCATE options :



H

5.4.2 Example of a DEFRAG operation

CBelow follows an example of a disk which is defragmented using the =/DEFRAG qualifier (the /EXTEND qualifier is almost the same):
 DFU> index/defrag DUA1: -%DFU-I-MOUNTING, Busy mounting disk DUA1:... 0%DFU-I-ANALDISK, Analyzing INDEXF and BITMAP... K%DFU-I-TOTAL, Maparea maps 326 blocks in 9 fragments (11% used)        (1) K%DFU-I-FINDLBN, Largest free contiguous space 2351 blocks at LBN 2649  (2) K%DFU-I-MOVE, 305 blocks can be defragmented (5 fragments)              (3) .Continue to modify INDEXF.SYS ? (Y/N) [N] : y 8%DFU-I-MOUNTFOR, Busy remounting disk LDA1: /FOREIGN... :%DFU-I-STARTDFR, Now copying fragments to new location... K%DFU-S-COPIED, 185 blocks copied (fragment 5)                          (4) -%DFU-S-COPIED, 30 blocks copied (fragment 6) -%DFU-S-COPIED, 30 blocks copied (fragment 7) -%DFU-S-COPIED, 30 blocks copied (fragment 8) -%DFU-S-COPIED, 30 blocks copied (fragment 9) <%DFU-I-NEWTOTAL, New Maparea maps 326 blocks in 5 fragments K%DFU-S-REWRTIF, INDEXF.SYS File header rewritten !                     (5) K%DFU-I-RBDBITMAP, Updating BITMAP.SYS...                               (6) K%DFU-S-READY, all operations succesfully completed                     (7) !%DFU-I-DISMNT, Volume dismounted  


-The meaning of these messages is as follows :

    F
  1. DFU reports the number of fragments and the percentage of space C used in the file header of INDEXF.SYS. These figures can also be ' produced with the /ANALYZE qualifier.F
  2. DFU reports the largest number of contiguous free blocks on the  disk.D
  3. DFU now proposes the largest chunk of INDEXF.SYS which can be % defragmented into one new fragment.@
  4. After remounting the disk /FOREIGN DFU starts copying the  individual fragments.H
  5. After all copy operations have been completed the new file header  is rewritten.B
  6. Next BITMAP.SYS will be modified to reflect the new storage situation.C
  7. This message indicates that DFU has succesfully finished the operation.


9

5.4.3 Crash Recovery

DDuring a DEFRAG, EXTEND or TRUNCATE operation there is a very small Ftime interval in which a system crash or disk failure may result in a Csituation which requires manual intervention. This interval exists Fafter DFU has rewritten the INDEXF.SYS new file header and before DFU Ehas completed the rebuild of BITMAP.SYS. By taking a careful look at Fthe log produced by DFU it is easy to determine which action to take. CThe critical interval exists after DFU issued the "%DFU-S-REWRTIF, FINDEXF.SYS File header rewritten" message and before a "%DFU-S-READY, Hall operations succesfully completed" message has been reported. If the Fsystem or disk fails somewhere between this interval the disk must be Bremounted and immediately repaired with DFU> VERIFY/REBUILD (a EANALYZE/DISK/REPAIR or a SET VOLUME/REBUILD=FORCE command will do as 7well). Failing to do so may result in a corrupted disk.

AAny error, system or disk failure outside this interval does not Arequire further action (apart from manually remounting the disk).5

5.4.4 Disclaimer



DDespite careful testing on several disk types and configurations HP Gcannot absolutely garantuee that defragmenting or extending INDEXF.SYS >will not result in a corrupted disk. Therefore it is strongly Grecommended that a defragment or extend operation only be performed on =a disk if a valid and recently made disk backup is available.




'

INDEXF



(Analyze, Defragment or Extend INDEXF.SYS



Format



INDEXF device[:]




PARAMETERS



device[:]

' device which holds the INDEXF.SYS file



QUALIFIERS



/ANALYZE

EDisplays information about the number of fragments in INDEXF.SYS and <the largest contiguous free space. If INDEXF.SYS can not be 8defragmented a "%DFU-W-NOOPT" message will be displayed.

/DEFRAG

>Starts a defragment operation on INDEXF.SYS. The disk must be clusterwide dismounted.

/EXTEND=n

>Extends INDEXF.SYS with 'n' blocks in 1 new fragment. This is Cequivalent to 'n' extra file headers. The disk must be clusterwide Bdismounted. 'n' will be rounded up to be a multiple of the disk's cluster size.

/SHADOW_MEMBER=device:

GThe physical member of the shadowset on which to perform the EXTEND or FDEFRAG operation. This qualifier is only required in combination with /DEFRAG and /EXTEND. Example :
5DFU> INDEXF/DEFRAG DSA0:/SHADOW_MEMBER=$1$DUA104: 




/SHOW_POINTERS

7Displays all mapping pointer information. See example :
$DFU> index/analyze/show $1$dua11 0%DFU-I-ANALDISK, Analyzing INDEXF and BITMAP... A%DFU-I-MAPPTR, Retrieval ptr ( 1) Size :       6 , LBN :       0 A%DFU-I-MAPPTR, Retrieval ptr ( 2) Size :       3 , LBN :    1023 A%DFU-I-MAPPTR, Retrieval ptr ( 3) Size :       3 , LBN : 1498254 A%DFU-I-MAPPTR, Retrieval ptr ( 4) Size :   27534 , LBN : 1470720 A%DFU-I-MAPPTR, Retrieval ptr ( 5) Size :    1002 , LBN :  345642 A%DFU-I-MAPPTR, Retrieval ptr ( 6) Size :    1002 , LBN : 1016796 A%DFU-I-MAPPTR, Retrieval ptr ( 7) Size :    1002 , LBN : 1467444 A%DFU-I-MAPPTR, Retrieval ptr ( 8) Size :    1002 , LBN : 1925727   .   .   . A%DFU-I-MAPPTR, Retrieval ptr (19) Size :    1002 , LBN :  544224 A%DFU-I-MAPPTR, Retrieval ptr (20) Size :   10215 , LBN : 2565624 C%DFU-I-TOTAL, Maparea maps 52791 blocks in 20 fragments (37% used) I%DFU-I-FINDLBN, Largest free contiguous space 9132 blocks at LBN 1648761 ;%DFU-I-MOVE, 9018 blocks can be defragmented (9 fragments) 




/STATISTICS

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

/TRUNCATE

EThis qualifier truncates the INDEXF.SYS file back to the end-of-file 2size. Thus over-allocated blocks can be recovered.


-

5.5 REPORT

FThis chapter describes the REPORT command with the related parameters and qualifiers.6

5.5.1 Description



AThe REPORT command generates a report of the file and free space Gfragmentation of the disk. Also a graph may be generated by the /GRAPH Hqualifier; this visualises the free space distribution on the disk. The A/USAGE qualifier will generate a diskspace usage report. This is :especially useful if DISKQUOTA is not enabled on the disk.

EThe default report contains information of the volume, files and the Cbitmap. This output can be suppressed by the /NOVOLUME, NOFILE and ?NOBITMAP qualifiers. Also the /USAGE qualifier can be used for Adisplaying information of a specific UIC or Identifier simply by ;specifying /USAGE=<uic> or /USAGE=<identifier>.<

5.5.2 Syntax and Output



$The syntax of the report command is:

!DFU> REPORT device/QUALIFIERS 


:Below follows an example and output of the report command:

 "DFU> REPORT USER3:/GRAPH/USAGE  0%DFU-I-REPORT, Reporting on USER3: ($1$DUA102:)  7  ***** Volume info for USER3: (from HOME block) ***** 1 Volume name                      :  USER3       1 Volume owner                     :  SYSTEM      . Volume set name                  :           - Highwater mark. / Erase on del.  :  No / No 1 Structure name                   :              ' Clustersize                      :  3 , Maximum # files                  :  367618 ) First header VBN                 :  103 / Header count                     :  51547 (1) / Free headers                     :  10951 (2)   0  ***** File statistics (from INDEXF.SYS) ***** > INDEXF.SYS fragments /map_in_use :  21 / 61 (39% used)   (3) / Total files (ODS2 / ODS5)        :  40595 / 0 ' Files with extension headers     :  0 > Files marked for delete          :  19 , size : 25/63 blocks * Directory files                  :  1957 ) Empty files                      :  177 + Files with allocation            :  40418 / Contiguous files                 :  40326 (4) 6 Total size used /allocated       :  2492431 /2533209 + Total fragments                  :  40770 0 Average fragments per file       :  1.009  (5) ; File fragmentation index         :  0.692 (excellent) (6) ( Average size per fragment        :  62 $ Most fragmented file             : B    $1$DUA102:[LARGEUSER]A.DAT;1 ( 180/630 blocks; 30  fragments)   6  ***** Free space statistics (from BITMAP.SYS) ***** - Total blocks on disk             :  2940951 , Total free blocks                :  407742 ( Percentage free (rounded)        :  13 ) Total free extents               :  260 F Largest free extent              :  42912 blocks at LBN: 2463597 (7) * Average extent size (rounded)    :  1568 = Free space fragmentation index   :  0.191 (excellent) (6)      N     LBN   +------------------------------------------------------------+   % Q        0->|***....***********.************.******...*********..********|  6% Q   208360->|************************************************************| 13% Q   416721->|************************************************************| 20% Q   625081->|******************************************************.*****| 26% Q   833442->|*******..*********************************..****************| 33% Q  1041802->|******.**.*********...********.*****.*******...*.**..*.***..| 40% Q  1250163->|.*..*****************....*.....**.*. ..*****.***..****.  ..*| 46% Q  1458523->|**********. .*******************************************.**.| 53% Q  1666884->|.**...  ....... .*******...**********.*..***********..******| 60% Q  1875244->|***..  ....*...**********.   ..*********.    .**************| 66% Q  2083605->|*********************************.*****..   .****... . .... | 73% Q  2291965->| ..*******....  ......**************************************| 80% Q  2500326->|****..*****.*****.**.      .********...*.*****..*******.*..*| 86% Q  2708686->|.*******..*******.***..*.****************.*. .*...**********| 93% Q  2917047->|..**.    .*********************.******..  .*******.         |100% J           +------------------------------------------------------------+ T * : Fully allocated, . : Partial allocated, <space> : Free, 3472 blocks each  6 Free space distribution, each * =  2100  free blocks   ?  ***** Disk Usage Table (from INDEXF.SYS and QUOTA.SYS) ***** K Identifier/UIC                 Used/Allocated   Headers   Quota Used/Perm K ------------------------------------------------------------------------- K [SSG,MRX]                       42079/46356      2259      48615/60000    K [SSG,TESTJE]                   189306/254742     4935     259677/300000   K [SSG,LARGEUSER]                 47961/50238      1648      51886/65000    K [SYSTEM]                       499554/505626     4954     510580/2000000   .  .  .  


.The various items have the following meaning :

    I
  1. The header count is calculated based on the size of INDEXF.SYS. If 8 more headers are needed INDEXF.SYS has to be extended.F
  2. The free headers gives the number of free entries in INDEXF.SYS  before it has to extend.F
  3. The INDEXF.SYS number of fragments and mapwords in use are very I important figures to determine if the INDEXF.SYS file can be extended. G The theoretical maximum number of mapwords is 155. This value may be F less if there are ACL's on INDEXF.SYS. Each fragment, and therefore G each retrieval pointer must be in the mapword area. As the size of a F retrieval pointer depends on the physical size of a disk, it is not F easy to say how many fragments INDEXF.SYS can store in the mapwords J area. If the mapword area is full the INDEXF file can no longer extend, C and creating new files may result in a SYSTEM-W-HEADERFULL error.H
  4. Files which have exactly 1 retrieval pointer are considered to be F contiguous. This doesn't mean that the CONTIGUOUS bit is set in the  file header.J
  5. The average fragments per file give some indication about the total  file fragmentation.I
  6. The file and free space fragmentation index classifies the disk as follows : I
    If the index is greater than 3 one should consider defragmenting I the disk using HP's DFO software, or by performing an Image BACKUP / Restore.E
  7. The largest free extent is a useful figure for defragmentation G purposes. A file cannot be defragmented when its size is larger than this value.

    CWhen using /GRAPH the disk's free space distribution is shown as a Hbitmap 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.

    EIf the /USAGE qualifier is used, a sorted usage table will be added. GPer Identifier / 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 :

    3 Quota used = blocks allocated + # of file headers 
    

    


    '

    REPORT

    

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

    Format

    

    REPORT device[:]

    
    

    PARAMETERS

    

    device[:]

    /Device to be reported. (May use a logical name)
    
    

    QUALIFIERS

    

    /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. $Use /APPEND or /OUTPUT but not both.

    /GRAPH

    GThis qualifier generates a graph table which visualizes the free space 2distribution 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

    GThis 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.#

    /USAGE(=uic or identifier)

    EThe /USAGE qualifier will generate a diskspace usage report based on @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.
    

    -

    5.6 SEARCH

    FThis chapter describes the SEARCH command with the related parameters and qualifiers.6

    5.6.1 Description

    

    FThe search function allows very quick disk-wide searches for specific Gfiles. Searches can be performed based on almost any file attribute or Hattributes. Each attribute has a corresponding qualifier. More than one 0qualifier can be used to limit the search width.<

    5.6.2 Syntax and Output

    

    !The command syntax for SEARCH is:

    !DFU> SEARCH device/qualifiers 
    

    CThe output is displayed on the terminal. It can be sorted with the :/SORT qualifier. The output is shown in 2 or 3 columns eg:

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

    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 Cshown when the /FRAGMENT qualifier is used. It shows the number of 'fileheaders / number of file fragments.@

    5.6.3 Volume Set processing

    

    FSEARCH checks if the device to-be-searched is member of a volume set. @If so, the complete volume set will be processed, starting with FRelative Volume Number 1 up to the last member in set. This behaviour .can be inhibited with the /NOVOLSET qualifier.<

    5.6.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 :

      G
    1. /FORMAT is only valid with the /OUTPUT qualifier, and can not be 7 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
    

    Example:

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

    


    '

    SEARCH

    

    $Fast file search through INDEXF.SYS.
    
    

    Format

    

    SEARCH device[:]

    
    

    PARAMETERS

    

    device[:]

    /Device to be searched. (May use a logical name)
    
    

    DESCRIPTION

    EThe SEARCH command is used for quick disk-wide searches for specific Ffiles. The qualifiers describe the file attributes used as the search Ecriteria. A combination of almost all of the qualifiers is possible, unless otherwise specified. Eg.:
    CDFU> SEARCH DISK1/SIZE=MIN=10/OWN=[1,4]/CREATED=SINCE=YESTERDAY 
     

    


    .Previous% | Next. | Contents