Solved

copying files in unix

Posted on 2000-02-26
5
408 Views
Last Modified: 2010-04-21
how can you copy files to your floppy disk under unix?
0
Comment
Question by:anemos
  • 2
  • 2
5 Comments
 

Author Comment

by:anemos
ID: 2561099
Adjusted points to 50
0
 

Expert Comment

by:markparr
ID: 2561128
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
 
LVL 20

Expert Comment

by:tfewster
ID: 2561133
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
 

Author Comment

by:anemos
ID: 2561138
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
 

Accepted Solution

by:
markparr earned 50 total points
ID: 2561156
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 163
Linux "time" command output redirection 16 185
spectrum scale snapshot  resotre/mount 1 14
remove one line from a file in solaris 8 43
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question