OpenWindows Advanced User's Guide

G.4.2 Reformatting a PCMCIA Memory Card

If you have already formatted your PCMCIA memory card, skip this section.

  1. Insert the PCMCIA memory card in the PCMCIA socket.

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

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

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

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

    % fdformat pcmem1
    % newfs /vol/dev/aliases/pcmem1

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

    % fdformat -U -t dos vol_alias_device_name

    or

    % fdformat -Ud vol_alias_device_name

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

    % fdformat -d pcmem1
    

    or

    % fdformat -t dos pcmem1
    

  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.

    The following table is a summary of options for the fdformat utility.

    Table G-6 fdformat Utility Options

    Option 

    Description 

    -U

    Unmounts the PCMCIA memory card 

    -d

    Installs an MS-DOS file system (UNIX is the default) 

    -t dos

    Installs an MS-DOS file system (UNIX is the default)