home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!harrier.ukc.ac.uk!eagle.ukc.ac.uk!mrm1
- From: mrm1@ukc.ac.uk (M.R.Mason)
- Newsgroups: comp.os.minix
- Subject: Re: dosread
- Keywords: dosread link (ln).
- Message-ID: <1499@eagle.ukc.ac.uk>
- Date: 20 Aug 92 21:18:21 GMT
- References: <1992Aug18.183026.8428@udel.edu> <8255@sirius.ucs.adelaide.edu.au>
- Reply-To: mrm1@ukc.ac.uk (M.R.Mason)
- Organization: Computing Lab, University of Kent at Canterbury, UK.
- Lines: 48
-
- In article <8255@sirius.ucs.adelaide.edu.au> newton@iagu.itd.adelaide.edu.au (Mark Newton) writes:
- >In article <1992Aug18.183026.8428@udel.edu> hilander@silver.lcs.mit.edu (Most things are better eaten than forgotten) writes:
- >>i do a dosread -a foobar > /tmp/foobar
- >>with no luck
- >>i have tried to get a file off of the a drive.. no luck
- >
- >dosread expects a block special device that it is supposed to read from.
- >
- >So, to read something from drive A:, use a command line like this:
- >
- > dosread -a /dev/fd0 foobar > /tmp/foobar
- >
- >/dev/fd0 corresponds to the A: drive.
- >
- >If you want to use dosread with a hard disk partition, then you'll have to
- >make sure that a block special device exists which has major and minor
- >device numbers corresponding to your DOS partition.
- >
- > - mark
- >
- >
- >--
- >------------------------------------------------------------------
- > 'Do not expose your LaserWriter to naked flame...'
- >newton@iagu.itd.adelaide.edu.au - Apple LaserWriter Manual
- >------------------------------------------------------------------
-
-
- I use
-
- ln /dev/fd0 /dev/dosA
-
- This links the drive, then
-
- dosread -a A filename
-
- To simply read the file to screen, or
-
- dosread -a A filemane > /any directory/filename
-
- to copy the file to a minix directory.
-
- nb the -a means that your reading an ascii format file.
-
- Mark...
-
- PS I wrote an email to the original poster of this question, it was a load
- of garbage, sorry, I didn't have my notes to hand and I was in a rush.
-