Mike Walter wrote: Does that make sense to do?
2) What's the best way to echo/cat the critical files to the VM SPOOLed console log after every successful boot?
New with SLES-10-SP2 is the VM Unit Record kernel driver vmur.ko. Some basic documentation is in the new Device Driver and Command manual. It can be used to directly interact with the RDR, PUN, PRT (default 00c, 00d, 00e). Example First ensure the vmur module is loaded either at boot or via command: modprobe vmur ihlscob2:~ # chccwdev -e c Setting device 0.0.000c online Done ihlscob2:~ # chccwdev -e d Setting device 0.0.000d online Done ihlscob2:~ # chccwdev -e e Setting device 0.0.000e online Done ihlscob2:~ # ls -la /dev/vm* crw-rw---- 1 root root 10, 62 2008-05-27 12:53 /dev/vmcp crw-rw---- 1 root root 254, 14 2008-05-30 09:13 /dev/vmprt-0.0.000e crw-rw---- 1 root root 254, 13 2008-05-30 09:13 /dev/vmpun-0.0.000d crw-rw---- 1 root root 254, 12 2008-05-30 09:13 /dev/vmrdr-0.0.000c ihlscob2:~ # vmcp q rdr ORIGINID FILE CLASS RECORDS CPY HOLD FORM DEST KEEP MSG IHLSCOB2 0016 A PUN 00089515 001 NONE STANDARD OFF ON OFF IHLSCOB2 0017 A PUN 00000001 001 NONE STANDARD OFF ON OFF IHLSCOB2 0018 A PUN 00106677 001 NONE STANDARD OFF ON OFF DIRMAINT 0019 A PUN 00000006 001 NONE STANDARD OFF OFF OFF ihlscob2:~ # cat /dev/vmrdr-0.0.000c > rdr1 ihlscob2:~ # ls -la rdr1 -rw-r--r-- 1 root root 9404416 2008-05-30 09:15 rdr1 ihlscob2:~ # dd bs=80 if=/etc/fstab of=/dev/vmpun-0.0.000d dd: writing `/dev/vmpun-0.0.000d': Invalid argument 17+1 records in 17+0 records out 1360 bytes (1.4 kB) copied, 0.001641 seconds, 829 kB/s ihlscob2:~ # vmcp q pun ORIGINID FILE CLASS RECORDS CPY HOLD FORM DEST KEEP MSG IHLSCOB2 0020 A PUN 00000017 001 NONE STANDARD OFF OFF OFF ihlscob2:~ # Of course you'll have all the issues of LRECL (see above for DD with BS=80) and EBCDIC/ASCII (use iconv). have fun ;-) mark ---------------------------------------------------------------------- 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
