Comment 6 for bug 1354543

Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: [Bug 1354543] mediascanner fails to watch removable devices if/media/$USER doesn't exist when starting

On lunes 11 de agosto de 2014 05h'04:19 ART, Jussi Pakkanen wrote:
> The core question is why does not /media/$USER exist when Mediascanner
> is starting? It does exist on the desktop. Could this be a timing issue
> or is the configuration completely different?

/media is created as a temp filesystem and udisks2 only creates the full
path on first mount.

The desktop has a persistent filesystem, so the rule is probably the same
and would only fail for the first time after a new install. We also don't
have udisks (sans 2) on the phone.

I just tested on desktop by creating a new user and /media/$USER doesn't
exist until I first mount something; of course, this is hidden by the
persistence and long term desktop use.