Skip to content
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

Add ln -t #143

Closed
wants to merge 1 commit into from
Closed

Add ln -t #143

wants to merge 1 commit into from

Conversation

@E5ten
Copy link
Contributor

E5ten commented Sep 29, 2019

No description provided.

@landley

This comment has been minimized.

Copy link
Owner

landley commented Sep 30, 2019

What's your use case here?

I ask because you're the first person to want this flag. It's not in posix (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ln.html (or LSB https://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html) and busybox is 20 years old and still doesn't have this flag, presumably because nobody's ever asked them for it?

I'm happy to add features people need, but filling them in just because they're not there is "infrastructure in search of a user". (If a user for such a thing ever does show up, there's no guarantee the feature meets their needs, and it's gone untested in the tree for long enough it may have bit-rotted anyway as the context of the project (and kernel, and libc, and compiler) shifted under it.

Since it's just as easy to add the thing later when there's a real user to provide immediate feedback, I kinda want to know the use case so I can at least add a real-world-inspired test to the test suite.

@E5ten

This comment has been minimized.

Copy link
Contributor Author

E5ten commented Sep 30, 2019

It's used by my distro for this: https://git.archlinux.org/svntogit/packages.git/tree/trunk/update-ca-trust?h=packages/ca-certificates and it's used within the build system for iwd. I can't think of other specific examples off the top of my head but I'm pretty sure there have been 1 or 2 other scripts that make use of it that I either had to modify or not use because of the -t use. At the moment I rebuild the package above locally with a modification to the script to not use -t but I'd prefer to just be able to use it as provided.

@E5ten E5ten closed this Sep 30, 2019
@landley

This comment has been minimized.

Copy link
Owner

landley commented Sep 30, 2019

Applied 14f5f89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.