Inserting and Deleting Drive

Assume that the MAP command displays the following information on drives:

Drive A: maps to a local disk
DriveB: maps to a local disk
DriveC: maps to a local disk
Drive F:=NIIT\SYS:\USER8
Drive G:=NIIT\SYS:\PUBLIC\WINDOWS
SEARCH1:=Z:.[NIIT\SYS:\PUBLIC]
SEARCH2:=Y:.[NIIT\SYS:\PUBLIC\WP]
SEARCH3:=X:.[NIIT\SYS:\ACCREC]

If you would like to change the search drive mappings, you can use the INS option with the MAP command. For instance, search drive 3 currently points to the subdirectory \ACCREC. If it is to refer to the subdirectory \PUBLIC\FOXPRO, the command

MAP INS SEARCH3:=NIIT\SYS:PUBLIC\FOXPRO

will ensure that it does.

The option INS maps the next available search drive to \PUBLIC\FOXPRO, in this case search drive W:. The command further converts X: to search drive 4 and assigns W: to search drive 3. The MAP command would now display the following

Drive A: maps to a local disk
DriveB: maps to a local disk
DriveC: maps to a local disk
Drive F:=NIIT\SYS:\USER8
Drive E: =NIIT\SYS: \PUBLIC\WINDOWS
SEARCH1: =Z:.[NIIT\SYS:\PUBLIC]
SEARCH2: =Y:.[NIIT\SYS:\PUBLIC\WP]
SEARCH3:=W:.[NIIT\SYS:\PUBLIC\FOXPRO]
SEARCH4: =X:. [NIITXSYS: \ACCREC]

To delete a network drive or search path, the DEL or REM option can be used.

For instance, if you issue the command

MAP DEL SEARCH4:
or
MAP REM SEARCH4:

search drive 4 will be removed and the message

'Mapping for X: has been deleted'

will be displayed.

How are Files Stored?

DOS helps you organize files by creating directories. The directory structure in DOS is a multi-level tree structure where the directories and the subdirectories correspond to the branches and the files correspond to leaves. The directory structure of Novell NetWare is similar to that of DOS. When we talk about the directory structure in Novell NetWare, we are referring to the directory structure of the file server.

On the server, the top-most level in the directory structure is the volume. Each volume has a unique name. Each file server has at least one volume called SYS. NetWare creates it when the file server is installed. A file server can have other volumes besides SYS.

Why have volumes? Well, to answer this question, let us answer a related question about the DOS directory structure: why have directories and subdirectories? The primary reason is to have a logical storage of files so that a user can easily access them. The same reason applies for NetWare. The difference between DOS and NetWare is that NetWare adds another level on top of the existing directory structure in DOS. Thus you have:

Files, which are in subdirectories, which are in directories, which are in the volumes of a file.

NetWare Directory Structure

NetWare Directory Structure

Note: The number of subdirectories and files shown in Figure 1.4 is representative and does not indicate the exact situation in NetWare.

Dividing a hard disk into several volumes divides the disk into logical chunks.

Consider an office in which a NetWare LAN is being used by two departments, Marketing and Personnel. Apart from the SYS volume that would be created anyway, there are two other volumes; one for the Marketing department that would contain files related only to the Marketing department, and the other for the Personnel department containing files related only to the Personnel department. The employees in Marketing would have access only to SYS and VOL1 (containing marketing files), the Personnel employees would have access to files in SYS and VOL2 (containing personnel files).

A volume contains directories. In NetWare, the default volume, SYS, contains four directories: SYSTEM, PUBLIC, LOGIN, and MAIL. SYSTEM contains NetWare operating system files, NetWare utilities, and programs that are reserved for the Supervisor. PUBLIC contains program files that help to execute certain utility programs of NetWare. These can be used by regular users. The LOGIN directory contains files that help a user log in to NetWare. MAIL contains program files that help the user use NetWare's E-mail facility.

Apart from these four directories, additional directories can be created in the volume SYS. More volumes (in addition to SYS) can be created on the server hard disk. These volumes in turn, have their own directories. It depends on the supervisor to decide whether the organization needs more directories within SYS, or more volumes apart from SYS.

Each directory can be further divided into subdirectories and each of these subdirectories can contain files. A directory, instead of containing subdirectories, can also contain files.

In NetWare, the path for a Foxpro file can be given as:

NIIT\SYS:PUBLIC\SW\FOXPRO

which indicates that the file Foxpro is in the subdirectory SW, which is in the directory PUBLIC, which is on the volume SYS, which resides on the file server NUT. The server name and the volume name need not be included if you have a LAN with a single server and a single volume. In a situation where there are more than one server on the LAN, and each server contains several volumes, if the server and volume name is not specified while giving the file and directory name, NetWare assumes the current server and the current volume name.

If a LAN has more than one server, changing over from one server to another would require a fresh login from the user. If the user is currently working on the server NIIT1 and would like to work on the server NIIT2 as USER2, the command to be issued would be:

LOGIN NIIT2/USER2

Two additional points need to be noted here. While DOS recognizes only the backslash (\) for separating the levels of the directory structure, NetWare allows both the slash (/) and the backslash. Secondly, while DOS allows 127 characters in a directory path (including the drive letters and delimiters), NetWare allows 255 characters.

Communication

A Network user can afford to be sociable. We are referring to the facility that helps a LAN user talk to other users by sending short messages on their screen. First of all, how does a user find out who the neighbors are?

| Follow Up Next |

USERLIST Command

The USERLIST command displays the list of other users who have logged into the LAN.

The command, USERLIST when typed at the command prompt displays the list of login ids of users logged in and other details, as given in Figure.

Output of the USERLIST Command

Output of the USERLIST Command

In the above list, the login id with an asterisk is your login id.

The command USERLIST /A gives additional information. It includes the network numbers and node addresses where the users are working. The connection number gives the serial number of the users in the order that they have logged in (refer Figure).

Output of the USERLIST/A Command

Output of the USERLIST/A Command

| Follow Up Next |

SEND Command

This command allows the user to send brief messages to other users or user groups. The messages can be up to 45 characters. The command,

SEND "How about lunch?" TO USER JOE

will flash the message, How about lunch? on the screen of the workstation where JOE has logged in. You may include more than one user in that command, if you wish.

The command,

SEND "MEETING TODAY AT 3.00 P.M. IN ROOM NO. 5" TO GROUP MKTG

will flash the message on the screen of everyone belonging to the user group MKTG.

| Follow Up Next |