System Administration Guide, Volume I

How to Copy or Move Information to a PCMCIA Memory Card

  1. Make sure the PCMCIA memory card is not write-protected.

    Write-protection is controlled by a small slide switch in the end of the PCMCIA memory card.

  2. Make sure the PCMCIA memory card is formatted and mounted.


    $ ls /pcmem
    pcmem0  PCMCIA memorycard-name
    

    If the PCMCIA memory card is properly formatted and mounted, its name and the symbolic link, pcmem0, will appear under /pcmem.

    If nothing appears under the /pcmem directory, the PCMCIA memory card is not mounted. See "". The PCMCIA memory card might also need to be formatted. See "How to Format a UFS PCMCIA Memory Card" or "How to Format a DOS PCMCIA Memory Card".

  3. Move or copy the files or directories.

    To ... 

    Use ... 

    Copy a file 

    cp

    Copy a directory 

    cp -r

    Move a file or directory 

    mv

  4. Verify the move or copy operation by using the ls command.

Examples--Copying or Moving Information to a PCMCIA Memory Card

The first example, below, moves a file (readme.doc) from the current directory to the PCMCIA memory card loaded into the first floppy drive (indicated by /pcmem/pcmem0). The second example copies a file (readme2.doc) from the current directory to the PCMCIA memory card loaded into the second floppy drive (indicated by /pcmem/pcmem1). The third example copies a directory (morefiles) and its contents from the /home/smith/directory to the PCMCIA memory card loaded into the first floppy drive.


$ mv readme.doc /pcmem/pcmem0
$ cp readme2.doc /pcmem/pcmem1
$ cp -r /home/smith/morefiles /pcmem/pcmem0