s6-linux-utils
Software
skarnet.org

The s6-freeramdisk program

s6-freeramdisk frees the memory occupied by a RAM disk. Call it when your RAM disk is not in use anymore.

Interface

     s6-freeramdisk ramdisk-device