--------------------------------------------------------------------------- DISCLAIMER THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY. NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION. ------------------------------------------------------------------------------ This document contains some of the most commonly used commands needed to manipulate CD's as NetWare volumes on NetWare 3.12 and NetWare 4.X. CD DEVICE LIST typed at the console prompt after the CDROM.NLM is loaded yields the following information: ** CD ROM Device List No. Act. Device Name Volume Name Mounted 2 Y Device # 0 SONY CD-ROM CDU-541 (8100000 NSEPRO Y No. -- Defines the Media Manager object number assigned to this particular CD player. When you manipulate the CD in the player by using the "device number" this is the number you should be using and NOT the number listed under "Device Name". Act. -- Indicates whether or not the device, cd player, is active. Device Name -- Indicates the name of the device as reported by the device. Do NOT use the number that appears here to try and manipulate the CD. Using the above example, you would type "CD MOUNT 2" to mount the CD. You would NOT type "CD MOUNT 0". Volume Name -- Indicates the volume name as reported by the CD. Mounted -- Indicates whether or not the CD is mounted as a NetWare volume. The CD CHANGE command hung the server or forced the operating system into the debugger. Novell has fixed any issues with the CDROM.NLM and its' supporting drivers. ASPICD.DSK from Adaptec had problems with the CD CHANGE command at one time. If the CD CHANGE command is exhibiting problems, make sure that all drivers are up to date or use the work-around described below. CD CHANGE work-around: 1. From the Server console, use the CD DISMOUNT command to dismount the volume. 2. Load monitor and select DISK INFORMATION. 3. On the list of System Disk Drives, select the CD-ROM drive on which the CD-ROM is to be changed. 4. Select Drive Operating Status, take the selection for Deactivate Drive. 5. Change the CD-ROM. 6. Select the Removable Drive Mount Status and take the selection for Mount Drive. 7. Change back to the System Console and issue a CD MOUNT command. CD-ROM NLM Command Line Options: CD DEVICE LIST This command shows a listing of CD-ROM devices that are available on the server, whether they are active, loaded CD-ROMs, and their mount status. CD VOLUME LIST This command shows a listing of all CD volumes that have been mounted since the CDROM.NLM was loaded, the device that contains the CD-ROM, and the CD-ROM's mount status. CD MOUNT [No.] or [volume name] This command mounts a CD-ROM as NetWare Volume. The available flags are listed below. The [No.] or [volume name] can be obtained by using the CD VOLUME LIST command. CD DISMOUNT [No.] or [volume name] This command dismounts a CD-ROM that has been mounted as a NetWare Volume. The [No.] or [volume name] can be obtained by using the CD VOLUME LIST command. CD CHANGE [No.] or [volume name] This command is used to change a CD-ROM that is mounted as a NetWare volume to another CD-ROM. Available flags are listed below. (See the above note about CD CHANGE in this document). CD DIR [No.] [volume name] This command is used to list the ROOT DIRECTORY contents of an UNMOUNTED CD. CD GROUP ([group name] and [group num]) This command is used to show assigned groups and assign groups to a group number 0 through 9. For example: Group "CDGROUP" needs to be assigned to the CD group number 1. The syntax would be the following: CD GROUP CDGROUP 1 NOTE: The "del" as the group name will remove a group number assignment. The assignment could then be displayed by typing: CD GROUP The results would be as follows: ** CD ROM Access Group List *Group: 0 > EVERYONE (assigned by default) *Group: 1 > CDGROUP To assign the group to a CD-ROM, see the available CD MOUNT flags below. CD PURGE This command will destroy all index files. CD RENAME /D=[No.] [new volume name] This command is used to change the name of a CD-ROM. The syntax is as follows: CD RENAME /D= new name CD MOUNT device#|volume name /R (NOTE: The "/R" must be used when remounting the volume.) The [No.] or [volume name] can be obtained by using the CD VOLUME LIST command. CD HELP This command displays the help screen for CDROM.NLM. CD MOUNT and DISMOUNT FLAGS þ The "/mac" is used to add Macintosh Name Space Support. This adds the necessary DATA and RESOURCE forks so that Macintosh workstations can access the information on the CD. þ The "/nfs" is used to add NFS Name Space Support. þ The "/G=x" is used to set the default volume group access rights. This is used with the CD GROUP command previously listed. The mount syntax to assign a group to a CD would be as follows: CD MOUNT /G=x where "x" is the group number assigned to a group. (See CD GROUP command above). þ The "/R" is used to rebuild the index file on the selected Volume. NOTE: In previous releases, the /R option forced the CDROM.NLM to reuse an index file if it existed. The CDROM.NLM now does this by default. þ The "/rx" command is used to rebuild the index file and extend the space that would normally be allocated for the file. This is useful when trying to mount CD's that have unusually large files or numbers of directories. þ The "/dup" command is used to eliminate duplicate file names in directories as a CD volume is being mounted. This situation occurs when there are extended file names on the CD that look to be duplicate as they are converted to 8.3 naming conventions. þ The "/X=name" is used to exclude a directory tree from the mounted volume as the CD is being mounted. þ Special option "/I": This option is used to ignore errors found with the CD while attempting to mount the CD. NOTE: Use of this flag could result in files not showing up after the CD mounts. þ The "/W" is used to mount a CD volume with the R/O attribute turned off. With versions of the CDROM.NLM before v4.10g, the CD would be mounted with the R/O option already disabled (that is, the CD would be mounted R/W). This allowed the changing of file attributes, inherited rights masks, trustee assignments and the adding of groups and users to a CD volume. If an attempt is made, with 4.10g version of the CDROM.NLM, to change any of the above items, an error writing to the CD will occur. To change the volume to R/W, dismount the CD (CD Dismount and remount it using the "/W" option. ---------------------------------------------------------------- Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information. ----------------------------------------------------------------