• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 448
  • Last Modified:

copying files in unix

how can you copy files to your floppy disk under unix?
0
anemos
Asked:
anemos
  • 2
  • 2
1 Solution
 
anemosAuthor Commented:
Adjusted points to 50
0
 
markparrCommented:
Are you just wanting to copy the files to the disk or do you also want to be able to read them on a DOS/Windows PC?  What flavor of Unix are you using?
0
 
tfewsterCommented:
Either tar them to the floppy device, e.g. tar -xvf /dev/fd0 file_names so they can be untarred by any another system that has "tar" (available for DOS, Windows etc.)

OR create a filesystem on the floppy, mount it, copy the files using cp, umount the filesystem, mount the floppy on another system running the SAME Unix, copy files from floppy.

0
 
anemosAuthor Commented:
All am wating is simply copying a file from my home directory to my floppy disk... I am sorry if I am not being specific enough...
 How can I access the floppy device?
0
 
markparrCommented:
Actually, you would write the files to the floppy using

tar -cvf /dev/fd0 <file(s)>

and use

tar -xvf /dev/fd0

when you needed to restore them.

In most cases, the floppy drive name will be /dev/fd#.

You also DD (Data Dump) a file to the floppy using

dd if=<file> of=/dev/fd0

and then restore it using

dd if=/dev/fd0 of=<new file>

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now