What is the difference between reading the list of disk partitions from /proc/partitions and getting it using fdisk -l?
/proc/partitions
fdisk -l
/proc/partitions is the kernel's list of partitions held in ram. fdisk -l reads the partition table from the drive itself.
There is no difference between the two, and both lists contain the same data.
/proc/partitions shows only mounted drives. fdisk -l shows all drivers.
/proc/partitions represents the disk partition table more accurately than fdisk -l