>I'm looking to check for the presence of
>various devices in a script run in cron, so the device may not have been
>connected *recently*. 

You can use rmformat and store the o/p in a file
Next time you run rmformat, diff it with the old o/p
stored in the file. 
If there are any differences, then you parse further to 
find out if a device was added recently 

Thanks,
Tirthankar
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to