?
Solved

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

Posted on 2009-07-01
8
Medium Priority
?
627 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

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 …
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

770 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