From: ehhchi@staff.tc.umn.edu () Subject: 1.2mb size and determine what size /dev/fd? is, report on et4000/w32 Date: Mon, 28 Jun 1993 01:48:19 GMT
Hi fellow linuxers,
I am rewriting the code for diskbackup and diskrestore (orig written
by Damiano Bolla).
Apparently, it doesn't use ms-dos or ext2 or ext file systems. It does
require the disk to be formatted.
I was wondering how you would go about getting the following information:
**1) How many bytes *exactly* are there in a 1.2mb disk? If I am not mistaken,
it is 1185*1024 = 1213440. I used the number of blocks returned by "df" and
since each block is 1024 bytes.
Someone tell me whether this is right or wrong. I have a feeling that either
I am wrong, or Damiano was wrong. Because he uses 2794*512= 1430528 for a
1.44mb disk, but the "df" program returns 1440*1024=1474560 for a 1.44mb disk.
Is there actually more disk space that can be used, but Damiano's program
is not using it??
**2) if a user tells you that s/he is using /dev/fd0 to do a diskbackup of
some directory, how would you go about finding out what size drive /dev/fd0
is??
That is, I need to know what the size of the disk is, so I can tell the
diskbackup program how many bytes to read.
===================email me at: chix0001@student.tc.umn.edu
I'll summarize to the net if there is interest to know the info.
I read the c.o.l often.
My experience with linux is:
I just installed linux SLS 1.02 and the XFREE86 1.3 for my computer
recently. I got X windows to run with my Pony 486-dx2-66 4mb computer
with ET4000/W32. Runs well, but X really needs more memory. I don't know
why, but X doesn't flicker with my CTX 5468NI monitor, but flickers in
ms-windoze. :) I guess this just proves that X windoze is better. :)
-- o/ \ / \ / / \o email: chix0001@student.tc.umn.edu /# ##o # o## #\ - or - / \ / \ /o\ / |\ / \ chi@mermaid.micro.umn.edu