FreeBSD-11 - /etc/fstab
James B. Byrne
byrnejb at harte-lyne.ca
Tue Mar 14 19:06:11 UTC 2017
I am experimenting with installing iDempiere on a jail called
hllidempiere created with ezjail. As part of the prerequisites
OpenJDK is required. When installed in the jail the OpenJDK pkg says
this:
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.
If you have not done it yet, please do the following:
mount -t fdescfs fdesc /dev/fd
mount -t procfs proc /proc
To make it permanent, you need the following lines in /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
Now, there is no /etc/fstab in the jail itself. However on the host
system there exists: /etc/fstab.hllidempiere. Checking
/usr/local/etc/ezjail/hllidempiere I see that these flags are set:
export jail_hllidempiere_mount_enable="YES"
export jail_hllidempiere_devfs_enable="YES"
export jail_hllidempiere_devfs_ruleset="devfsrules_jail"
export jail_hllidempiere_procfs_enable="YES"
export jail_hllidempiere_fdescfs_enable="YES"
So, I believe that I should be able to perform the requisite file
system mounts. What I am not clear on is how to add these file systems
to the jail's fstab so that they are automatically mounted whenever
the jail starts. I attempted to add these commands to
/etc/fstab.hllidempiere but this had no evident effect.
How is this done?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the freebsd-questions
mailing list