mknod

Mikkel L. Ellertson mellertson at gmail.com
Thu Apr 19 16:13:00 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/17/2012 02:44 PM, Mateusz Marzantowicz wrote:
> 17.04.2012 21:25, Patrick Dupre:
>> Hello,
>>
>> I made mknod -m 660 /dev/fd0H1440 b 2 28
>> but at the next reboot I had to do it again.
>> Why?
> Maybe because it is populated during system boot process or when device
> is attached to the system. Check for udev.
>
>
> Mateusz Marzantowicz
/dev has been a mounted as a temporary (RAM) file system sense
before udev was adopted. So any changes you make are lost in a
reboot.  The /dev/fd[0-9] block devices are created as needed when
the system detects floppies. For example, when the floppy module is
loaded, or when a USB floppy is plugged in. You can create a udev
rule in /etc/udev/rules.d to create the format specific devices. You
may want to look at /lib/udev/rules.d/60-floppy.rules for an example
of what to detect. This is the system rule that creates /dev/fd[0-9].

I do not have time to generate a rule right now, but if you need
help, I can come up with one later...

Mikkel
- -- 
Do not meddle in the affairs of dragons, for thou art crunchy and
taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+QOYwACgkQqbQrVW3JyMSWxgCfV3wYVGZDpsdDrVzdcrmTRQ2p
uKwAn1xAMgdP9izGBcCeO2webExR8vkx
=4FoN
-----END PGP SIGNATURE-----



More information about the users mailing list