HomeFreeBSD

ln: Improve link(1) variant of ln(1).

Description

ln: Improve link(1) variant of ln(1).

  • Give link(1) its own usage message.
  • Use getprogname(3) instead of rolling our own.
  • Verify that the target file does not already exist.
  • Add tests specific to link(1).

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D44635

Details

Provenance
desAuthored on Apr 4 2024, 2:14 PM
Reviewer
allanjude
Differential Revision
D44635: ln: Improve link(1) variant of ln(1).
Parents
rG8311bc5f17de: tmpfs: Improve file time tests.
Branches
Unknown
Tags
Unknown