[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem mounting encrypted blu-ray disc or image



On Sun, 10 Jul 2022, Nicolas George wrote:

> fxkl47BF@protonmail.com (12022-07-10):
>> I'm just flapping my gums
>> As a systems administrator for UNIX systems I wrote more than a few scripts
>> Many time I found it necessary to put a sleep between operations
>> Several decades ago I was taught to type sync and then type sync again before unmounting a drive
>> The only reason I ever got was that the second sync was a time delay
>
> I do not know if it was ever useful at all or if it always was cargo
> cult, but I am quite sure it has not been any use on Linux in the last
> decade.

But I would not be able to sleep at night
I would have nightmares about corrupt data haunting me :)

>
> You can check for yourself: mount a slow USB stick, create file that is
> just large enough to fit in memory with something that you are sure will
> not make a (f)sync:
>
> head -c $[8*1024*1024] /dev/urandom > /media/blah/dummy
>
> Then unmount and see what happens.
>
> For extra benefit, start ?grep Dirty /proc/meminfo? in another terminal
> before you start and keep an eye on it.
>
> Regards,
>
> --
>  Nicolas George


Reply to: