[comp.sys.ibm.pc.misc] SUN <-> PC data transfers

dmaster@cbnewsc.att.com (D. R. Wojciechowski) (04/15/91)

I have a '386 Clone at home with a 1.44Meg floppy drive and a
SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
course I would like to transfer data between the two machines
at times, and using floppies would be much faster than my 1200
baud modem.  So the question:  Does anyone know of software for
either end that will allow me to write disks on one machine and
read them on the other?  Please send me or post any ideas (free,
share, or commercial) that you may have.

Thankyou,

Dan Wojciechowski
dmaster@ihlpm.att.com

satwant@eecg.toronto.edu (Satwant Singh) (04/16/91)

In article <1991Apr15.131638.12661@cbnewsc.att.com> dmaster@cbnewsc.att.com (D. R. Wojciechowski) writes:
>I have a '386 Clone at home with a 1.44Meg floppy drive and a
>SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
>course I would like to transfer data between the two machines

>dmaster@ihlpm.att.com

Sparc systems allows a file system called /pcfs (pc file system). Do the 
following sequence of commands.

Put a DOS formatted 1.44M floppy, you want to read, in the Drive.

% mount /pcfs		(*see comments below)
% cd /pcfs
% ls

There you go! you have a PC-compatible filesystem. (type % man pcfs    :-))

* You should have filesystem pcfs present in /etc/fstab file. If not then 
ask your system administrator to mount it for you.

Mount requires root privelidge. But once mounted you can leave it there, use
'eject -f' to eject the floppy. PCFS is quite inefficient when compared to 
other access methods.

satwant

av@kielo.uta.fi (Arto V. Viitanen) (04/16/91)

>>>>> On 15 Apr 91 13:16:38 GMT, dmaster@cbnewsc.att.com (D. R. Wojciechowski) said:

Dan> I have a '386 Clone at home with a 1.44Meg floppy drive and a
Dan> SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
Dan> course I would like to transfer data between the two machines
Dan> at times, and using floppies would be much faster than my 1200
Dan> baud modem.  So the question:  Does anyone know of software for
Dan> either end that will allow me to write disks on one machine and
Dan> read them on the other?  Please send me or post any ideas (free,
Dan> share, or commercial) that you may have.

Yes. I am writing this from SUN SPARCstation IPC, having a fractal generated
by WINfract 3.1 on '386 clone, so it works ! I transferred the picture (GIF)
using SUN's pcfs, i.e file system which makes PC's floppy look like SUN file
system. It can be optionally compiled to IPC's kernel. Read the manuals, or
ask your system administrator to compile them.

BTM. pcfs is slow, but I think it beats 1200 baud modem...
--
Arto V. Viitanen				         email: av@kielo.uta.fi
University Of Tampere,				   	    av@ohdake.cs.uta.fi
Finland

etxbjk@solsta.ericsson.se (Bjorn Karlsen TX/DKI) (04/16/91)

>... I would like to transfer data between the two machines
>at times, and using floppies ...

There are some programs that can read and write 3.5" diskettes in
MS-DOS format. The programs are available by anonymous ftp from
wuarchive.wustl.edu

/usenet/comp.sources.misc/volume11/sparc-mtools/part01.Z
/usenet/comp.sources.misc/volume11/sparc-mtools/part02.Z
/usenet/comp.sources.misc/volume11/sparc-mtools/part03.Z

I've been using mtools without problems for a long time.

-KKC-
--
=========================================================================
Bj|rn Karlsen                                etxbjk@solsta.ericsson.se   
Ericsson Telecom                            etx.etxbjk@memo.ericsson.se
S-652 21 Karlstad, SWEDEN                     etxbjk@lmej.ericsson.se    
=========================================================================
"Det einaste eg var stiv i p} skulen, var nakken" - Trond Kirkvaag

elliss@kira.egr.msu.edu (Stew Ellis) (04/16/91)

dmaster@cbnewsc.att.com (D. R. Wojciechowski) writes:

>I have a '386 Clone at home with a 1.44Meg floppy drive and a
>SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
>course I would like to transfer data between the two machines
>at times, and using floppies would be much faster than my 1200
>baud modem.  So the question:  Does anyone know of software for
>either end that will allow me to write disks on one machine and
>read them on the other?  Please send me or post any ideas (free,
>share, or commercial) that you may have.

>Thankyou,

>Dan Wojciechowski
>dmaster@ihlpm.att.com

First question: what version of SunOS?  Version 4.1.1 includes support for
pc file systems.  You mount them as type pcfs I believe.  You probably 
have to be root to run mount on your IPC.  The workstation and the server
I am using right now are running 4.1 so I can't check it.  Try man on
mount and pcfs both.

