aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Missing_automounts_block_every_command/comment_3_c7d5015db5aea0dd4d2ed67803ee9c92._comment
blob: a2dae9620c5472621f54af5248b874ff10f7fa7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[[!comment format=mdwn
 username="joey"
 subject="""comment 3"""
 date="2018-01-09T20:29:40Z"
 content="""
There would still be some cases where a git-annex command blocks somewhat
unexpectedly on the automount. 

For one, `git annex drop` can need to
check if content is in a remote, and so would block, despite not acting
directly on that remote. 

And, `git annex get` of a file that's located in
such an locally automounted remote and a network remote will
default to trying the local remote first, and so would block.

The cost of the automounted remote could be adjusted to make these commands
prefer some other remote, but then you've configured git-annex to not
use the automounted remote much, which is probably not what you really want
to do if it's a fast drive.

Of course, there are also ways to automount removable drives when they get
plugged in, rather than using automounts that block on access, and so
neatly avoid all blocking problems.
"""]]