Removes RAM disks created by the mkramdisk command.
rmramdisk ram_disk_name
The rmramdisk command removes the specified RAM disk and the device special files created for that RAM disk. RAM disks are also removed when the system is rebooted.
This command returns the following exit values:
| 0 | Successful completion. | 
| >0 | An error occurred. | 
     # ls -l /dev/*ramdisk2
     brw-------   1 root     system       38,  0 Aug 01 05:52 /dev/ramdisk2
     crw-------   1 root     system       38,  0 Aug 01 05:52 /dev/rramdisk2
To remove the ramdisk2, enter:
     # rmramdisk ramdisk2
     # ls -l /dev/*ramdisk2
     ls: 0653-341 The file /dev/*ramdisk2 does not exist.
| /usr/sbin/rmramdisk | Contains the rmramdisk command. | 
The mkramdisk command, and ls command.