In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (
/vol/) and then progresses to move
mysql's config and data there.
/sdh gets mounted as
/vol by editing
fstab and adding:
/dev/sdh /vol xfs noatime 0 0
And next some paths are added like this:
/vol/etc/mysql /etc/mysql none bind
I don't have a problem with doing this way but I don't quite understand what is going on.
I can most closely compare this to using a symlink, something like:
ln -s /etc/mysql /vol/etc/mysql
I've taken a look at
man fstab without seeing much information about the
bind syntax and can't find it in the
fstab section in the Linux Administrator's Handbook either. Can someone shed some light on
bind syntax, how it works, what it does, and where I should be able to find more information on it?