Closed sudhakar3697 closed 4 years ago
The /dev/sdb
being displayed by drivelist
refers to the raw block-device (e.g. a specific USB flash drive or SD-card). The /dev/sdb1
being displayed by df
refers to the first partition on the /dev/sdb
block-device. It's possible for a block-device to contain multiple partitions (although most external media only contains a single partition).
You may find the output of the lsblk
command useful :wink:
Platform: Ubuntu
I get the below using this library,
I get the below path using df command
/dev/sdb1 31249232 2544 31246688 1% /media/bremen/TEST 12