Solved

copying files in unix

Posted on 2000-02-26
5
399 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now