git: 108230743472 - main - pwd.1: replace /home with /sys in example
Date: Tue, 23 May 2023 12:24:19 UTC
The branch main has been updated by karels: URL: https://cgit.FreeBSD.org/src/commit/?id=108230743472b8b4b38c9b858088ab5059a1dddd commit 108230743472b8b4b38c9b858088ab5059a1dddd Author: Mike Karels <karels@FreeBSD.org> AuthorDate: 2023-05-23 12:21:50 +0000 Commit: Mike Karels <karels@FreeBSD.org> CommitDate: 2023-05-23 12:21:50 +0000 pwd.1: replace /home with /sys in example The default location for home directories is moving from /usr/home to /home, and the /home symlink will no longer exist. Switch to another example that is in base, /sys. Reviewed by: fernape Differential Revision: <https://reviews.freebsd.org/D40204 --- bin/pwd/pwd.1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/pwd/pwd.1 b/bin/pwd/pwd.1 index 2c27fcff9467..a6b62f7a595b 100644 --- a/bin/pwd/pwd.1 +++ b/bin/pwd/pwd.1 @@ -32,7 +32,7 @@ .\" @(#)pwd.1 8.2 (Berkeley) 4/28/95 .\" $FreeBSD$ .\" -.Dd October 24, 2020 +.Dd May 22, 2023 .Dt PWD 1 .Os .Sh NAME @@ -78,20 +78,20 @@ Logical current working directory. Show current working directory with symbolic links resolved: .Bd -literal -offset indent $ /bin/pwd -/usr/home/fernape +/usr/src/sys/kern .Ed .Pp Show the logical current directory. Then use .Xr file 1 to inspect the -.Pa /home +.Pa /sys directory: .Bd -literal -offset indent $ /bin/pwd -L -/home/fernape -$ file /home -/home: symbolic link to usr/home +/sys/kern +$ file /sys +/sys: symbolic link to usr/src/sys .Ed .Sh SEE ALSO .Xr builtin 1 ,