Solved

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

Posted on 2009-07-01
8
608 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
 

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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now