I'm setting up master/slave replication on a non-trivally-sized schema (around 3Gb of data) and I'm trying to work out the best way to go about it. I have a backup script working on the master that uses mysqlhotcopy to take a cope of the schema in question. I can identify the point at which this is taken in the binary logs. Do I need to go through the process of issuing the FLUSH WITH READ LOCK statement and querying for the master log coordinates before I take the backup? Or can I use the binary log coordinates I've identified from the logs themselves?
Honestly, I think you'd be better off using the built-in mysql replication... rather than trying to re-invent the wheel. Is there some reason you don't want to make use of the built-in replication?