:: Re: [DNG] I've got the automounter …
Top Pagina
Delete this message
Reply to this message
Auteur: Didier Kryn
Datum:  
Aan: dng
Onderwerp: Re: [DNG] I've got the automounter running
Le 28/12/2015 14:29, Simon Hobson a écrit :
> Didier Kryn<kryn@???> wrote:
>
>> >There remains a fundamental problem with automatic mount/umount. While automounting is safe, auto-unmounting is not if it is triggered by device removal.
>> >Unmounting must be done*before* removing the device if anything has been written to it, otherwise data is lost and the filesystem may be corrupted; also running applications with open files in the mountpoint can broken.
> Indeed
>
>> >auto-unmounting is not if it is triggered by device removal.
> But there is a slight issue in that if the user has yanked the drive, there isn't much you can do about it. Short of having precognition so you know in advance, or modifying all hardware to support locking the drive in, once the drive is disconnected then you have no options - other than to tell the user off.


For this reason, the automounter package should provide a command for
the user to "safely remove the devices". Not providing it would suggest
the user that removing the device right away is harmless and is the
normal way.

     Didier