• Aucun résultat trouvé

CHANGE VOLUME NAME Command

Dans le document Standard Software (Page 189-195)

12 characters for volume and password names. Volume names can contain periods and hyphens. Refer to section 6.

CHANGE VOLUME NAME Command

The

CHANGE VOLUME NAME

command allows you to change the name or password of a volume. You can also use it to add or delete a volume password; however, you cannot add, change, or delete a password for the volume currently in use.

Managing Data 5-15 To activate this command, you type CHANGE VOLUME NAME in the Executive Command field, and press RETURN. The system displays the CHANGE VOLUME NAME command form shown in figure 5-2.

You must enter parameters in two CHANGE VOLUME NAME fields:

o In the Device name field, enter the name of the device that contains the volume.

o In the New volume name field, enter the new name (a maximum of 12 characters). To add, change, or delete a password only for the volume, you enter the existing name and then enter parameters in the appropriate optional fields.

The CHANGE VOLUME NAME command form has three optional fields (enclosed in square brackets). You can leave any or all of these fields blank to accept the defaults or enter

parameters to override the defaults. Refer to table 5-5 for information about each optional field.

When you complete the CHANGE VOLUME NAME command form, you press GO. The system makes the changes you indicated.

Figure 5-2 CHANGE VOLUME NAME Command Form

Dwlge Vol~ ....

loevlce ,...

1 t)(n:)l(:::::l:!:::l:l:::::::::::!:h:::::»U::!:l:;:;<:k)::::1

[Devlce passwru) [Old IIOlu. passwrd)

Nell IIOl~ ~

Table 5-5 CHANGE VOLUME NAME Command Optional Fields Field

[Device password]

Action/Explanation

The default indicates that no password is assigned to the device containing the volume you want to change.

If a password is assigned to the device containing the volume you want to change, enter the password in this field.

Table 5-5 CHANGE VOLUME NAME Command Optional Fields (continued) Field

[Old volume password]

[New volume password]

Action/Explanation

The default indicates that no password is assigned to the volume you want to change.

If a password is assigned to the volume you want to change, enter the password in this field.

The default directs the system to leave the new volume unprotected; no password is necessary to access it.

To change or assign a password to the volume named in the New volume name field, enter a maximum of 12 characters. You cannot change or assign a password to the volume currently in use.

Determining the Contents of Volumes

You can obtain information about the contents of a volume by using the VOLUME STATUS command. The system displays the current status of the volume and its directories.

VOLUME STATUS Command

The VOLUME STATUS command allows you to display the following information about the status of a volume:

o initialization date o last modification date

o number of unused sectors and file headers o total number of sectors and file headers

o percent of used sectors and file headers

o alphabetized list of names, current protection levels, and estimate of the maximum number of files for each directory in the volume

You can specify whether you want the information with or without details. Volume status information with details includes all the information listed above plus the file count and total sectors for each directory in the volume and the total file count and sectors for all the directories.

Managing Data

Note: The system usually reports different figures for the approximate maximum number of files when you specify information with details than it does without details. This is because:

5-17

o the system cannot determine exactly the maximum number of files for a directory

o the system uses a different method for determining this number when you specify with details than it does without details

To activate this command, you type VOLUME STATUS in the Executive Command field. To display the contents of the volume of the current path without details, you press GO; the volume information appears on the screen.

If you want to display detailed information of the volume or the contents of a volume other than the one of the current path, you press RETURN. The system displays the VOLUME STATUS command form shown in figure 5-3. When you complete the VOLUME STATUS command form, you press GO.

The VOLUME STATUS command form contains five optional fields (enclosed in square brackets). You can leave any or all of these fields blank to accept the defaults or enter

parameters to override the defaUlts. Refer to table 5-6 for information about each optional field.

Figure 5-4 shows a sample of a detailed Volume Status Display. It includes:

o the date the volume was initialized o the date it was last modified

o the current number of used sectors and file headers

o the total number of sectors and file headers o the percent of used sectors and file headers

Each sector is equal to 512 bytes. A File Header Block exists for each file. It contains information about the file such as its name, password, date/time it was last modified, disk

address, and the size of each of its disk extents. Each File Header Block is one sector in size.

Figure 5-3 VOLUME STATUS Command Form

[InclUde tellp)rary d1rector1es?)

Table 5-6 VOLUME STATUS Command Optional Fields that of the current path, enter the volume name.

The default is no; the system displays the status information with no details.

To display detailed status information for the volume, enter y.

If you accept the default, the system does not store or print the information the command generates. The information appears only.

To display status information for specific directories only, enter the name(s) of each directory enclosed in angle brackets (for example, <office».

The default is no; the system does not include information about temporary directories in the volume status display.

To include information about tempo-rary directories in the volume status display information, enter y.

Managing Data 5-19 Figure 5-4 Sample of a Detailed Volume Status Display

Executive 7.0.4 (OSll11$trnp-7.D.4-1llg)

Patl1: [Sys]cSys> ~ .s.. 22,1986 10:09 AM

Q:JIn!n2 voluTe Status VOlURe Status 7.0.4

The detailed Volume Status Display also alphabetically lists all the directories on the volume and the protection level code of each (refer to section 6). It includes an estimate of the maximum files in the directory based on the average file name length, a file count for each directory, and the total sectors of each. The total sectors of a directory reflect the maximum number of file headers for the directory.

At the bottom of the Volume Status Display, the system shows the total file count and total sectors of all the directories in the volume.

Directories

A directory is a group of related documents, programs, or other data stored on a volume. You organize directories into units called files. A directory serves as an index of the location of each file stored on a volume.

Your system includes two types of directories:

o a system directory

o directories you create for organizing files and programs

The system directory <Sys> contains files and data needed for system operation. You should not delete, remove, or overwrite these files. The

IVOLUME

command creates the system directory on a diskette or hard disk during the initialization procedure. For more information about the system directory, refer to the BTOS Reference Manual.

Creating Directories for Files and Programs

You create directories for organizing files and programs by using the

CREATE DIRECTORY

command. You assign each direc-tory a different name (a maximum of 12 characters). To use a directory name as part of a complete file specification, you must enclose it in angle brackets (for example,

<OirName».

Dans le document Standard Software (Page 189-195)

Documents relatifs