1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE slides SYSTEM "/usr/share/xml/docbook/custom/slides/3.3.1/schema/dtd/slides-full.dtd">
7 <title>Character Devices</title>
8 <author><firstname>Thadeu</firstname><surname>Cascardo</surname></author>
12 <title>Introduction</title>
16 <title>Device Number Macros</title>
18 Nowadays, major number is 12 bits and minor number is 20 bits. This may change
19 in the future, so macros should be used.
35 <title>Inode structure</title>
37 Use <emphasis>imajor</emphasis> and <emphasis>iminor</emphasis> to get the major and minor number from an inode structure.