@pwithnall ,
OK.
I have a laptop with 1 hard drive so the first print is correct.
However the second print is incorrect as I have 1 volume/drive, as drive is basically a physical volume. Unless I’m wrong.
Now on this drive I have 3 partitions. And if I do “mount” I will get:
igor@WaylandGnome ~/wxFork/buildGTK/tests $ mount
/dev/sda3 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=950063,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=1520712k,nr_inodes=819200,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=760356k,nr_inodes=190089,mode=700,uid=1000,gid=1000)
igor@WaylandGnome ~/wxFork/buildGTK/tests $
So the last print should give at least 1 (for /dev/sda3).
Am I wrong?
Thank you.