On Fri, May 28, 2004 at 03:31:36PM +0800, Pong wrote: > how about writing a script which checks a known directory/file > on the mounted disk. then run it under crond. if the disk has been > physically removed, the script will send an alert: syslog, email, etc... >
If the disk has been physically removed, this will cause a very long hang on accessing the file, and a lot of kernel-level errors within syslog. It can take up to several minutes for the kernel to decide that something is very wrong, and you'll have a syslog that is up to 100k larger for your troubles. -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
