gfleury, le sam. 18 janv. 2025 13:10:20 +0200, a ecrit:
> This fixes a bug related to `cp /dev/null file`, where you would encounter an
> error like:
> `skipping file /dev/null as it was replaced while being copied`.
>
> I reduced the `st_blksize` to one page, as it is on GNU/Linux, and added a
---
sutils/MAKEDEV.sh | 2 +-
trans/null.c | 56 +--
2 files changed, 55 insertions(+), 3 deletions(-)
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index 7c35fd7..8c67d61 100644
--- a/sutils/MAKEDEV.sh
+++ b/sutils/MAKEDEV.sh
@@ -140,7 +140,
This fixes a bug related to `cp /dev/null file`, where you would encounter an
error like:
`skipping file /dev/null as it was replaced while being copied`.
I reduced the `st_blksize` to one page, as it is on GNU/Linux, and added a
persistent inode `st->st_rdev`.
In `sutils/MAKEDEV.sh`, I simply