File Systems and Partitions
Where are the microSDHC cards in /dev?
Copyright © 2010 Marvell
Doc. No. MV-S400320-00 Rev. -
December 2010
Page 25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
4
File Systems and Partitions
4.1
Where are the microSDHC cards in /dev?
Linux device drivers are accessed via the /dev directory. This screenshot shows a listing of the /dev
directory on the gplugD with cards present in both external microSDHC slots and the internal slot
(
).
Each partition on a microSDHC card also has its own /dev node. For example, the card from which
Linux boots, which is always instantiated as /dev/mmcblk0, has two partitions: /dev/mmcblk0p1 and
/dev/mmcblk0p2.
The /dev assignment of the internal and second external microSDHC card slots is not consistent
each time the gplugD boots. In
, the start-up messages that follow power-on show
assignment of the internal slot to /dev/mmcblk1 and the external slot to /dev/mmcblk2. As noted in
the introduction chapter, the gplugD comes with an 8 GB Class 6 microSDHC card installed in the
internal slot.
Figure 18: /dev Directory Listing