Le 07/01/2016 16:43, David Christensen a écrit :

'lsblk' can tell you the relationship between kernel names (e.g. sda,
sda1, etc.) and mount points:

     $ lsblk


not always. I just tested: lsblk only flag as swap the active swap partition

fdisk -l

gives all the necessary info

example:

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdc1  *         2048  62910463  62908416    30G 83 Linux
/dev/sdc2        62910464 937701375 874790912 417,1G  f W95 Ext'd (LBA)
/dev/sdc5        62912512 125820927  62908416    30G 83 Linux
/dev/sdc6       125822976 142591999  16769024     8G 82 Linux swap / Solaris
/dev/sdc7       142594048 937701375 795107328 379,1G 83 Linux



(but all I have at hand is an openSUSE, the debian version may be different)

jdd

Reply via email to