Ubuntu 9.10, connected to external WD 1.5GB USB drive, called "data_3"
I connected the USB cord and all was well for a long time. Ran nightly cron jobs rsyncing data via the internal network.
After a powerout, after which the external USB did not start, the rsync job COPIED the data to /media/data_3, on the INTERNAL drive which is much smaller and ran out of space.
The rsync script points to the supposedly mounted USB drive at /media/data_3, but when it does not exist it writes to /media/data_3, on the internal drive.
How get rsync to write only to the USB disk, and fail if it's not mounted ?