On 2026-09-17 17:35, Kevin wrote:
On Thu, Sep 17, 2026 at 12:12 PM Sylvain Saboua <[email protected]>
wrote:
On my server I allocated 230GB on the SSD for
the /var/www fstab directory.
But most of my relevant data files will be on a
single 16TB HDD partition mounted on the /mnt
directory.
Say I wish to use nextcloud or otherwise make a
web server mirror of my sftp server: is there a
straightforward way to serve files located on
the /mnt partition ?
Have you considered just changing the chroot to point to your other
directory?
Alas, I ALSO have a public website as well as gotwebd(8) using httpd(8).
See the previous email in response to Ingo.
We do this on a directory that's grown from "Large" to "Of Biblical
Proportion" in size where we plain ran out of space in /var.
The solution was:
1. Add another virtual disk thanks to the beauty of vmd and
Ah ! I actually wanted to take a closer look at OpenBSD virtualisation.
2. Move the chroot to the new disk.
Sounds like your situation is similar?
It does. I need to manread, please don't hesitate to indicate
relevant manpages/sections. You're giving me an idea now, also
in relation to the previous email, where I could create several
virtual disk images on the same 16TB disk, to be used for different
services. This is just a passing thought, not sure it's *that* relevant.
From man httpd.conf:
chroot directory
Set the chroot(2) directory. If not specified, it
defaults to
/var/www, the home directory of the www user.
I don't think I can set chroot directories /per-process/ ?
I.e. having different httpd(8)'s spawned with different chroot
directories ...
that would have been the most straight forward solution.
--
Sylvain Saboua
looking for a PDP-11