On Sat, 19 Oct 2019 at 12:01, Sam Ruby <ru...@intertwingly.net> wrote:
>
> On Sat, Oct 19, 2019 at 5:00 AM sebb <seb...@gmail.com> wrote:
> >
> > Also /srv is actually a link to /x1/srv on Ubuntu, so potentially it
> > could be changed in stages?
>
> There is no /srv directory.  There is no /x1 directory.  And neither
> can be created.  There are two volumes.  The root volume is read only.
> /System/Volumes/Data is read write.
>
> $ df
> Filesystem    512-blocks      Used  Available Capacity iused
> ifree %iused  Mounted on
> /dev/disk1s5  1953595632  21525144 1596741216     2%  481690
> 9767496470    0%   /
> devfs                405       405          0   100%     712
> 0  100%   /dev
> /dev/disk1s1  1953595632 325337392 1596741216    17% 2170102
> 9765808058    0%   /System/Volumes/Data
> /dev/disk1s4  1953595632   6293544 1596741216     1%       4
> 9767978156    0%   /private/var/vm
> map auto_home          0         0          0   100%       0
> 0  100%   /System/Volumes/Data/home
>
> $ ls -al /
> total 9
> drwxr-xr-x  23 root  admin   736 Oct 18 10:24 .
> drwxrwxrwx   3 root  wheel    96 Sep  7 12:05 .%cb_defense
> drwxr-xr-x  23 root  admin   736 Oct 18 10:24 ..
> -rw-rw-r--   1 root  admin     0 Aug 24 18:20 .DS_Store
> lrwxr-xr-x   1 root  admin    36 Oct 11 14:53 .VolumeIcon.icns ->
> System/Volumes/Data/.VolumeIcon.icns
> ----------   1 root  admin     0 Aug 24 18:20 .file
> drwx------  11 root  admin   352 Oct 18 10:29 .fseventsd
> drwxr-xr-x   2 root  wheel    64 Aug 24 18:20 .vol
> drwxrwxr-x+ 30 root  admin   960 Oct 18 23:14 Applications
> drwxr-xr-x  68 root  wheel  2176 Oct 18 10:26 Library
> drwxr-xr-x@  8 root  wheel   256 Sep 29 16:23 System
> drwxr-xr-x   6 root  admin   192 Sep 29 16:22 Users
> drwxr-xr-x   3 root  wheel    96 Oct 18 22:11 Volumes
> drwxr-xr-x@ 38 root  wheel  1216 Sep 29 16:28 bin
> drwxr-xr-x   2 root  wheel    64 Aug 24 18:24 cores
> dr-xr-xr-x   3 root  wheel  4541 Oct 18 10:29 dev
> lrwxr-xr-x@  1 root  admin    11 Oct 11 14:46 etc -> private/etc
> lrwxr-xr-x   1 root  wheel    25 Oct 18 10:30 home -> 
> /System/Volumes/Data/home
> drwxr-xr-x   4 root  wheel   128 Oct 11 14:59 opt
> drwxr-xr-x   6 root  wheel   192 Oct 18 10:25 private
> drwxr-xr-x@ 64 root  wheel  2048 Oct 11 14:53 sbin
> lrwxr-xr-x@  1 root  admin    11 Oct 11 14:53 tmp -> private/tmp
> drwxr-xr-x@ 11 root  wheel   352 Oct 11 14:53 usr
> lrwxr-xr-x@  1 root  admin    11 Oct 11 14:53 var -> private/var
>
> I can't seem to make a /home/whimsy directory (" Operation not
> supported"),

That may be possible if you mount a container over it (assuming /home is empty).

If /home now contains HOME directories, maybe try creating a whimsy user?

> but I can make a /var/whimsy directory.  Perhaps on
> Ubuntu we could make ./var/whimsy a symlink to /x1/xrv and then
> migrate to that?

+1
Hopefully less likely that /var/whimsy will ever be reserved, or /var
itself restricted or renamed...

> Sam Ruby

Reply via email to