Re: tar a file on dos floppies



dave wrote:
I have to tar a large file on to multiple floppies and view it on a dos box.
What is the best way to do this?
I was thinking something like tar -cvf /dev/fd0 file.out
would I be able to take these floppies and see them on a dos box?

That is going to take the tar archive and write it directly onto
the floppy. It will overwrite the FAT filesystem that is normally
on a DOS floppy. The DOS machine will see it as an unformatted,
garbage floppy because you will have overwritten the FAT structure
that the DOS machien is looking for.

Can I tar to a dos formatted floppy like that?

Whether it's DOS-formatted or in any other format is irrelevant
once you've written over it with the tar command.

Is there a another utility I need to run to get files ready for viewing in
dos?

Well, of course it depends on what kind of files they are! If they
are ELF-format object files, you'll need an application on the DOS
machine than can understand the files.

If you merely want to take a big file (bigger than a floppy) and
transfer it via floppy to a DOS machine and then recreate it, you
can do this:

1) Use the "split" command to break it up into files small enough
to fit on floppies.
2) Copy the files to each floppy, as a file on the floppy's
filesystem. This might mean mounting the floppy, or maybe
using mtools. It depends on the version of Unix.
3) When you get to the DOS machine, copy them all to the
hard disk, then do this to concatenate them back together:

copy /b file1.bin+file2.bin+file3.bin origfile.xyz

Yes, that's right -- DOS has an equivalent of the Unix "cat"
command.

- Logan
.



Relevant Pages

  • Re: Convert floppy program to CD - OT
    ... made from the DI 2002 program CD for cloning in DOS. ... contents of the floppies to the bootable CD, ... My experience over 8 years is that DI 2002, run from the two floppy ... merely by swapping the drives. ...
    (microsoft.public.windowsxp.general)
  • Re: Convert floppy program to CD - OT
    ... made from the DI 2002 program CD for cloning in DOS. ... contents of the floppies to the bootable CD, ... My experience over 8 years is that DI 2002, run from the two floppy ... merely by swapping the drives. ...
    (microsoft.public.windowsxp.general)
  • Re: DOS and Harddrive Capacity
    ... But having it installed so that it will boot from the hard drive, ... does not mean that you are "using" XP when you boot from a floppy created ... limited version of Windows 98. ... No, this is not DOS 6.22, but perhaps ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Unable to startup/boot
    ... file system is not suiteable for running ms dos and sindows applications. ... > If you have a floppy disk drive you could download the Windows XP boot disks ... Run the application and it will create 6 floppy ... Can I boot up from a DOS promt al all? ...
    (microsoft.public.windowsxp.basics)
  • Re: Detecting CDROM drive from FreeDOS boot floppy
    ... Then I booted from the floppy and it worked fine: ... and tried to execute start.exe, which presumably boots the Ubuntu Live ... I got an error message to the effect that it could not be executed in DOS ... First a DOS boot disk creator that won't run under DOS, ...
    (comp.sys.ibm.pc.hardware.misc)