Solved

Access a SCO UNIX floppy on a server 2003 or XP machine

Posted on 2009-07-01
8
616 Views
Last Modified: 2013-12-05
We have a SCO UNIX box that has (runs) all of our machine programs.
We backup up the programs to floppy disk (UNIX floppy formatted).
The UNIX box is a standalone unit (no network)

Is there a way to read the floppy disks on a windows server 2003 or XP box and save the files to hard drive (on NTFS), so they could be put on backup tape and still be able to retrieve the files also?

Thxs in advanced!
0
Comment
Question by:Fubr
  • 4
  • 4
8 Comments
 
LVL 1

Expert Comment

by:compbiz
ID: 24763112
Will inserting a DOS formatted floppy into the Unix server and use the doscp command to copy the files to the floppy and then read the floppy from the Windows server/PC be a suitable solution for you?

0
 

Author Comment

by:Fubr
ID: 24766544
Yes that is works great!!!!
I can open it on any windows computer and even edit it with notepad.
But I need the other half.....I can't pull it back off the floppy to the unix box.

Here is what I tried....
doscp a:filename path/to/file
(doscp a:SS1CAN451 u/mm4/usr_data/sub)
cp a:SS1CAN451 u/mm4/usr_data/sub

(file name is SS1CAN451 - no extension)
I get either can't find file or can't find device........

I am running the commands from the root directory...should I be on the floppy device when I run the command?

Thxs compbiz
0
 
LVL 1

Accepted Solution

by:
compbiz earned 500 total points
ID: 24766609
use doscp again

Watch for case sensativity.  Sometime we have had it go to uppercase when reading from Windows and the back to Unix.

Use dosls to see what is on the floppy.


Here cut and paste the below into a script called batch.dos.  chmod 755 batch.dos and then run it.  
It is something I wrote a few years ago (actually in looking at it more than a few)  


#!/bin/sh
# By Clinton A. Pownall
# 03/04/1994
# batch.dos
# Copy An Entire DOS Floppy Or DOS Floppy Subdirectory To a specified path
# example:  batch.dos a: .
#     copies DOS a drive to current directory
#   batch.dos a:/a_subdir_name /u/my_directory
#  copies the the entire subdirectory specified to a unix directory

names=`dosls $1 | tr "[A-Z]" "[a-z]"`
for i in $names
do
   doscp $1/$i .
   echo "copying " $i
done



0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:Fubr
ID: 24767376
Your right (case), I did the "dosls" to see what was on the floppy and it was SS1CAN~1
I ran the command:    doscp a:SS1CAN~1 u/mm4/usr_data/sub
And it copied the file, but with the SS1CAN~1 name. I was able to rename it.

Is there a way to keep it from trucking the name? (using the ~ character when I copy the file)

Thxs
0
 
LVL 1

Expert Comment

by:compbiz
ID: 24767502
To my knowledge the dos commands do not support long filenames only the original DOS limitation of 8.3 (Eight dot Three).  These commands, although included in the OS, are not supported by SCO.   They came from the AT&T system V and have not changed.     If they are the same files then you can write a script that renames them each time.

Any reason the SCO Server you are using is not on your network?

0
 

Author Comment

by:Fubr
ID: 24767577
Knowledge!!   (LOL)
I would love to do that (very much so), but not sure about how to bind/setup the network.
That is the best option....I'm just shy of the know how, and short of time to stay focus on it.
(single admin of a 150 user shop)
If I could get  someone to help me through it, I would make the time  (hint hint)  LOL
0
 

Author Closing Comment

by:Fubr
ID: 31598854
Thanks again for the help compbiz, I appreciate it!!
invite is still open for the network card.....(hint)

Fubr
0
 
LVL 1

Expert Comment

by:compbiz
ID: 24767877
Check out www.scoservice.com Call on Monday.
Need to run the following commands

uname -X

scoadmin lic   (Need to know what SCO Enterprise System you have.  If it is Host you will have to upgrade to Enterprise.)


0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question