Live data from Hacker News

Coreutils for Windows

github.com

11–20 of 260 posts

Re: Coreutils for Windows

#11

In the intentionally dropped section, it lists shed as "Not particularly useful on Windows." Does anyone know why? Is thre already a shred-like command in Windows?

From shred man:

The shred command relies on a crucial assumption: that the file system and hardware overwrite data in place.

...

many modern file system designs do not satisfy this assumption. Exceptions include:

...

Log-structured or journaled file systems, such as.

...

NTFS.

Re: Coreutils for Windows

#12
> Several commands share names with built-ins in CMD and PowerShell. Whether the Coreutils version runs depends on the shell, the PATH order, and (for PowerShell) the alias table.

Well this is not very satisfying, what about proving a way where it actually works without us having to guess where the failure root cause happens to be?

Re: Coreutils for Windows

#13

In the intentionally dropped section, it lists shed as "Not particularly useful on Windows." Does anyone know why? Is thre already a shred-like command in Windows?

From shred man: The shred command relies on a crucial assumption: that the file system and hardware overwrite data in place. ... many modern file system designs do not satisfy this assumption. Exceptions include: ... Log-structured or journaled file systems, such as. ... NTFS.

I think SSDs also randomize where data ends up? But I'm not sure if that's true for existing files too.

Re: Coreutils for Windows

#18
A fair question is why this fork of coreutils is required when the original Rust rewrite (https://github.com/uutils/coreutils/) supports Windows, in addition to Linux, macOS and wasm.

The reason seems to be a few windows specific fixes (https://github.com/uutils/coreutils/compare/main...microsoft...) which can probably be upstreamed into the main repo.

Post reply on HN