1

I'm trying to configure jails with this tutorial.

Since I don't want to use ZFS, could anyone tell me the UFS equivalent of

zfs create -o mountpoint=/local/jails zpool/jails
chmod 700 /local/jails && chown root:wheel /local/jails

Thank you.

5

It is effectively creating a directory /local/jails so simplistically the following could be considered equivalent:

mkdir -p /local/jails

However, this will create the directory path in the root file system, so you need to ensure that this file system is big enough.

Some UFS installations use different partitions (or slices) for / and /usr, so / may be relatively small compared to /usr. You can use the df and/or mount commands to determine if your system is partitioned this way.

In short, you may be advised to use the default location for jails (as mentioned in your tutorial) which is /usr/jails.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.