Dumping by the name of the directory where the filesystem is mounted rather than absolute device name is even nicer if you want to do backups on a number of machines, each of which has the same set of mounted filesystems but on different hardware, without needing a different shell file for each machine.