For either 4.1.1 or 4.1, Doswindow provides complete support for the builtin
floppy on those machines that have them.  This is probably the most painless.

Finally, although I have never used it, many people sing the praises of 
mtools by Emmet Gray.  I just saved a message about the latest patch today
and include it below:

>Xref: msuinfo comp.sources.bugs:3001 unix-pc.sources:325
>Path: msuinfo!netnews.upenn.edu!widener!news.cs.indiana.edu!ux1.cso.uiuc.edu!usenet
>From: egray@osiris.cso.uiuc.edu (Emmet P. Gray)
>Newsgroups: comp.sources.bugs,unix-pc.sources
>Subject: Patch #4 to Mtools v2.0
>Keywords: Mtools
>Message-ID: <1991Apr16.031008.6923@ux1.cso.uiuc.edu>
>Date: 16 Apr 91 03:10:08 GMT
>Sender: usenet@ux1.cso.uiuc.edu (News)
>Organization: University of Illinois at Urbana
>Lines: 1562
>
>This is patch #4 to the Mtools v2.0 distribution package.  This patch
>will fix a bug in the mmd command where directories inherited the file
>name extension of the parent directory.  It also adds a feature that
>will allow the copying of zero length files.
>
>Mtools was posted to the unix-pc.sources news group (and mailed to Rich
>Salz, the moderator of comp.sources.unix) on the 17th of September 1990.
>Since then, patches 1-3 have been posted to unix-pc.sources,
>comp.sources.bugs, and emailed to Rich Salz.
>
>The "always current" version of Mtools and all the patches are available
>via anonymous ftp from cerl.cecer.army.mil (129.229.1.101).  I've also
>uploaded the files to the ~ftp/tmp/mtools directory on uunet.uu.net.
>
>Emmet P. Gray				US Army, HQ III Corps & Fort Hood
>...!uunet!uiucuxc!fthood!egray		Attn: AFZF-DE-ENV
>fthood!egray@uxc.cso.uiuc.edu		Directorate of Engineering & Housing
>					Environmental Management Office
>					Fort Hood, TX 76544-5057
>
[Stuff deleted]

Hope this is of some use.

------------------------------------------------------------------------------

                                             _________________________________
  R.Stewart (Stew) Ellis                    / _______________________________/
  Assoc. Prof. of Social Science           / /      ______  ____________  __
  Dept. of Humanities & Social Science    / /      /___  / / ___  ___  / / /
  1700 W. Third Avenue                   / /          / / / /  / /  / / / /
  Flint, MI 48504                       / /__________/ / / /  / /  / / / /
  313-762-9765 Office                  /______________/ /_/  /_/  /_/ /_/

  elliss@frith.egr.msu.edu            ENGINEERING & MANAGEMENT INSTITUTE        

  "Apple Macintosh, the closed system for people with supposedly open minds."
    - plagiarized from someone else on the net
  "How you gonna do it? OS/2 it!" - stupid IBM ad 
  "Have you ever heard anything so half-OSsed?" - me

satwant@eecg.toronto.edu (Satwant Singh) (04/17/91)

In article dmaster@cbnewsc.att.com (D. R. Wojciechowski) writes:
>I have a '386 Clone at home with a 1.44Meg floppy drive and a
>SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
>course I would like to transfer data between the two machines

This is pretty straight forward in SPARCstations. There is provided a 
PC-compatible File System (/pcfs), which reads and writes on floppy in
same format as an IBM PC. Of course, file name conventions and access right
incompatibilities creat some trouble. (% man pcfs    will help)

Do the following sequence of commands.

	1. Put a DOS formatted floppy in the drive.
	2. % mount /pcfs		(you have to be the root)
	3. % cd /pcfs

There you go!  You can eject the floppy by % eject -f

File system needs to be mounted only once.

satwant.

les@chinet.chi.il.us (Leslie Mikesell) (04/17/91)

In article <1991Apr15.131638.12661@cbnewsc.att.com> dmaster@cbnewsc.att.com (D. R. Wojciechowski) writes:
>I have a '386 Clone at home with a 1.44Meg floppy drive and a
>SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
>course I would like to transfer data between the two machines

The "mtools" package posted to comp.sources and unix-pc.sources will
let unix machines w/PC compatible disk drives read and write to the
MDOS file system.  It is also useful as a handy archive format even
if you don't actually want to access the files under DOS, although you
lose some of the unix filenames if you don't use zoo or cpio to
bundle the files first.

Les Mikesell
  les@chinet.chi.il.us

