On 10.08.2011 21:40, Patrick Spinler wrote:
Okay, please accept an 'I'm stupid' retraction, as Bob N. across the wall got me. Running 'lsdasd' as root returns the full information about the device in a nicely parsable format. (Curious it doesn't as non-root, but there you go).
newer versions of lsdasd (including the one from s390-tools 1.8) should generate parsable output when specifying the --long parameter, independently of whether it is run as root or another user. Note that certain values (such as the blocksize and number of blocks) will show as "???" for non-root users.. The reason for this is that lsdasd requires read access for the device nodes (e.g. /dev/dasda) to obtain this information and this type of access is usually restricted to certain users/groups. Regards, Peter Oberparleiter ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
