OpenWindows Advanced User's Guide

G.4.3 Copying Files

You can use commands such as cp, rm, diff, and ls to copy, remove, compare, and list the directory names for files on a PCMCIA memory card.

G.4.3.1 Copying Files from a Hard Disk to a PCMCIA Memory Card

    Type:

    example% cp filename /pcmem/pcmem0/filename
    

G.4.3.2 Copying Files from a PCMCIA Memory Card to a Hard Disk

    Type:

    example% cp /pcmem/pcmem0/filename /pathname/filename
    

G.4.3.3 Ejecting a PCMCIA Memory Card Using the eject(1) Command

If you want to remove a PCMCIA memory cards while a file system is mounted, you must use the eject(1) command.


Caution - Caution -

Removing a PCMCIA memory card while mounted results in a system panic.


  1. Type:

    % eject vol_alias_device_name

    or type:

    % eject pcmem0

    A Removable Media Manager pop-up is displayed.

  2. Click on the OK button.

  3. Remove the PCMCIA memory card.


    Note -

    If you want to continue using the PCMCIA memory card, leave it in the PCMCIA socket. Use the volcheck(1) command so Volume Manager can remount the PCMCIA memory card. To run this command, type volcheck.