Files
zyedidia.micro/internal
Jöran Karl 165a5a4896 save: Use dd with the notrunc & fsync option
Using notrunc  will stop the overall truncation of the target file done by sudo.
We need to do this because dd, like other coreutils, already truncates the file
on open(). In case we can't store the backup file afterwards we would end up in
a truncated file for which the user has no write permission by default.
Instead we use a second call of `dd` to perform the necessary truncation
on the command line.
With the fsync option we force the dd process to synchronize the written file
to the underlying device.
2025-08-06 20:13:36 +02:00
..
2025-07-11 11:21:40 +02:00
2025-07-11 11:21:40 +02:00
2025-02-28 18:57:53 +01:00
2025-04-26 18:11:19 +01:00