https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279308

--- Comment #12 from Michael Proto <m...@jellydonut.org> ---
(In reply to Xin LI from comment #10)

Not opining on the TRIM-as-default situation, but in regards to using md disks
over tmpfs I have one that I use regularly-- remote root-FS maintenance. I can
use a memory-backed md disk with "reboot -r" to ensure continuity of a memory
disk while rerooting a system.


  ** connect to a host via ssh

mdmfs -s 16g md /mnt
  ** creates a 16g disk as /dev/md0
cd /mnt
dump -0Laf - / | restore rf -
umount /dev/md0
kenv vfs.root.mountfrom="ufs:/dev/md0"
reboot -r

  ** reconnect to the host via ssh


Now I can do maintenance on the root-FS on the host remotely. This won't work
with tmpfs as the file system disappears as soon as it is unmounted.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to