[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.88 Drives Info..
hi,
This may not be directly related to a TP but I think the new
TP 2.88 drives are the same as the ones which we use in the RS/600 PPC
machines here at work.
I'm trying to configure mtools-2.0.7 for the above machine with the 2.88
drive. I need some specs of the drive like so,
struct device {
char drive; /* the drive letter */
char *name; /* full path to device */
long offset; /* skip this many bytes */ <--
int fat_bits; /* FAT encoding scheme */ <--
int mode; /* any special open() flags */
int (*gioctl) (); /* gioctl() if needed */
int tracks; /* tracks */ <--
int heads; /* heads */ <--
int sectors; /* sectors */ <--
};
drive the drive letter (in uppercase) that you want to associate
to this device.
name full path to the device. Shell expansion is done on the
name so things like $HOME/vpix/C: will work.
offset skip over a partition table. Useful for msdos disk "images"
such as those VP/ix uses.
fat_bits The encoding scheme for the File Allocation Table. Currently
supports only 12 and 16 bit FATs. Hard disks usually use
16 bit FATs, while all diskettes use 12 bit FATs.
mode any special open() mode flags (not normally used, except
in the AT&T Unixpc 7300/3b1).
gioctl any special ioctl() calls required after opening the device
(not normally used, except in the AT&T Unixpc 7300/3b1).
tracks the number of tracks supported by this device or zero if
this type of sanity checking is not required. Do NOT use
this field for hard disks or disk "images". Also used by
gioctl(), if present, as a default starting place.
heads the number of heads supported by this device or zero if
this type of sanity checking is not required.
sectors the number of sectors supported by this device or zero if
this type of sanity checking is not required.
Will send more details and examples when requested (via email). Anyone
ported mtools to the AIX 3.2 platform with a RS/6000 PPC + 2.88Mb floppy disk?
--ta
. kevin cheong iss nus mlp program .