Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2023 15:57:30 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        Mike Karels <karels@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 108230743472 - main - pwd.1: replace /home with /sys in example
Message-ID:  <20230523175730.55eba02d@ernst.home>
In-Reply-To: <202305231224.34NCOJYg017621@gitrepo.freebsd.org>
References:  <202305231224.34NCOJYg017621@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 May 2023 12:24:19 GMT
Mike Karels <karels@FreeBSD.org> wrote:

> The branch main has been updated by karels:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=3D108230743472b8b4b38c9b858=
088ab5059a1dddd
>
> 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.
>

These files under /usr/src also include "/usr/home" in their contents:

./contrib/dialog/samples/form1-utf8
./contrib/dialog/samples/passwordform1-utf8
./contrib/libarchive/libarchive/test/test_write_format_ar.c
./contrib/libxo/libxo/libxo-csv.7
./sbin/bectl/bectl.8
./sbin/mksnap_ffs/mksnap_ffs.8
./share/examples/diskless/README.TEMPLATING
./tests/sys/opencrypto/cryptodev.py
./usr.sbin/bsdconfig/usermgmt/include/usermgmt.hlp <=3D=3D this one has
"/usr/home/ or /home/"  in it

Not sure whether the files under contrib need to be fixed.

>     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 ,
>


=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230523175730.55eba02d>