Mounting swap device on iscsi target

BERTRAND Joël joel.bertrand at systella.fr
Sun Jan 17 18:43:23 UTC 2021


Eugene Grosbein a écrit :
> 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.

	I don't understand your answer. I have configured this workstation a
long time ago and I have read this manual page to write its
configuration. My question was : how create two ramdisks, one for
/var/at, the second for /var/run in /etc/rc.conf ? I suppose I can write
a script in /etc/rc.d, but I'm pretty sure somebody use diskless FreeBSD
workstation also.

	JKB


More information about the freebsd-hackers mailing list