[Box Backup] Question about mount-point parsing

Joe Krahn boxbackup@fluffy.co.uk
Mon, 13 Dec 2004 12:18:11 -0500


Is the mount-point lookup in BackupDaemon.cpp related to avoiding 'one 
filesystem' problems?

The comment says:
// Linux can't tell you where a directory is mounted. So we have to
// read the mount entries from /etc/mtab! Bizarre that the OS itself
// can't tell you, but there you go.

This is sort of what the stat.st_dev field is for, but not exactly. 
Depends what you're trying to do.

Joe