It's apparently possible to get a lot of info relating to attached disks using the udisks binary:
udisks --show-info /dev/sda1
udisks is apparently just enumerating the data which is available udev.
Is it possible to get this information using python? say for example if i just wanted to retrieve the device serial, mount point and size.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…