mussar@bcars53.uucp (G. Mussar) (04/17/91)

In article <1991Apr15.131638.12661@cbnewsc.att.com> dmaster@cbnewsc.att.com (D. R. Wojciechowski) writes:
>I have a '386 Clone at home with a 1.44Meg floppy drive and a
>SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
>course I would like to transfer data between the two machines
>at times, and using floppies would be much faster than my 1200
>baud modem.  So the question:  Does anyone know of software for
>either end that will allow me to write disks on one machine and
>read them on the other?  Please send me or post any ideas (free,
>share, or commercial) that you may have.
>

As a matter of fact, Sun provides the software to run an MS-DOS files system
on the Sparc 1.44M floppy. All you gotta do is make sure you have built 
the kernel with the PCFS stuff. You need to be root to mount a PCFS (but
I wrote a secure SID program to allow non-root users on my system to do so).

--
-------------------------------------------------------------------------------
Gary Mussar  |Internet:  mussar@bnr.ca                |  Phone: (613) 763-4937
BNR Ltd.     |                                        |  FAX:   (613) 763-2626

andy@mks.com (Andy Toy) (04/18/91)

You can mount the floppy on your SUN SPARCStation IPC as a pcfs
filesystem.  This is a feature of SunOS 4.1.1 so you need this version
of SunOS.  There is also a package called MTOOLS for the SUN which
allows it to access MS-DOS diskettes.  Check the
comp.sources.{misc,unix} archive sites for it.
-- 
Andy Toy, Mortice Kern Systems Inc.,       Internet: andy@mks.com
  35 King Street North, Waterloo,       UUCP: uunet!watmath!mks!andy
      Ontario, N2J 2W9 CANADA      Phone: 519-884-2251  FAX: 519-884-8861

poffen@sj.ate.slb.com (Russ Poffenberger) (04/19/91)

In article <1991Apr16.150941.26206@jarvis.csri.toronto.edu> satwant@eecg.toronto.edu (Satwant Singh) writes:
>In article dmaster@cbnewsc.att.com (D. R. Wojciechowski) writes:
>>I have a '386 Clone at home with a 1.44Meg floppy drive and a
>>SUN SPARCstation IPC at work with a 1.44Meg floppy also.  Of
>>course I would like to transfer data between the two machines
>
>This is pretty straight forward in SPARCstations. There is provided a 
>PC-compatible File System (/pcfs), which reads and writes on floppy in
>same format as an IBM PC. Of course, file name conventions and access right
>incompatibilities creat some trouble. (% man pcfs    will help)
>
>Do the following sequence of commands.
>
>	1. Put a DOS formatted floppy in the drive.
>	2. % mount /pcfs		(you have to be the root)
>	3. % cd /pcfs
>
>There you go!  You can eject the floppy by % eject -f
>
>File system needs to be mounted only once.
>

That is true for SunOS 4.1 and up, but the drawback is that you have to be root
(dangerous for the average user to have root privilege), or make mount setuid
root (equally as dangerous). I prefer mtools. It gives you this capability
without needing root access. Note that the older version in the archives on
wuarchive may need a set of patches to make low density work right. There is a
new version (2.0.3) available from cerl.cecer.army.mil. It even supports DOS
partitions on a hard disk!.

I would get it but SRI has our sites reverse domain name server misconfigured
and is being difficult about correcting it. Until then, I cannot access those
sites that demand mapping out IP address to a valid hostname. This includes
uunet.uu.net, and cerl above.

Perhaps some kind soul would make it more available to me, or upload it to
simtel (I could then get it off wuarchive, a mirror site) or cica.

Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
Schlumberger Technologies       UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive		CIS:	72401,276
San Jose, Ca. 95110             (408)437-5254

av@kielo.uta.fi (Arto V. Viitanen) (04/19/91)

>>>>> On 17 Apr 91 19:40:02 GMT, andy@mks.com (Andy Toy) said:


Andy> You can mount the floppy on your SUN SPARCStation IPC as a pcfs
Andy> filesystem.  This is a feature of SunOS 4.1.1 so you need this version
Andy> of SunOS.  There is also a package called MTOOLS for the SUN which
Andy> allows it to access MS-DOS diskettes.  Check the
Andy> comp.sources.{misc,unix} archive sites for it.

I tried both and there are two reasons why I prefer mtools:

1)	you need to be root to use pcfs but anyone can use mtools

2)	mtools is 7 (seven !) times faster than pcfs (tried in copying 440 k
	file from floppy to harddisk)

--
Arto V. Viitanen				         email: av@kielo.uta.fi
University Of Tampere,				   	    av@ohdake.cs.uta.fi
Finland