coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

[Documentation] Replacing individual entries with uutils?

Open rubyFeedback opened this issue 2 years ago • 1 comments

Background: I recently semi-broke my laptop because coreutils "mount" was not working at all when I did a few changes.

I got busybox so I can remount the hdd.

Would it be possible to use uutils, a statically compiled variant, but of "mount"? I'd love to use that if that is possiblebut I don't know whether it is possible. If it is possible, could you perhaps add a section about this to the main README?

rubyFeedback avatar Dec 10 '22 02:12 rubyFeedback

First of all, mount is not in the coreutils. It's from the util-linux package instead, for which we don't have an alternative. However, if you want to replace a single util like ls, you can follow the instructions to build from source with GNU make: https://uutils.github.io/user/build.html#gnu-make-1, or go to the subdirectory of ls (src/uu/ls) and run cargo install . or even easier, run cargo install uu_ls, because each util is published as a separate crate with a uu_ prefix.

tertsdiepraam avatar Dec 10 '22 09:12 tertsdiepraam