Article View: bc.unix
Article #753Re: Question on UNIX
From: Steven Tieu
Date: Fri, 21 Jun 1996 00:00
Date: Fri, 21 Jun 1996 00:00
51 lines
1983 bytes
1983 bytes
laila (laila@prolog.net) wrote:
: How do you copy a file which is split across 2 MSDos diskettes to a
: UNIX machine?
It depends on which Unix system you're using.
Here are the ones that I know of...
LINUX, BSD386 (most generic):
mread A:FILE.000 /tmp/file.000
{switch disk}
mtype A:FILE.000 >> /tmp/file.000
or you can:
mread A:FILE.000 /tmp/file.000
{switch disk}
mread A:FILE.000 /tmp/file.001
cat /tmp/file.00[01] > /tmp/file.output
UnixWare:
doscp A:FILE.000 /tmp/file.000
{switch disk}
doscp A:FILE.001 /tmp/file.001
cat /tmp/file.00[01] > /tmp/file.output
Solaris & NeXTstep:
Run filemanager
Insert the disk
Drag the file from the floppy to a subdirectory such as /tmp,
rename that file,
switch disk,
Draw the other file from floppy to a subdirectory such as /tmp.
then cat them together "cat /tmp/file.one file.two > /tmp/file.output"
The other alternative is to mount the file system. You'll need to have
super-user access or be on a system with very loose security.
mount /dev/floppy /mnt -t dos
or mount /dev/fd0 /mnt -t msdos
or mount /dev/rdsk/fds0d2.3.5 /mnt -t dos
or whatever.........
: How do I get the UNIX machine to read the file (of over 2 meg) without
: overwriting it?
Rename it before reading the next disk.
Be careful, putting things end-to-end doesn't always work.
Multi-volume ZIP and ARJ files have its own header on each files so
you won't be able to "cat /tmp/file.arj /tmp/file.a00 > /tmp/output.arj"
and expect to read the "/tmp/output.arj" file properly.
--
st2
Technical Details
Message-ID:
<4qf8u1$t0r@nntp.ucs.ubc.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4qd5t6$3ta@ns2.ptd.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114424,13b4c06d46abc150 X-Google-Attributes: gid114424,public From: stieu@unixg.ubc.ca (Steven Tieu) Subject: Re: Question on UNIX Date: 1996/06/21 Message-ID: <4qf8u1$t0r@nntp.ucs.ubc.ca> X-Deja-AN: 161531114 references: <4qd5t6$3ta@ns2.ptd.net> organization: University of British Columbia, Vancouver, B.C., Canada newsgroups: bc.unix