OpenWindows Advanced User's Guide

G.4.1 Formatting an Unlabeled PCMCIA Memory Card


Note -

The format utility cannot be used with PCMCIA memory cards. Only the fdformat utility will work.


  1. Insert the PCMCIA memory card into a PCMCIA socket.

  2. Enter a command to format the memory card with the desired file system (UNIX or MS-DOS).

    To format a memory card with an UNIX file system, type the following commands:

    % fdformat vol_alias_device_name
    % newfs /vol/dev/aliases/vol_alias_device_name

    For example, to format a PCMCIA memory card in PCMCIA socket number 0 with a UNIX file system, type the following commands

    % fdformat pcmem0
    % newfs /vol/dev/aliases/pcmem0

    Or, to format a memory card with an MS-DOS file system, type one of the following commands:

    % fdformat -t dos vol_alias_device_name

    or

    % fdformat -d vol_alias_device_name

    For example, to format a PCMCIA memory card in PCMCIA socket number 0 with an MS-DOS file system, type either of the following commands

    % fdformat -d pcmem0
    

    or

    % fdformat -t dos pcmem0
    

  3. Remove and insert the PCMCIA memory card.

    This step is necessary so that the Volume Manager can remount the mounting directory /pcmem/pcmem0.

    Or you can perform the following steps without removing the PCMCIA memory card. Type:

    % eject pcmem0
    % volcheck
    

    The Volume Manager automatically remounts the PCMCIA memory card.