| 1 | # The mount sequence |
| 2 | |
| 3 | FUSE mounting is a little bit tricky. There's a userspace helper tool |
| 4 | that performs the handshake with the kernel, and then steps out of the |
| 5 | way. This helper behaves differently on different platforms, forcing a |
| 6 | more complex API on us. |
| 7 | |
| 8 | ## Successful runs |
| 9 | |
| 10 | On Linux, the mount is immediate and file system accesses wait until |
| 11 | the requests are served. |
| 12 | |
| 13 |  |
| 14 | |
| 15 | On OS X, the mount becomes visible only after `InitRequest` (and maybe |
| 16 | more) have been served. |
| 17 | |
| 18 |  |
| 19 | |
| 20 | |
| 21 | ## Errors |
| 22 | |
| 23 | Let's see what happens if `InitRequest` gets an error response. On |
| 24 | Linux, the mountpoint is there but all operations will fail: |
| 25 | |
| 26 |  |
| 27 | |
| 28 | On OS X, the mount never happened: |
| 29 | |
| 30 |  |