FreeBSD user home directory
Mark Millard
markmi at dsl-only.net
Wed Jul 20 21:21:26 UTC 2016
Russell Haley russ.haley at gmail.com wrote on Wed Jul 20 20:55:25 UTC 2016:
> However in the arm instance there are no symlinks in either direction
. . .
> Which seems to me to still be in error as there are now TWO home directories.
My rpi2 (long following 11.0-CURRENT via periodic updates via source builds and now 11.0-STABLE) still has no /home (not even as a symbolic link) but does have a /usr/home . (FYI: I use mergemaster.)
# ls -l /
total 701781
-rw-r--r-- 1 root wheel 955 Jul 8 02:57 .cshrc
-rw-r--r-- 1 root wheel 247 Jul 8 02:58 .profile
drwxrwxr-x 2 root operator 512 Jan 7 2016 .snap
-r--r--r-- 1 root wheel 6195 Jul 8 02:58 COPYRIGHT
drwxr-xr-x 2 root wheel 1024 Jul 8 17:04 bin
drwxr-xr-x 10 root wheel 1024 Jul 8 17:17 boot
dr-xr-xr-x 18 root wheel 512 Jul 8 17:17 dev
-rw-r--r-- 1 root wheel 4096 Jul 8 17:17 entropy
drwxr-xr-x 25 root wheel 2560 Jul 16 01:26 etc
drwxr-xr-x 4 root wheel 1536 Jul 8 17:04 lib
drwxr-xr-x 3 root wheel 512 Jul 8 17:04 libexec
drwx------ 2 root wheel 512 Jan 7 2016 lost+found
drwxr-xr-x 2 root wheel 512 Jan 24 21:35 media
drwxr-xr-x 19 root wheel 512 Jan 24 21:35 mnt
dr-xr-xr-x 2 root wheel 512 Jan 24 21:35 proc
drwxr-xr-x 2 root wheel 2560 Jul 8 17:04 rescue
-rw------- 1 root wheel 47116148 Jan 7 2016 restoresymtable
drwxr-xr-x 13 root wheel 1536 Jul 17 16:46 root
drwxr-xr-x 2 root wheel 2560 Jul 8 17:04 sbin
-rw------- 1 root wheel 2147483648 Jan 7 2016 swapfile0
lrwxr-xr-x 1 root wheel 11 Jul 8 02:57 sys -> usr/src/sys
drwxrwxrwt 12 root wheel 512 Jul 20 03:11 tmp
drwxr-xr-x 15 root wheel 512 Jul 8 17:16 usr
drwxr-xr-x 25 root wheel 512 Jul 8 17:17 var
# ls -l /usr
total 80
drwxr-xr-x 2 root wheel 8704 Jul 8 17:05 bin
drwxr-xr-x 3 root wheel 512 Dec 1 2015 home
drwxr-xr-x 54 root wheel 6656 Jul 8 17:07 include
drwxr-xr-x 10 root wheel 15872 Jul 8 17:05 lib
drwxr-xr-x 6 root wheel 512 Jan 24 21:35 libdata
drwxr-xr-x 8 root wheel 1536 Jul 8 17:04 libexec
drwxr-xr-x 17 root wheel 512 Jan 24 21:35 local
drwxr-xr-x 6 root wheel 512 Jan 24 21:35 obj
drwxr-xr-t 71 root wheel 2048 Jul 12 01:43 ports
drwxr-xr-x 2 root wheel 5120 Jul 8 17:06 sbin
drwxr-xr-x 33 root wheel 1024 Mar 20 16:26 share
drwxr-xr-x 24 root wheel 1024 Jan 24 21:35 src
drwxr-xr-x 15 root wheel 512 Jul 8 17:04 tests
So I'm not sure how you got a /home created.
Side note to avoid the above making a bad suggestion: /swapfile0 is not in use because the last time that I tied file based swapping it was not reliable: the system can hang. (Bugzilla submittal 206048 was made. The issue is not arm specific, with a comment added about an arm64 virtualbox client example at the time.) I've a separate partition that is used for swapping.
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-arm
mailing list