Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coping files from a floopy.

Status
Not open for further replies.

gary2425

Technical User
Feb 8, 2005
3
CA
Hello Everyone,
I have a file, that's saved on 5 floppy disks. I want to copy the file to my linux box, this is the command i am running " tar xvf /dev/rdsk/c0t0d0p0 ", but this only copies the file that's on the disk, it doesn't prompt me to insert 2nd disk. if someone knows about another command i can type in, that would be very helpful,
thanx
 
is the file in tar format? copy all files in the hard disk and concatenate them:

mcopy a: file.1
mcopy a: file.2
mcopy a: file.3
mcopy a: file.4
mcopy a: file.5

or mount the floppy (mount /mnt/floppy)

and then cat file.1 file.2 ... > file.tar

Cheers.
 
For tar you need to use -multi-volume.

It would be easier to use mcopy and to view use mdir a:.

You need to have mtools installed, but probably are.

The disk you were using tar with will need to be reformated to fat now.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
i tryed using mcopy or mdir a:"no Luck"
i have a file name "patient.dat" that is about 7mb from a unix machine, which copied on 5 disks. now whenever i use the tar command on the linux machine it just copies that patient.dat from the 1st disk and doesn't ask me to enter the 2nd disk, and whenever i run the tar command again for the 2nd disk, it just overwrites it.
 
how do you create the disks? what was the command? was the floppy formated as vfat? or what?
 
the command i used was

cd /;tar cvfkpb /dev/rfd0135ds18 1400 10 ./u/files/patient.dat
 
ok, the floppy should be as raw, so get the content of the floppy disks with dd command and then concatenate them together in only one tar file:

dd if=/dev/floppy of=/path_destiny/file1.dat
dd if=/dev/floppy of=/path_destiny/file2.dat
...
dd if=/dev/floppy of=/path_destiny/file5.dat

cat file1.dat file2.dat ... file5.dat > big_file.tar

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top