Live data from Hacker News

Swapping GNU coreutils for uutils coreutils on Gentoo Linux

joshmcguigan.com

1–10 of 134 posts

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#2
No, please don't! At least, not if you aren't equipped to handle the fallout yourself and not until these tools are further refined!

I'm a fish-shell developer and I just dealt with a user that was getting bizarre test failures. Turns out the developers didn't account for basic things like the normalcy of `cat` having its output fd closed mid-stream (e.g. you are piping cat to something and that something exits before cat does) and their vesrion bails with an exception dumped to stderr instead of silently closing with a non-zero exit code.

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#3
> This Gentoo setup has /bin, /sbin, /usr/bin, and /usr/sbin all merged.

I hope this isn't going to be the norm in the future, but Gentoo has been making my life difficult for years as it is... it's as if the developers don't test or use what they are forcing on everyone.

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#4

No, please don't! At least, not if you aren't equipped to handle the fallout yourself and not until these tools are further refined! I'm a fish-shell developer and I just dealt with a user that was getting bizarre test failures. Turns out the developers didn't account for basic things like the normalcy of `cat` having its output fd closed mid-stream (e.g. you are piping cat to something and that something exits befor…

It’s somewhat inevitable that something will try to replace the C implementation of coreutils. Hopefully uutils will fix whichever bugs are reported upstream to lower the compatibility load though

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#5

> This Gentoo setup has /bin, /sbin, /usr/bin, and /usr/sbin all merged. I hope this isn't going to be the norm in the future, but Gentoo has been making my life difficult for years as it is... it's as if the developers don't test or use what they are forcing on everyone.

They might as well rename it C:/Linux/System32 while they're at it.

The separate paths were originally done for reasons but since you can't install a mainstream distro with Linux is becoming less and less like UNIX every day.

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#6

> This Gentoo setup has /bin, /sbin, /usr/bin, and /usr/sbin all merged. I hope this isn't going to be the norm in the future, but Gentoo has been making my life difficult for years as it is... it's as if the developers don't test or use what they are forcing on everyone.

They might as well rename it C:/Linux/System32 while they're at it. The separate paths were originally done for reasons but since you can't install a mainstream distro with Linux is becoming less and less like UNIX every day.

The original history behind a lot of original UNIX directory structure is engineers running out of disk space on a PDP-11 50 years ago and shuffling things around to keep the system operating. Other reasoning has been piled on top over the years.

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#7

> This Gentoo setup has /bin, /sbin, /usr/bin, and /usr/sbin all merged. I hope this isn't going to be the norm in the future, but Gentoo has been making my life difficult for years as it is... it's as if the developers don't test or use what they are forcing on everyone.

What issues have you experienced due to the merging of those directories?

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#8

No, please don't! At least, not if you aren't equipped to handle the fallout yourself and not until these tools are further refined! I'm a fish-shell developer and I just dealt with a user that was getting bizarre test failures. Turns out the developers didn't account for basic things like the normalcy of `cat` having its output fd closed mid-stream (e.g. you are piping cat to something and that something exits befor…

It’s somewhat inevitable that something will try to replace the C implementation of coreutils. Hopefully uutils will fix whichever bugs are reported upstream to lower the compatibility load though

At least it's somewhat possible to reliably test behavior of these against GNU coreutils. Pull down some archaic C++ project with a pile of janky shell scripts involved in the build (Chromium might be a good target) and compare final results.

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#9
post #7

> This Gentoo setup has /bin, /sbin, /usr/bin, and /usr/sbin all merged. I hope this isn't going to be the norm in the future, but Gentoo has been making my life difficult for years as it is... it's as if the developers don't test or use what they are forcing on everyone.

What issues have you experienced due to the merging of those directories?

That would imply that I've drank the Fedora/FDO/systemd Kool-Aid and trashed a perfectly working FHS. I have no interest in wasting the time trying to conform to their nonsense.

Re: Swapping GNU coreutils for uutils coreutils on Gentoo Linux

#10
post #6

Earlier quoted context omitted.

They might as well rename it C:/Linux/System32 while they're at it. The separate paths were originally done for reasons but since you can't install a mainstream distro with Linux is becoming less and less like UNIX every day.

The original history behind a lot of original UNIX directory structure is engineers running out of disk space on a PDP-11 50 years ago and shuffling things around to keep the system operating. Other reasoning has been piled on top over the years.

Yes, and undoing this means it's no longer UNIX as it will no longer run on that PDP-11! (Unless you can afford a bigger disk I guess.)
Post reply on HN