[arch-general] BTRFS scrub from systemd unit

Sean Greenslade sean at seangreenslade.com
Wed Mar 19 21:40:00 EDT 2014


On Thu, Mar 20, 2014 at 01:06:18AM +0000, Mauro Santos wrote:
> On 20-03-2014 00:41, Sean Greenslade wrote:
> > Hi, folks. I've been noodling over this rather odd issue I've been
> > having, and I thought I'd get a second opinion on things. 
> > <SNIP>
> > So I'm stumped, here. Anyone have any clue as to what's happening?
> > 
> > Thanks,
> > 
> > --Sean
> > 
> 
> Just a guess but you might want to change the unit type to simple
> instead of oneshot.
> 
> -- 
> Mauro Santos

I thought of that, but it just does the same thing. The scrub command
returns after forking(?) back the real scrub process. Now, maybe if
someone has a clever way of making the service detect when the scrub
finishes, I could do a remainafterexit unit, but I can't see a way to do
that.

--Sean


More information about the arch-general mailing list