/sbin/chccwdev -e 0.0.1200 echo 1 > /sys/bus/ccw/devices/0.0.1200/readonly
I experimented a little. The sequence doesn't seem to matter. In fact the "readonly" setting appears to survive online/offline/hcp detatch/hcp link MR /online sequence. I found this by accident when I forgot to turn off "readonly". Ismael -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rob van der Heij Sent: Saturday, June 11, 2005 12:49 AM To: [email protected] Subject: Re: Mounting reiserfs in read-only On 6/10/05, Ifurung, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > That's it, it works, altho for SuSE9, it uses different command sets: > > chccwdev -e 0.0.1200 /*set it online; adds it to /proc/dasd/devices */ > echo 1 > /sys/bus/ccw/devices/0.0.1200/readonly You sure? I thought the 'readonly' can only be set/reset while the device is offline? -- Rob van der Heij rvdheij @ gmail.com ---------------------------------------------------------------------- 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 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
