Re: LS-120 Formatting?

Riley Williams (rhw@bigfoot.com)
Sun, 20 Dec 1998 18:57:00 +0000 (GMT)


Hi there.

===8<=== Lots of unnecessary insults omitted ===>8===

>>> Great. Now take 1.88Mb floppy (maked with xdfcopy) and explain
>>> how to create standard 1.44Mb floppy with mkfs.ext2 :-))

>> mke2fs /dev/fd0H1440

> Yes, really ?

Yep...

>>> Format under DOS will do this quite happily.

>> Why bother with DOS ???

>>> Or even simpler: take 1.44Mb floppy and make 720Kb floppy from
>>> it (this is safe).

>> mke2fs /dev/fd0D720

> Are you sure ? What about 5" 720K disks ? A have few 5" 1440Kb
> disks and 720Kb disks :-))

5" 720k disks can be had with /dev/fd?h720 without problem. 5" 1440k
disks are not one of the standard formats supported by Linux...

Incidentally, my understanding as to why these work when using
/dev/fd0 doesnae is because the suffixed versions over-ride the
drive's own details and return their own...

>> I regularly do the latter, and have never had any problems with
>> it...

>>> Again format under DOS will do this just fine.

>> Again, why bother with DOS ???

> Since in DOS low-level format and filesystem creation is combined
> in one program unlike Linux.

True, but irrelevant...

>>> PS. May be you have specially modified mkfs.ext2 which could do
>>> low-level format but standard mkfs.ext2 will do just it:
>>> create ext2fs filesystem on low-level formatted driver.

>> If I do, then RedHat have been supplying a patched version since
>> at least RedHat 4.1 when I started with Linux - I've been doing
>> the above since then...

> I'm just checked with RedHat 5.1 :-))

Please advise re your findings...

>> For reference, from this system:

> Q>> $ ls -lFG /dev/fd0*
> Q>> brw-rw-r-- 1 root 2, 0 May 5 1998 /dev/fd0
> Q>> brw-rw-r-- 1 root 2, 12 May 5 1998 /dev/fd0D360
> Q>> brw-rw-r-- 1 root 2, 16 May 5 1998 /dev/fd0D720
> Q>> brw-rw-r-- 1 root 2, 28 May 5 1998 /dev/fd0H1440
> Q>> brw-rw-r-- 1 root 2, 12 May 5 1998 /dev/fd0H360
> Q>> brw-rw-r-- 1 root 2, 16 May 5 1998 /dev/fd0H720
> Q>> brw-rw-r-- 1 root 2, 4 May 5 1998 /dev/fd0d360
> Q>> brw-rw-r-- 1 root 2, 8 May 5 1998 /dev/fd0h1200
> Q>> brw-rw-r-- 1 root 2, 20 May 5 1998 /dev/fd0h360
> Q>> brw-rw-r-- 1 root 2, 24 May 5 1998 /dev/fd0h720
> Q>> $

> Ok. Just tried to use your braindead "theory" :

===8<=== Lots more rubbish omitted, relevant lines retained ===>8===

> [root@localhost /root]# fdformat /dev/fd1h1200
> [root@localhost /root]# mke2fs /dev/fd1h360

> RedHat 5.1, /dev/fd1 -- 5" floppy drive, more information available
> by request.

> Why mke2fs works just fine after fdformat /dev/fd1h360 but not
> after fdformat /dev/fd1h1200 ?

Probably because those two are NOT compatible with each other. Try
using the compatible options, which have been working fine for me for
OVER TWO YEARS...and if they're not working for you, then either
you've patched the kernel to prevent them from doing so, somebody else
has done so, or the relevant entries in /dev have the wrong mknod
numbers attached to them...

For reference, your second line should refer to

Q> /dev/fd1d360
Q> ^

As I understand it, /dev/fd1h360 refers to a drive formatted as SINGLE
sided, 80 tracks, 9 sectors per track, but I have never found a drive
where it could be used...

Best wishes from Riley.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/