Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

MOUNTER System Program
Purpose: Interactive partition mount tool.
Format: MOUNTER [DEVICE <device>] [UNIT <unit>] [PARTITIONS {<partition>}] [NOUNMOUNT] [NOREMOUNT] [QUIET] [MASK] [QUERY] [PUBSCREEN <public screen name>] [CX_PRIORITY <priority>] [CX_POPKEY <key>]
[CX_POPUP <yes | no>]
Path: SYS:System/Mounter
MOUNTER is an interactive partition mount tool. It operates on devices that support the RDB (Rigid Disk Block) organization data structures that define which and what size partitions are assigned to a storage medium.

The DEVICE <device> argument specifies the device driver to query for partition information. Not all device drivers are supported. Commonly, you would use this tool only on hard disk drives. The default is 'DEVICE a1ide.device'.

If the UNIT <unit> argument is omitted, MOUNTER will open a window and query unit numbers 0-6 for attached devices, prompting you to choose a device to examine for partition data. However, if you specify UNIT <unit>, it indicates that you want all the partitions on that device to be mounted. The default is 'No unit specified'.

The PARTITIONS <partition> argument works in conjunction with the UNIT argument. Instead of mounting all partitions on the specified unit, you can choose exactly which partitions should be mounted. The default is 'No partitions specified'.

If MOUNTER detects that there is already a partition by the name of a new partition to be mounted, its default action will be to unmount the existing partition. This can be undesirable, which is why the N or NOUNMOUNT parameter can be used to tell MOUNTER to add the new partition under a new name. The new partition name is created by adding a number to its name. For example, if the partition 'DH0:' already exists, the new partition would be mounted under the name of 'DH0.1:'. If 'DH0.1:' already exists, DH0.2:" would be used, and so on. The default is for Partitions with the same name to be unmounted.

The NOREMOUNT option tells MOUNTER not to attempt to mount partitions again if they have already been mounted. For example, if you want MOUNTER to mount the partition DH0:" if, and only if, it has not already been mounted, you would start the program with the options NOUNMOUNT and NOREMOUNT. This will tell MOUNTER not to unmount an already existing partition (NOUNMOUNT) and not to attempt to mount the partition if its name is already in use (NOREMOUNT). The default is to always mount a partition, even if there already is a partition mounted by the same name.

When MOUNTER mounts or unmounts partitions, it will show briefly what it is currently doing. The reports (except for error messages) can be disabled by using the QUIET option. The default is to always show a progress report of its actions.

The MASK option corresponds to the MASK option associated with a mount list. By default, MOUNTER will use whatever transfer mask value is associated with the partition data it finds on the disk. If you provide a mask parameter, that parameter will be used instead of the partition's transfer mask value when the partition is mounted. The default is for no special transfer mask.

The QUERY option will display the same information that would be shown in the graphical user interface in the Shell window. The default is not to display the queried information.

The PUBSCREEN argument tells Mounter to opens its graphical user interface on the named <public screen>. If the named public screen cannot be found, the user interface will fall back to open on the default public screen. The default is to use the default public screen.

The CX_PRIORITY <priority> argument sets the priority of MOUNTER in relation to all other Commodity Exchange programs. All of the Commodity Exchange programs are set to a default priority of 0. If you specify a priority value higher than 0, MOUNTER will take priority over any other Commodity Exchange program.

The CX_POPKEY <key> argument enables you to specify the hot key for the program. If more than one key is specified, be sure to enclose the entire argument in double-quotes (i.e CX_POPKEY "Shift+F1"). The default is Alt+Shift+F10.

The CX_POPUP argument specifies whether the Exchange window should be opened or not. The default is to open the window.

Using Mounter
When you open MOUNTER the following window will appear:

Mounter displays a list of devices attached to the device driver you specified. If no device responds to the query, you will see the text <No device present>" following the unit number. Otherwise, you will see a list of device parameters:

ID The unit numbers 0-6.
Vendor Name of the device manufacturer.
Product Name of the device.
Rev Revision of the device.
Size Size of the storage media, if available.
Type Type of the device, such as 0 for 'Disk drive' or 5 for 'CD-ROM drive'.
Media Type of storage media, if available, i.e. Fixed, Removable.
Status This indicates whether the device can be accessed and used. For devices with removable media, you will see 'Not Ready' if there is currently no media inserted.
Below this list there are three buttons: 'Mount...', 'Update' and 'Hide'. To close the window, either click on the window close gadget or click on the 'Hide' button. To reread the list of devices corresponding to the device driver you chose, click on the 'Update' button. To examine a device for partition tables, first select it from the list, then click on the 'Mount...' button (a double-click on the list entry will have the same effect).

When you click on the 'Mount...' button, Mounter will check the partitions on the given device. If a partition table is found, it will be presented to you in a new list, for example:

Partition name All of the partitions on the given device.
Size The size of each partition.
File system type AmigaDOS file system type.
In this list, partitions which are not currently mounted will be highlighted. To change the highlighting, hold down a Shift key and click on the entry. To mount all highlighted partitions, hit the 'Mount' button located in the lower left corner of the window.

Example 1:

3.OS4:> MOUNTER a1ide.device runs Mounter using the standard AmigaOne on-board ide device driver.

Example 2:

3.OS4:> MOUNTER sii0680ide.device runs Mounter using the add-on SiI0680ide device driver.

Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.

Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: December 24, 2006.