Hi,

I'm trying to write a kind of 'floppy dump' program, and therefore I would
like to know if it is possible to determine the size of the floppy inserted
into the drive.

ioctl(fd, FD_GTYPE) gives me the type of the *drive* which is not what I want,
ioctl(fd, DIOCGDINFO) doesn't work because there is no disklabel, and looking
through /sys/isa/fd.c doesn't give me a further clue either.

Is this not possible?

--Stijn

-- 
] Nothing safer than a 'cat /dev/wallet | grep $price > real-person; \
]       mv $thing-to-buy $my-case
I'd prefer 'mv $thing-to-buy $my-case && cat /dev/wallet | \
        grep $price > real-person
                -- Anonymous, [EMAIL PROTECTED],
                        in message <[EMAIL PROTECTED]>

Attachment: msg39209/pgp00000.pgp
Description: PGP signature

Reply via email to