fixed ramdisk working for freebsd