Am Sun, 1 Mar 2015 14:13:53 -0500
schrieb Rich Freeman <ri...@gentoo.org>:

> On Sun, Mar 1, 2015 at 1:20 PM, Marc Joliet <mar...@gmx.de> wrote:
> >
> > Regardless: thoughts?
> 
> I'd probably just do this:
> > Am Sun, 1 Mar 2015 08:34:19 -0500
> > schrieb Rich Freeman <ri...@gentoo.org>:
> >>
> >> The timer keeps running if you set the dependency on the service.  So,
> >> next time the timer runs, it will try again.  You might want to just
> >> set an hourly job and have it check for a successful run in the last
> >> day or whatever.
> >>
> 
> You could of course trigger this from either the mount or hourly.
> Anytime you mount the drive or every hour systemd will run the
> service, and the service will see if it managed to do a backup/etc in
> the last day/week/whatever, and then run if appropriate.

As you might have noticed via my thread on gentoo-user, I am trying to solve the
underlying problem first before revisiting this.

Just as a summary for those not following gentoo-user: initially, the external
HDD is incorrectly detected as having 512 byte logical blocks.  After
unplugging it and plugging it back in, it is detected as having 4096 byte
logical blocks, after which it can be mounted.  See the thread here:
http://archives.gentoo.org/gentoo-user/message/5677e2044aba73c5ac046a2a634f801a.

Greetings
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

Attachment: pgpK99WRDYpV2.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to