8000 uname: hide processor and hwplatform options by LevitatingBusinessMan · Pull Request #3537 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

uname: hide processor and hwplatform options #3537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2022

Conversation

LevitatingBusinessMan
Copy link
Contributor

fixes #2041

See my comment here: #2041 (comment)

I think this is the best solution to the -p and -i flags in uname, which have been deprecated for a while and aren't supported in most implementations of uname. All other options come from this function as part of the kernel.

With this solution these options don't show up in the help page of the program, or the -a output.

Some Linux distributions like Debian have already removed these options completely. This is unlikely to break any scripts as discussed here.

@tertsdiepraam
Copy link
Member

I was skeptical of this change at first, but after reading the thread on the mailing list, I think this makes a lot of sense, especially because it doesn't break backwards compatibility. Thanks for investigating this!

@tertsdiepraam tertsdiepraam merged commit 57072dd into uutils:main May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uname processor and hwplatform
2 participants
0