sco 505 - create windoze exe file that will create a unix disk

Ask a Question related to SCO, Design and Development.

  1. #1

    Default sco 505 - create windoze exe file that will create a unix disk

    Hi,

    I wonder if this is possible, I want to put some files on a floppy disk from
    my SCO unix box, then I want that disk to be converted to a file so that if
    somebody gets that file on their outhouse express (windows OS) can double
    click on it and it will ask them to insert a blank floppy and it will create
    a UNIX disk with the files I had on it originally, that way my remote
    customer just puts that floppy on their SCO box and can read the
    information.

    Note : the remote SCO box is stand alone PC. no modem, no internet, just a
    floppy drive.

    Thanks


    Enrique Arredondo Guest

  2. Similar Questions and Discussions

    1. PDF::Create (or alike) to create watermark for existing pdf file?
      Dear perl-ists: I tried out PDF::Create 0.01 (from cpan), and it is great. kudos, fabian. creates wonderful, clean, small valid pdf output. my...
    2. Create user in Unix shell
      I am using a version of Unix, and was wondering how to create a new user. How might I go about doing this?
    3. Create but not delete a file in unix ?
      Hi, I want to ask a question about unix file permissions. We have a processs on our solaris box runs as user jboss. The user jboss creates a log...
    4. How to create and populate a text file in unix C programming
      I am trying to have my parent process create two text files in my current directory write its pid in ecah file and close them. I don't know how to...
    5. Create Oracle instance in UNIX
      Hi, I am in the process of exploring Oracle on UNIX and I would like to know if anyone has a working script that will create an Oracle 8.1.6/8.1.7...
  3. #2

    Default Re: sco 505 - create windoze exe file that will create a unix disk


    "Jean-Pierre Radley" <jpr@jpr.com> wrote in message
    news:20030701213032.GI1091@jpradley.jpr.com...
    > Enrique Arredondo typed (on Tue, Jul 01, 2003 at 09:03:07PM +0000):
    > | Hi,
    > |
    > | I wonder if this is possible, I want to put some files on a floppy disk
    from
    > | my SCO unix box, then I want that disk to be converted to a file so that
    if
    > | somebody gets that file on their outhouse express (windows OS) can
    double
    > | click on it and it will ask them to insert a blank floppy and it will
    create
    > | a UNIX disk with the files I had on it originally, that way my remote
    > | customer just puts that floppy on their SCO box and can read the
    > | information.
    > |
    > | Note : the remote SCO box is stand alone PC. no modem, no internet,
    just a
    > | floppy drive.
    >
    > Format the floppy, mount it, copy whatever you want to the floppy.
    > dd if=/dev/fd0 of=disk.image bs=36k
    > Use mutt to send disk.image as an attachement.
    >
    > On Windows, use rawrite to write disk.image to a floppy.
    > You can get it from tls096.zip, or from the installation CDROM of current
    > OSR 5.0.x release, where it's got a different name, images/floppycp.exe
    >
    Thanks JP for your solution.

    I tried the following :

    dd if=tagcer.zip of=image obs=36k ; uuencode image image | mail
    [email]henry@xxx.com[/email] (I'm reading the file directly from the UNIX hard drive so
    the bs=36k becomes obs=36k rigth ?

    then at the remote location I executed:

    c:\>floppycp /d a /f image

    Input file = 20467, Floppy = 1474560

    Copy Complete.

    But when I try to read the floppy on the remote unix box with the following
    command :

    tar xvf /dev/rfd0135ds18

    it fails :
    tar: blocksize = 20
    tar: directory checksum error

    Do I need to have that floppy formated as UNIX before running the floppycp
    command ? Or will it automatically take care of all those tasks for me ?

    Enrique


    Enrique Arredondo Guest

  4. #3

    Default Re: sco 505 - create windoze exe file that will create a unix disk

    Enrique Arredondo typed (on Tue, Jul 01, 2003 at 10:52:20PM +0000):

    | "Jean-Pierre Radley" <jpr@jpr.com> wrote in message
    | news:20030701213032.GI1091@jpradley.jpr.com...
    |
    | > Enrique Arredondo typed (on Tue, Jul 01, 2003 at 09:03:07PM +0000):
    | >
    | > | I wonder if this is possible, I want to put some files on a floppy
    | > | disk from my SCO unix box, then I want that disk to be converted
    | > | to a file so that if somebody gets that file on their outhouse
    | > | express (windows OS) can double click on it and it will ask them
    | > | to insert a blank floppy and it will create a UNIX disk with the
    | > | files I had on it originally, that way my remote customer just
    | > | puts that floppy on their SCO box and can read the information.
    | > |
    | > | Note : the remote SCO box is stand alone PC. no modem, no
    | > | internet, just a floppy drive.
    | >
    | > Format the floppy, mount it, copy whatever you want to the floppy.
    | > dd if=/dev/fd0 of=disk.image bs=36k Use mutt to send disk.image as
    | > an attachement.
    | >
    | > On Windows, use rawrite to write disk.image to a floppy. You
    | > can get it from tls096.zip, or from the installation CDROM of
    | > current OSR 5.0.x release, where it's got a different name,
    | > images/floppycp.exe
    |
    |
    | Thanks JP for your solution.
    |
    | I tried the following :
    |
    | dd if=tagcer.zip of=image obs=36k ; uuencode image image | mail
    | [email]henry@xxx.com[/email] (I'm reading the file directly from the UNIX hard drive
    | so the bs=36k becomes obs=36k rigth ?

    tagcer.zip? Why is zip invloved?

    If I said bs, why do you want to change it to obs?

    | then at the remote location I executed:
    |
    | c:\>floppycp /d a /f image
    |
    | Input file = 20467, Floppy = 1474560
    |
    | Copy Complete.
    |
    | But when I try to read the floppy on the remote unix box with the
    | following command :
    |
    | tar xvf /dev/rfd0135ds18
    |
    | it fails : tar: blocksize = 20 tar: directory checksum error

    But are you trying to un-tar a zip file??

    | Do I need to have that floppy formated as UNIX before running the
    | floppycp command ? Or will it automatically take care of all those
    | tasks for me ?

    Floopycp just moves bytes, as do rawrite and dd.

    You're complicating things which were simple.

    Mail me one of your images, if you wish.

    --
    JP
    Jean-Pierre Radley Guest

  5. #4

    Default Re: sco 505 - create windoze exe file that will create a unix disk

    In article <EgoMa.384$S11.206@newssvr16.news.prodigy.com>,
    Enrique Arredondo <atk@sbcglobal.net> wrote:
    >
    >"Jean-Pierre Radley" <jpr@jpr.com> wrote in message
    >news:20030701213032.GI1091@jpradley.jpr.com...
    >> Enrique Arredondo typed (on Tue, Jul 01, 2003 at 09:03:07PM +0000):
    >> | Hi,
    >> |
    >> | I wonder if this is possible, I want to put some files on a floppy disk
    >from
    >> | my SCO unix box, then I want that disk to be converted to a file so that
    >if
    >> | somebody gets that file on their outhouse express (windows OS) can
    >double
    >> | click on it and it will ask them to insert a blank floppy and it will
    >create
    >> | a UNIX disk with the files I had on it originally, that way my remote
    >> | customer just puts that floppy on their SCO box and can read the
    >> | information.
    >> |
    >> | Note : the remote SCO box is stand alone PC. no modem, no internet,
    >just a
    >> | floppy drive.
    >>
    >> Format the floppy, mount it, copy whatever you want to the floppy.
    >> dd if=/dev/fd0 of=disk.image bs=36k
    >> Use mutt to send disk.image as an attachement.
    >>
    >> On Windows, use rawrite to write disk.image to a floppy.
    >> You can get it from tls096.zip, or from the installation CDROM of current
    >> OSR 5.0.x release, where it's got a different name, images/floppycp.exe
    >Thanks JP for your solution.
    >I tried the following :
    >dd if=tagcer.zip of=image obs=36k ; uuencode image image | mail
    >henry@xxx.com (I'm reading the file directly from the UNIX hard
    >drive so the bs=36k becomes obs=36k rigth ?
    >then at the remote location I executed:
    >c:\>floppycp /d a /f image
    > Input file = 20467, Floppy = 1474560
    > Copy Complete.
    >But when I try to read the floppy on the remote unix box with
    >the following command :
    >tar xvf /dev/rfd0135ds18
    >it fails :
    >tar: blocksize = 20
    >tar: directory checksum error
    >Do I need to have that floppy formated as UNIX before running
    >the floppycp command ? Or will it automatically take care of all
    >those tasks for me ?
    It looks like you are getting program confused here.

    JP said format the floppy, and then mount it and copy the file to
    the floppy. That floppy is Unix filesystem type disk.

    But you show you are taking a *.zip file and making a dd image of
    that file and sending it along. You really should use 'mutt' for
    attachments - as it is so much easier.

    But then you are using a tar command to try to extract the image
    you built and nowhere do I see that used used tar to put the file
    to the disk.

    I'd personally opt for taring the file to disk - and not copying to
    a file system.

    Then you make an image of that tar floppy with

    dd if=<nameoffoppydevice> of=image bs=36k.

    Then you encode that or send it as a mutt attachment.

    The the far side make a floppy of that attachemnt and then you use
    tar.

    Or using JPs method once you mount the floppy and copy the files to
    that floppy, make the image, transfer the image, write the image to
    floppy, and then >mount< the floppy on the far Unix system and
    copy the file from the floppy.

    I prefer tar as there is one less step on each Unix system.

    Bill
    --
    Bill Vermillion - bv @ wjv . com
    Bill Vermillion Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139