[Server-devel] XS automount design

Daniel Drake dsd at laptop.org
Thu Jul 30 11:23:26 EDT 2009


2009/7/30 Martin Langhoff <martin.langhoff at gmail.com>:
> No, we encourage them to wait for the "done" bells. Let me explain.
>
>  - we don't have any scripts that write, but we will likely do, so
> mounting ro is not a good idea
>
>  - we're either mounting sync or with the "not-so-lazy async" that was
> introduced a few kernels ago, so the sync is not delayed
>
> Are you getting the "I'm done" bells properly?

Yes. However I don't think it's safe to unplug a rw-mounted filesystem
at an arbitrary time, even if sync is enabled.
We could either mount it ro, or we could mount rw but umount when done
(just before the 2nd set of bells).

> I don't know if usbmount is sane in the face of triggering the unmount
> from the mount-post-processing scripts.

I'll try :)

Daniel


More information about the Server-devel mailing list