• olf's avatar
    Ensure to always cleanly unmount · 14b7e8e8
    olf authored
    Ensure to always cleanly unmount (e.g., on shutdown) in mount-sd-service
    by adding After=udisks2.service, Requires=udisks2.service and an
    unconditional ExecStop= (by removing the "-" appended). This change has
    been evaluated and tested for a year per mount-sdcard [1][2].
    
    Note: Requisite (of dev-%i.device) should behave the same as BindsTo
    except on certain failures with layered devices such as USB memory card
    reader (UMS + memory card interface). However that should not be a
    significant difference otherwise.
    
    [1] https://github.com/Olf0/mount-sdcard
    [2] https://openrepos.net/content/olf/mount-sdcard
    14b7e8e8
Name
Last commit
Last update
rpm Loading commit data...
udisks2 @ 05ae471b Loading commit data...
.gitmodules Loading commit data...
README.md Loading commit data...