home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!taco!jlnance
- From: jlnance@eos.ncsu.edu (JAMES LEWIS NANCE)
- Subject: Re: Can I use dd on my UNIX system instead of Rawrite?
- Message-ID: <1992Aug12.122718.28604@ncsu.edu>
- Originator: jlnance@volt.ece.ncsu.edu
- Lines: 34
- Sender: news@ncsu.edu (USENET News System)
- Reply-To: jlnance@eos.ncsu.edu (JAMES LEWIS NANCE)
- Organization: North Carolina State University, Project Eos
- References: <1992Aug11.192753.8568@dg-rtp.dg.com>
- Date: Wed, 12 Aug 1992 12:27:18 GMT
-
-
- In article <1992Aug11.192753.8568@dg-rtp.dg.com>, welshm@groupw.rtp.dg.com (Matt Welsh) writes:
- |> I've been thinking. Instead of using rawrite on DOS to put the binary
- |> Linux images onto diskettes, couldn't one just copy the images to the
- |> raw floppy device on their UNIX system such as:
- |>
- |> cp boot-US.1 /dev/pdsk/1
- |>
- |> Or use dd(1)? I'm pretty sure this would accomplish the same thing as
- |> rawrite under DOS. Has someone tried this?
- |>
-
- Yes, I have done this using both a Decstation5000/25 and a Sun Sparkstation.
-
- On the Sun:
- floppy device is /dev/fd0
- format using : fdformat
-
- On Dec:
- floppy device is /dev/fd0a
- format using : fddisk -fmt /dev/rfd0a (Yes, you need the r)
-
- On either system (substitute approiate device name):
-
- cat boot.img > /dev/fd0 # makes a boot image
- tar cvf /dev/fd0 what.ever.files # puts a tar file on disk
- tar cvf - what.ever.files | compress > /dev/fd0 # makes tar.Z file on disk
-
- Now my question:
- Would it be simple to modify the mtools source to allow it to read and write
- linux files onto a floppy instead of dos files? (We could call it ltools).
- I think that this could be useful.
-
- Jim Nance
-