On Fri, 28 May 2004, Gideon Guillen wrote:
> On Fri, 2004-05-28 at 15:31, 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... > > > > or, put a sticker (custom tamper sticker that easily breaks and hard > > to imitate -- merong hologram?). place it along the ejection path. > > if it breaks, then the media has been removed. > > > > or put both. > > You still don't get it. Unmounting does more than making a file system > unavailable on a mount point. The problem with what you're saying above > is that it only detects the removal of the media. yes, i assumed that the poster wanted to detect an unclean removal of the media. obvious ba? kaya nga may pa-sticker-sticker pa ako eh. at least si dido gave me bit more credit. =) now, if the poster wanted to know if somebody unmounted, and then removed the media, then that's even heaven of a lot easier to detect using userland tools and kernel debug output (you need a kernel patch to output mount/umount syscalls to syslog) regards, pong -- 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
