lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 25 Mar 2009 18:00:50 +0000
From:	Colin Watson <cjwatson@...onical.com>
To:	device@...ana.org
Cc:	Pierre Ossman <drzeus-mmc@...eus.cx>, linux-kernel@...r.kernel.org
Subject: [PATCH] Document MMC block device numbers

The MMC block devices created by drivers/mmc/card/block.c in mainline do
not appear to be documented in Documentation/devices.txt. This patch
documents them.

Signed-off-by: Colin Watson <cjwatson@...onical.com>
---
 Documentation/devices.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Documentation/devices.txt b/Documentation/devices.txt
index 2be0824..4a3343f 100644
--- a/Documentation/devices.txt
+++ b/Documentation/devices.txt
@@ -2547,6 +2547,19 @@ Your cooperation is appreciated.
 		  1 = /dev/dvxirq1	Second DVX device
 		    ...
 
+179 block	MMC block devices
+		  0 = /dev/mmcblk0	First MMC block device
+		  8 = /dev/mmcblk1	Second MMC block device
+		    ...
+		248 = /dev/mmcblk32	32nd MMC block device
+
+		For each device, partitions are added as:
+		  0 = /dev/mmcblk?	Whole disk
+		  1 = /dev/mmcblk?p1	First partition
+		  2 = /dev/mmcblk?p2	Second partition
+		    ...
+		  7 = /dev/mmcblk?p7	Seventh partition
+
 180 char	USB devices
 		  0 = /dev/usb/lp0	First USB printer
 		    ...
-- 
1.6.0.4


-- 
Colin Watson                                    [cjwatson@...onical.com]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