Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using Amiga disks on unix...



I tried to very shortly explain how to use 720k (or 1440k) disks with
NetBSD-Amiga 1.2:

> > b) you can use MSDOS style byte encoding on the Amiga with NetBSD-1.2 using
> > fd0b instead of fd0a, 

which would be sufficient for "disklabel"

> > etc.

and Jose A. Alburquerque asked:
> Can you explain what you mean by "etc."?  Thanks.

a) if you need the /dev/ prefix for your application, use /dev/fd0b instead of
/dev/fd0a (mount needs this)

b) if you need the raw partition use /dev/rfd0b instead of /dev/rfd0a

e.g. to format the diskette using

dd if=/dev/zero of=/dev/rfd0a bs=11k count=80   # 880k disks
dd if=/dev/zero of=/dev/rfd0b bs=9k count=80    # 720k disks
dd if=/dev/zero of=/dev/rfd0a bs=22k count=80   # 1760k disks
dd if=/dev/zero of=/dev/rfd0b bs=18k count=80   # 1440k disks

e.g., to put a Berkeley ffs filesystem on a 720k or 1440k disk use

newfs /dev/rfd0b
fsck /dev/rfd0b

and mount afterwards with

mount -t ffs /dev/fd0b /mnt

to put a raw tar on it instead

tar cvf /dev/rfd0b the file list ...

c) if you want to access the 2nd floppy drive use

fd1b instead of fd1a
/dev/fd1b instead of /dev/fd1a
/dev/rfd1b instead of /dev/rfd1a


Regards,
        Ignatios Souvatzis




Home | Main Index | Thread Index | Old Index