[juneau-lug] Re: Juneau Linux User's Group Contact (fwd)

  • From: "James Zuelow" <e5z8652@xxxxxxxxxx>
  • To: "Martin Powers" <mtpowers@xxxxxxxxxxxxx>
  • Date: Sun, 9 Jun 2002 22:13:11 -0800


----- Original Message -----
From: "Martin Powers" <mtpowers@xxxxxxxxxxxxx>
To: "James Zuelow" <e5z8652@xxxxxxxxxx>
Sent: Sunday, June 09, 2002 7:25 PM
Subject: Re: [juneau-lug] Juneau Linux User's Group Contact (fwd)


> On Sunday 09 June 2002 01:24 pm, you wrote
> > ----- Original Message -----
> >
> > Does /dev/fd0 exist at all?
> >
> > Is the floppy listed in your dmesg?
> >
> > Cheers,
> >
> > James
> I'm using Mandrake 8.1. I checked dmesg, it's listed as in use. I don't
> understand that.
>
It would still be a problem if /dev/fd0 doesn't exist.  You can try making
the device manually (info mknod):

cd /dev
mknod fd0 b 2 0
mknod fd0u1440 b 2 28

That should make the /dev/fd0 device, along with a 1.44MB floppy device at
fd0u1440.  Permissions on my Debian 3.0 box show this (ls -l output):
brw-rw----    1 root     floppy     2,  0 Jul  5  2000 /dev/fd0
brw-rw----    1 root     floppy     2,  28 Jul  5  2000 /dev/fd0u1440

And on RedHat 7.2:
brw-rw----    1 root     floppy     2,   0 Aug 30  2001 fd0
brw-rw----    1 root     floppy     2,  28 Aug 30  2001 fd0u1440

So if you make sure your permissions/ownership looks like the above
everything should work.

You should be OK after manually making the block devices, if they don't
exist.  Just FYI here's the full list of floppy device major & minor numbers
for mknod.  You could copy this list & paste it into a shell script which
should create (or re-create) all of the possible floppy sizes.  (Whether or
not your floppy controller and/or drive and/or particular floppy disk
supports them is a different matter):

mknod fd0      b   2   0
mknod fd0u1040 b   2  84
mknod fd0u1120 b   2  88
mknod fd0u1440 b   2  28
mknod fd0u1600 b   2 124
mknod fd0u1680 b   2  44
mknod fd0u1722 b   2  60
mknod fd0u1743 b   2  76
mknod fd0u1760 b   2  96
mknod fd0u1840 b   2 116
mknod fd0u1920 b   2 100
mknod fd0u360  b   2  12
mknod fd0u720  b   2  16
mknod fd0u800  b   2 120
mknod fd0u820  b   2  52
mknod fd0u830  b   2  68
mknod fd1      b   2   1
mknod fd1u1040 b   2  85
mknod fd1u1120 b   2  89
mknod fd1u1440 b   2  29
mknod fd1u1600 b   2 125
mknod fd1u1680 b   2  45
mknod fd1u1722 b   2  61
mknod fd1u1743 b   2  77
mknod fd1u1760 b   2  97
mknod fd1u1840 b   2 117
mknod fd1u1920 b   2 101
mknod fd1u2880 b   2  33
mknod fd1u3200 b   2 105
mknod fd1u3520 b   2 109
mknod fd1u360  b   2  13
mknod fd1u3840 b   2 113
mknod fd1u720  b   2  17
mknod fd1u800  b   2 121
mknod fd1u820  b   2  53
mknod fd1u830  b   2  69



------------------------------------
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: