Mounting swap device on iscsi target

Eugene Grosbein eugen at grosbein.net
Sun Jan 17 16:31:21 UTC 2021


17.01.2021 23:20, BERTRAND Joël wrote:

>>> root at pythagore:/var/log # df -h
>>> Filesystem                       Size    Used   Avail Capacity  Mounted on
>>> 192.168.10.128:/srv/pythagore    523G    221G    276G    44%    /
>>> devfs                            1.0K    1.0K      0B   100%    /dev
>>> procfs                           4.0K    4.0K      0B   100%    /proc
>>> fdescfs                          1.0K    1.0K      0B   100%    /dev/fd
>>> 192.168.10.128:/home             3.6T    2.4T    1.0T    71%    /home
>>
>> For diskless system, you better create in-memory tmpfs for /var/run directory
>> or for /var as a whole. Refer to rc.conf(5) manual page for "varmfs" setting.
> 
> 	If I have understood, varmfs creates whole /var. I have some troubles
> with /var/at also. How can I create a file system in memory for /var/run
> and /var/at ?

Read diskless(8) manual page, section CONFIGURATION.



More information about the freebsd-hackers mailing list