Ask a Question related to SCO, Design and Development.
-
Enrique Arredondo #1
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
-
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... -
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? -
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... -
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... -
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... -
Enrique Arredondo #2
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...from> 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 diskif> | my SCO unix box, then I want that disk to be converted to a file so thatdouble> | somebody gets that file on their outhouse express (windows OS) cancreate> | click on it and it will ask them to insert a blank floppy and it willjust a> | 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,Thanks JP for your solution.> | 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
>
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
-
Jean-Pierre Radley #3
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
-
Bill Vermillion #4
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...>from>> 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>if>> | my SCO unix box, then I want that disk to be converted to a file so that>double>> | somebody gets that file on their outhouse express (windows OS) can>create>> | click on it and it will ask them to insert a blank floppy and it will>just a>> | 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,>> | 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 errorIt looks like you are getting program confused here.>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 ?
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



Reply With Quote

