[FE training-materials-updates] Flash slides simplification: don't mention major and minor numbers

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed Nov 4 21:58:45 CET 2015


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=e68a56ff3195565b6e6b6a418184a5e38d12cd50

>---------------------------------------------------------------

commit e68a56ff3195565b6e6b6a418184a5e38d12cd50
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Wed Nov 4 21:58:45 2015 +0100

    Flash slides simplification: don't mention major and minor numbers
    
    - Managed by devtmpfs anyway
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

e68a56ff3195565b6e6b6a418184a5e38d12cd50
 slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 1ca1876..dfb3052 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -296,9 +296,7 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(X-Loader)ro,1536k(U-Boot)ro,512k(Env)
   \item The {\bf mtdchar} driver creates a character device for each
     MTD device/partition of the system
     \begin{itemize}
-    \item Usually named \code{/dev/mtdX} or \code{/dev/mtdXro}, major 90.
-      Even minors for read-write access (\code{/dev/mtdX}),
-      odd minors for read-only access (\code{/dev/mtdXro})
+    \item Usually named \code{/dev/mtdX} or \code{/dev/mtdXro}
     \item Provide \code{ioctl()} to erase and manage the flash
     \item Used by the {\em mtd-utils} utilities
     \end{itemize}
@@ -850,8 +848,7 @@ vol_alignment=1
   \begin{itemize}
   \item The \code{mtdblock} layer creates a block device for each MTD
     device of the system
-  \item Usually named \code{/dev/mtdblockX}, major 31. Minor is the
-    number of the MTD device
+  \item Usually named \code{/dev/mtdblockX}.
   \item Allows read/write block-level access. But bad blocks are not
     handled, and no wear leveling is done for writes.
   \item For historical reasons JFFS2 filesystems require a block device
@@ -878,10 +875,6 @@ vol_alignment=1
 
    \item Usually named \code{/dev/ubiblockX_Y}, where X is the UBI device
      id and Y is the UBI volume id
-   \item Major is dynamically assigned and stay the same for all
-     \code{ubiblock} devices
-   \item Minor is the id assigned to the \code{ubiblock} device (depends on
-     the number of \code{ubiblock} devices and the creation order).
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list