I would use the hcp command (from the cpint package), or the vmcp command to query CP.
Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Eric Gaulin Sent: Wednesday, October 25, 2006 2:59 PM To: [email protected] Subject: Detection of DASD volume linked read only Hi, On z/VM side i have a DASD volume linked read only. But on linux side i need to find a way for detecting if that DASD device is in a read only state. with the following mount command: mount /mnt/data -o remount,rw I don't get any errors from de the mount command, and if i check the status of the mounted device with 'mount' alone, the filesystem looks like being mounted rw Of course i get a lots kernel errors! I have to build some scripts and it will be useful for me to validate this read-only state within my scripts. Any suggestions ? Thanks in advance! -- Eric Gaulin ---------------------------------------------------------------------- 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
