Greetings everyone.
I want to create a memory disk for testing purpose automatically every-time I launch my FreeBSD workstation. Everything I have tried has failed. But it comes probably from me since I am a totally beginner at using cron. Here is what I have done until here :
-Created a folder name ramdisk.
-Added this line to my /etc/rc.conf :
-And finally added this one to my /etc/crontab :
My goal is to have my ramdisk available at launch, cron maybe a way but if anyone have another way to achieve this or to fix my cron problem it would be nice !
Thanks everyone for any future responses.
PS : I am using ZFS, maybe this can be a useful infromation ...
I want to create a memory disk for testing purpose automatically every-time I launch my FreeBSD workstation. Everything I have tried has failed. But it comes probably from me since I am a totally beginner at using cron. Here is what I have done until here :
-Created a folder name ramdisk.
-Added this line to my /etc/rc.conf :
cron_enable="YES"
-And finally added this one to my /etc/crontab :
@reboot root /sbin/mdmfs -n -p 777 -s 32G md /ramdisk
My goal is to have my ramdisk available at launch, cron maybe a way but if anyone have another way to achieve this or to fix my cron problem it would be nice !
Thanks everyone for any future responses.
PS : I am using ZFS, maybe this can be a useful infromation ...