yoshinorim / mha4mysql-node

Development tree of Master High Availability Manager and tools for MySQL (MHA), Node (MySQL Server) part
http://code.google.com/p/mysql-master-ha/
GNU General Public License v2.0
402 stars 202 forks source link

Added find -L to dereference symbolic links #6

Closed kane3 closed 10 years ago

kane3 commented 10 years ago

I think using symbolic links is not so rare, so I propose to add -L option.

yoshinorim commented 10 years ago

purge_relay_logs uses hard links, not symbolic links.

kane3 commented 10 years ago

Yes, purge_relay_logs uses hard links for relay_log files. But I would like to use symbolic link for directory. For example, when I use additional disk for datadir like /var/lib/mysql, I am going to use symbolic link for datadir and workdir because I would like to use a single my.cnf and a single cron setting for all slaves.