Re: About mknod

From: Michele Andreoli (m.andreoli@tin.it)
Date: Mon Nov 05 2001 - 19:34:14 CET


On Mon, Nov 05, 2001 at 06:09:29AM -0800, manuel barcia nicely wrote:
> Hello.
>
> - I would like to backup mulinux floppies making
> images with:
> cat < /dev/fd0h1772 > boot.img
> cat < /dev/fd0h1772 > srv.img
> etc.
> but my 'big' Linux haven't any 1772K device.
> HOWTO create it with mknod?
>

Using this command:

        # ls -l /dev/fd0*17*

on my Debian, I have:

brw-r--r-- 1 root root 2, 60 Oct 27 2000 fd0H1722
brw-rw---- 1 root floppy 2, 60 Jul 5 2000 fd0u1722
brw-rw---- 1 root floppy 2, 76 Jul 5 2000 fd0u1743
brw-rw---- 1 root floppy 2, 96 Jul 5 2000 fd0u1760

As you can see, H1722 (a block device) is major=2 and minor=60, so:

                # mknod /dev/fd0H1772 b 2 60

Please: case is important, so "h" is different from "H".

Michele

-- 
I keep trying to locate a meeting of Quantum Physicists. But everytime
they set a meeting time, the location changes. And vice versa -- Anonymous
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:20 CET