usually creating RAM disks works with the following commands
hdid -nomount ram://<blocksize>
Returns, for example. / Dev / disk 2 Then I formatted the disk, say
newfs_hfs /dev/disk2
and then install it:
mount -t hfs /dev/disk2 /some/mount/target
This procedure does not work with APFS. I am in High Sierra beta 9. The mount command does not display any errors, but the path is not mounted.
In my case, upon completion of the command hdid
, newfs_apfs -i /dev/disk2
gives
nx_kernel_mount:1364: checkpoint search: largest xid 1, best xid 1 @ 1
nx_kernel_mount:1422: sanity checking all nx state... please be patient.
spaceman_metazone_init:278: no metazone for device 0, of size 209715200 bytes, block_size 4096
apfs_newfs:18075: FS will NOT be encrypted.
When I enter mount -t apfs /dev/disk2 /some/target/path
, then the mount commands work for 2 seconds, give no output, and mount was not successful.
Can someone tell me how to actually make an apfs std ram disk does it work ?: P
PS: - diskutil partitionDisk /dev/disk2 GPT APFS myvolumename 0b
, /Volumes/myvolumename
, (disk3
), !