Wie kann man sich Informationen über die Partitionen der Laufwerke anzeigen lassen?

0
128

Raspbian:

Befehl:

cat /proc/partitions

Beispielausgabe:

pi@raspberrypi:~ $ cat /proc/partitions
major minor  #blocks  name

   1        0       4096 ram0
   1        1       4096 ram1
   1        2       4096 ram2
   1        3       4096 ram3
   1        4       4096 ram4
   1        5       4096 ram5
   1        6       4096 ram6
   1        7       4096 ram7
   1        8       4096 ram8
   1        9       4096 ram9
   1       10       4096 ram10
   1       11       4096 ram11
   1       12       4096 ram12
   1       13       4096 ram13
   1       14       4096 ram14
   1       15       4096 ram15
 179        0   30375936 mmcblk0
 179        1    1243951 mmcblk0p1
 179        2          1 mmcblk0p2
 179        5      32767 mmcblk0p5
 179        6      67584 mmcblk0p6
 179        7   29024256 mmcblk0p7

Befehl:

sudo lsblk -f

Beispielausgabe:

pi@raspberrypi:~ $ sudo lsblk -f
NAME        FSTYPE LABEL    UUID                                 MOUNTPOINT
mmcblk0
├─mmcblk0p1 vfat   RECOVERY AEA0-9AA8
├─mmcblk0p2
├─mmcblk0p5 ext4   SETTINGS 8fe0bd99-68f1-4f0f-ab96-0421f3f9b54c
├─mmcblk0p6 vfat   boot     0500-7322                            /boot
└─mmcblk0p7 ext4   root0    f51104ab-259c-4486-bcb7-c68332c488ef /

Befehl:

df -h

Beispielausgabe:

pi@raspberrypi:~ $ df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root        28G    4,3G   22G   17% /
devtmpfs        459M       0  459M    0% /dev
tmpfs           463M       0  463M    0% /dev/shm
tmpfs           463M    6,3M  457M    2% /run
tmpfs           5,0M    4,0K  5,0M    1% /run/lock
tmpfs           463M       0  463M    0% /sys/fs/cgroup
/dev/mmcblk0p6   66M     21M   46M   31% /boot
tmpfs            93M       0   93M    0% /run/user/1000

Befehl:

sudo fdisk -l

Beispielausgabe:

pi@raspberrypi:~ $ sudo fdisk -l

Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mmcblk0: 29 GiB, 31104958464 bytes, 60751872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000bb4a9

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1         8192  2496093  2487902  1,2G  e W95 FAT16 (LBA)
/dev/mmcblk0p2      2496094 60751871 58255778 27,8G  5 Extended
/dev/mmcblk0p5      2498560  2564093    65534   32M 83 Linux
/dev/mmcblk0p6      2564096  2699263   135168   66M  c W95 FAT32 (LBA)
/dev/mmcblk0p7      2703360 60751871 58048512 27,7G 83 Linux

Befehl:

sudo sfdisk -l

Beispielausgabe:

pi@raspberrypi:~ $ sudo sfdisk -l
sfdisk: Disk /dev/ram0: cannot get geometry

Disk /dev/ram0: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram1: cannot get geometry

Disk /dev/ram1: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram2: cannot get geometry

Disk /dev/ram2: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram3: cannot get geometry

Disk /dev/ram3: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram4: cannot get geometry

Disk /dev/ram4: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram5: cannot get geometry

Disk /dev/ram5: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram6: cannot get geometry

Disk /dev/ram6: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram7: cannot get geometry

Disk /dev/ram7: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram8: cannot get geometry

Disk /dev/ram8: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram9: cannot get geometry

Disk /dev/ram9: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram10: cannot get geometry

Disk /dev/ram10: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram11: cannot get geometry

Disk /dev/ram11: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram12: cannot get geometry

Disk /dev/ram12: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram13: cannot get geometry

Disk /dev/ram13: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram14: cannot get geometry

Disk /dev/ram14: 0 cylinders, 255 heads, 63 sectors/track
sfdisk: Disk /dev/ram15: cannot get geometry

Disk /dev/ram15: 0 cylinders, 255 heads, 63 sectors/track

Disk /dev/mmcblk0: 949248 cylinders, 4 heads, 16 sectors/track
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units: cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/mmcblk0p1        128   39001-  38874-   1243951    e  W95 FAT16 (LBA)
/dev/mmcblk0p2      39001+ 949247  910247-  29127889    5  Extended
/dev/mmcblk0p3          0       -       0          0    0  Empty
/dev/mmcblk0p4          0       -       0          0    0  Empty
/dev/mmcblk0p5      39040   40063-   1024-     32767   83  Linux
/dev/mmcblk0p6      40064   42175    2112      67584    c  W95 FAT32 (LBA)
/dev/mmcblk0p7      42240  949247  907008   29024256   83  Linux

 

HINTERLASSEN SIE EINE ANTWORT

Bitte geben Sie Ihren Kommentar ein!
Please enter your name here