[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need suggestions on a backup issue



On Fri, Jul 20, 2012 at 09:50:53AM -0600, Paul E Condon wrote:
> 
[cut]
> What test can I code in Bash to determine that there is no disk
> mounted at this mount point? I'm thinking of testing for the
> presence of the file lost+found, but is there something better?

Two points.

1. See if "man mountpoint" is suitable

2. Don't re-invent the wheel. There are plenty of people who've solved
the "backup to a USB disk" before you. Some of their work is in debian.

Attachment: signature.asc
Description: Digital signature


Reply to: