K
K
krll-k2015-02-12 23:38:51
linux
krll-k, 2015-02-12 23:38:51

How do I find out everything I need to know about a physical device partition before mounting it?

ta                    1G     1G   437M   4096
/persist                 7M     4M     3M   4096
/cache                 492M     8M   483M   4096
/efs                    11M     4M     7M   4096
/mnt/sdcard              1G     1G   337M   4096
/mnt/sdcard/Android/data/ru.gameland.xakep     1G   685M     1G   32768
[email protected]:/ # ls /dev/block/
loop0       loop6       mmcblk0p12  mmcblk0p18  mmcblk0p23  mmcblk0p6   mmcblk1p2
loop1       loop7       mmcblk0p13  mmcblk0p19  mmcblk0p24  mmcblk0p7   param
loop2       mmcblk0     mmcblk0p14  mmcblk0p2   mmcblk0p25  mmcblk0p8   platform/
loop3       mmcblk0p1   mmcblk0p15  mmcblk0p20  mmcblk0p3   mmcblk0p9   vold/
loop4       mmcblk0p10  mmcblk0p16  mmcblk0p21  mmcblk0p4   mmcblk1     zram0
loop5       mmcblk0p11  mmcblk0p17  mmcblk0p22  mmcblk0p5   mmcblk1p1
[email protected]:/ # ls /dev/block/mmcblk1
mmcblk1   mmcblk1p1 mmcblk1p2
[email protected]:/ # ls /dev/block/mmcblk1p2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2015-02-12
@jcmvbkbc

How do I find out everything I need to know about a physical device partition before mounting it?

Decide what exactly you need to know.
For example, I don't need to know anything other than the device name to mount it.

F
Fumoffu, 2015-02-13
@Fumo

blkid ? lsblk ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question