[FE training-materials-updates] Give a better /proc/partitions example
Michael Opdenacker
michael.opdenacker at free-electrons.com
Wed Jan 23 16:11:32 CET 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=26e25353742ede406e4ca4b4106e9d155f1bd59d
>---------------------------------------------------------------
commit 26e25353742ede406e4ca4b4106e9d155f1bd59d
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Wed Jan 23 16:10:08 2013 +0100
Give a better /proc/partitions example
I don't want to explain why /dev/sda2 has a '1' size
(corresponding to extended partitions)
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
26e25353742ede406e4ca4b4106e9d155f1bd59d
.../sysdev-block-filesystems.tex | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
index 4e1f170..47a880a 100644
--- a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -35,10 +35,12 @@
$ cat /proc/partitions
major minor #blocks name
-8 0 312571224 sda
-8 1 303903744 sda1
-8 2 1 sda2
-8 5 8665088 sda5
+ 179 0 3866624 mmcblk0
+ 179 1 73712 mmcblk0p1
+ 179 2 3792896 mmcblk0p2
+ 8 0 976762584 sda
+ 8 1 1060258 sda1
+ 8 2 975699742 sda2
\end{verbatim}
\item And also in \code{/sys/block/}
\end{itemize}
More information about the training-materials-updates
mailing list