Directory Set Copying for Side-Effect Free Operation Testing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Operation testing of host systems often causes unintended side effects, especially when performed with privileged access, and existing methods like container technologies require significant time, disk space, and resources.
Innovation Solution
A method involving preparing a copy of a host system disk directory set, creating links to files in the copied directory, and starting a non-privileged system using the disk image, which allows for operation testing without affecting the host system and reducing resource usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Object-affected harmful factors
If container technologies are used to isolate the execution environment, then side effects are prevented, but time and disk space consumption increase significantly
Solution Approach 1:
The patent creates a copy of the host system directory set and establishes links to files within this copied structure. This allows the test execution environment to operate on a replicated file system without modifying the original host system, thereby preventing side effects while avoiding the overhead of full containerization. The link mechanism enables efficient access to file contents without duplicating entire file systems.
Solution Approach 2:
The patent extracts only the necessary directory set from the host system to create a minimal test environment. Instead of using full container images that require significant resources, the invention isolates and copies only the specific directory structure needed for testing, reducing both time and disk space requirements while maintaining side-effect prevention.
2Object-affected harmful factors
If container technologies are used to isolate the execution environment, then side effects are prevented, but disk space consumption increases significantly
Solution Approach 1:
The patent creates a copy of the host system directory set and establishes links to files within this copied structure. This allows the test execution environment to operate on a replicated file system without modifying the original host system, thereby preventing side effects while avoiding the overhead of full container images. The link mechanism enables efficient access to file contents without duplicating entire file systems.
Solution Approach 2:
The patent extracts only the necessary directory set from the host system to create a minimal test environment. Instead of using full container images that require significant resources, the invention isolates and copies only the specific directory structure needed for testing, reducing both time and disk space requirements while maintaining side-effect prevention.
3Adaptability or versatility
If privileged access is used for operation testing, then comprehensive testing capability is achieved, but side effects on the host system occur
Solution Approach 1:
The patent creates a copy of the host system directory set and establishes links to files within this copied structure. This allows the test execution environment to operate on a replicated file system without modifying the original host system, thereby preventing side effects while avoiding the overhead of full containerization. The link mechanism enables efficient access to file contents without duplicating entire file systems.
Solution Approach 2:
The copied directory set with file links acts as an intermediary layer between the test execution and the host system. This intermediary allows comprehensive testing operations to be performed on the copied structure while preventing direct modification of the host system files, thus eliminating side effects while maintaining testing versatility.
Data Source
AI summary
Operation testing without side effects may be enabled by a method including preparing a copy of a directory set of at least a part of a host system disk, creating a link to a file in a first directory in the host system disk, in a second directory of the copy of the directory set, wherein the second directory corresponds in position to the first directory in the directory set, and starting a non-privileged system using a disk image including the copy of the directory set and the created link.


