Solaris file saving to floppy

  • Does anyone know how to save the files on a Solaris system so that they can be put on a floppy and read by windows?

  • this is a source code written in C++.

  • AFAICR, it's something like

    mount /dev/fd0

    then copy your file(s) across to /dev/fd0

    then umount /dev/fd0.

    It's been a very long time since I was a unix admin, so things may have changed!

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • hi!

    use a DOS formatted floppy, type mount /floppy/floppy0, cp your files, type eject /floppy/floppy0

    regards,

    c.

  • I personally would try to use ftp instead of copying files to a floppy. Ascii files on the Solaris system would have just a line feed after each line instead of the carriage return, line feed that Windows systems have. FTP takes care of the translations for you.

  • quote:


    I personally would try to use ftp instead of copying files to a floppy. Ascii files on the Solaris system would have just a line feed after each line instead of the carriage return, line feed that Windows systems have. FTP takes care of the translations for you.


    ftp does take care only in ascii mode, and ever heard of editors that check different formats of CRLF for you?

  • I'm not aware of any editors that check different formats of CRLF but that doesn't mean that there isn't any.

    I like ftp even if you are not working with ascii files because it's faster and cleaner than copying to a diskette (assuming you can make a connection to the machine that has the file you want to get or put).

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply