Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 19:43:06 +0100
From:      =?UTF-8?Q?BERTRAND_Jo=c3=abl?= <joel.bertrand@systella.fr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Mounting swap device on iscsi target
Message-ID:  <8ab80674-a54f-8720-93b9-8161a590c373@systella.fr>
In-Reply-To: <a1381846-4a35-4427-1d76-969e7407fde7@grosbein.net>
References:  <fe95f085-b516-f431-9bfd-6c4f9b63e900@systella.fr> <6a015119-1bd9-20a7-54ce-8ca9cbaadc23@grosbein.net> <0b3cada6-eaea-89ce-0f89-edd1f1f8e7a3@systella.fr> <a1381846-4a35-4427-1d76-969e7407fde7@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Eugene Grosbein a écrit :
> 17.01.2021 23:20, BERTRAND Joël wrote:
> 
>>>> root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ab80674-a54f-8720-93b9-8161a590c373>