Linux constructs a test environment with full disk space. It uses the ramdisk Of The suse operating system to mount the virtual disk partition, and then fills up the virtual disk partition to meet the condition that the disk is full. Www.2cto.com ramdisk is a memory block device that comes with the operating system, you can use ls/dev/ram * to list the devices. # ls/dev/ram */dev/ram/dev/ram1/dev/ram3/dev/ram5/dev/ ram7/dev/ram0/dev/ram2/dev/ram4/dev/ram6/dev/ramdisk select an unused ramdisk, assume ram2 and create a file system for it. mkfs. in the next step, run ext3/dev/ram2 in the same directory as a common file system. Then, mount it to the directory # mkdir/tmp/fs # mount/dev/ram2/tmp/fs. Next, link the software files and directories that require writing exceptions to the virtual disk partition. Under/tmp/fs, try to fill up/tmp/fs (for example, use the dd command to generate a large file .), you can perform an exception test without affecting the use of The suse system. By default, the size of a ramdisk is 128 MB. In most cases, you only need to properly use the symbolic link to meet the requirements. this method can be used to quickly solve the environment problem of full disk test.