From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DuSTh-0006qG-06 for garchives@archives.gentoo.org; Mon, 18 Jul 2005 10:04:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6IA37VC032111; Mon, 18 Jul 2005 10:03:07 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6IA374I018494 for ; Mon, 18 Jul 2005 10:03:07 GMT Message-Id: <200507181003.j6IA374I018494@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.43) id 1DuSTZ-0003be-BM for gentoo-doc-cvs@lists.gentoo.org; Mon, 18 Jul 2005 10:03:53 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Mon, 18 Jul 2005 10:03:44 +0000 From: "Shyam Mani" Date: Mon, 18 Jul 2005 10:03:44 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: devfs-guide.xml Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 0904a849-a720-4aa8-ba3e-b2aec684ed47 X-Archives-Hash: 082697de8e6dbea9dcb19dd451d5dfac fox2mike 05/07/18 10:03:44 Modified: xml/htdocs/doc/en devfs-guide.xml Log: Fixing wrong usage of GuideXML tags. Thanks to Jan Kundrat for reporting. Revision Changes Path 1.11 +6 -6 xml/htdocs/doc/en/devfs-guide.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/devfs-guide.xml?rev=1.11&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/devfs-guide.xml?rev=1.11&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/devfs-guide.xml.diff?r1=1.10&r2=1.11&cvsroot=gentoo Index: devfs-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/devfs-guide.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- devfs-guide.xml 20 Jun 2005 09:41:16 -0000 1.10 +++ devfs-guide.xml 18 Jul 2005 10:03:44 -0000 1.11 @@ -1,5 +1,5 @@ - + @@ -21,8 +21,8 @@ -0.4 -2005-06-20 +0.5 +2005-07-18 What is devfs? @@ -69,7 +69,7 @@

In the previous example we see that /dev/hda is a block device. However, more importantly, it has two special numbers assigned -to it: 3, 0. This pair is called the major-minor +to it: 3, 0. This pair is called the major-minor pair. It is used by the kernel to map a device file to a real device. The major corresponds with a certain device, the minor with a subdevice. Seems confusing? It isn't. @@ -78,9 +78,9 @@

Two examples are /dev/hda4 and /dev/tty5. The first device file corresponds with the fourth partition on the first IDE -device. Its major-minor pair is 3, 4. In other words, the +device. Its major-minor pair is 3, 4. In other words, the minor corresponds with the partition where the major corresponds with -the device. The second example has 4, 5 as major-minor +the device. The second example has 4, 5 as major-minor pair. In this case, the major corresponds with the terminal driver, while the minor corresponds with the terminal number (in this case, the fifth terminal). -- gentoo-doc-cvs@gentoo.org mailing list