CN100447747C - Method and device for exchanging NTFS partition data in Linux operating system and windows operating system - Google Patents

Method and device for exchanging NTFS partition data in Linux operating system and windows operating system Download PDF

Info

Publication number
CN100447747C
CN100447747C CNB2005101051552A CN200510105155A CN100447747C CN 100447747 C CN100447747 C CN 100447747C CN B2005101051552 A CNB2005101051552 A CN B2005101051552A CN 200510105155 A CN200510105155 A CN 200510105155A CN 100447747 C CN100447747 C CN 100447747C
Authority
CN
China
Prior art keywords
file
linux
virtual
partition
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005101051552A
Other languages
Chinese (zh)
Other versions
CN1940873A (en
Inventor
丁刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2005101051552A priority Critical patent/CN100447747C/en
Publication of CN1940873A publication Critical patent/CN1940873A/en
Application granted granted Critical
Publication of CN100447747C publication Critical patent/CN100447747C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method for exchanging NTFS partitioned data between Linux operation system and windows operation system includes setting up one or multiple blank file on certain NTFS partition under Linux or windows operation system based on NTFS partition finite access realized by kernel of existed Linux operation system, utilizing virtual partitioning technique to load set-up blank file to be one or multiple virtual partition under each own system to let top-level application program of each own system be able to realize complete access on partition under each own system .

Description

The method and the device of the NTFS partition data exchange of (SuSE) Linux OS and Windows operating system
Technical field
The present invention relates to the method for the exchanges data under the dual operating systems, particularly relate to the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system.
Background technology
Along with growing stronger day by day as the (SuSE) Linux OS of one of selection of server and workstation operating system, the advantage of (SuSE) Linux OS constantly reveals, the free software resource that it is powerful, the system environments that safety is virus-free, more and more attracting commercial user that security of system is had relatively high expectations and the individual pc user who cost performance is required harshness, but because some restrictions that Linux itself exists, as copyright problem, limited office, the entertainment software resource is obvious further as the existing limitation of the general-purpose operating system (particularly to individual pc user) of PC with (SuSE) Linux OS.On the contrary, when referring to multimedia, especially during the software of aspect such as video editing and DVD disc making, Windows operating system is a requisite operating system.For aspects such as office software and picture edittings, Windows operating system still maintains the leading position at present in this respect.
Therefore, at present a kind of application of new linux system causes everybody interest gradually, and then has promoted the development of Linux.That is, many professional users use the dual operating systems of Windows system and linux system in order to replenish mutually.At a PC, with Windows operating system is main operating system, the user can utilize Windows operating system to offer everybody powerful application software easily, the office and the academic environment of convenience oneself, simultaneously utilize (SuSE) Linux OS to remedy the deficiency that Windows operating system is brought again, as at the deficiency of Windows operating system to the antivirus protection ability, and move antivirus applet in Windows operating system itself and can't thoroughly kill viral situation again, the method of antivirus software is installed in employing at the Linux environment, can under an operating system that breaks away from the Windows environment fully, completely Windows virus be killed.The combination of this dual operating systems has not only solved the application collision of two systems, has utilized the advantage of each system, has avoided the weakness of the two, has brought into play function separately to the full extent.As everyone knows, FAT16, FAT32, NTFS are present modal three kinds of file system.The NTFS zoned format is followed Windows NT system and is produced, and except WindowsNT, Win 2000 and Win XP also support this fdisk form.Its significant advantage is that security and stability are extremely outstanding, in use is difficult for producing file fragmentation, and the space utilization of hard disk and the travelling speed of software all are beneficial to.It can carry out record to user's operation, by user right being carried out very strict restriction, makes each user can only operate the safety of the network system that adequately protected and data according to the authority that system gives.Because the NTFS form has the advantage of above-mentioned many uniquenesses, it is used widely by a lot of users.Yet the NTFS form also has a fatal shortcoming, that is exactly that this disk file form can not be discerned (comprising linux system) by a lot of other operating systems, and this just carries out exchanges data to the system with nonrecognition NTFS form at the NTFS subregion and has caused very big influence.
Therefore, how to make linux system visit Windows system resource, the problem of particularly how to visit the NTFS partition data of Windows under the Linux environment has been one of subject matter that use faced of above-mentioned dual operating systems.Because Microsoft is the NTFS partitioning technique inside story of open its exploitation not, this makes that visit Windows NTFS partition data more seems very difficult under the Linux environment.This problem has limited the paces that utilize the further Application and Development of dual system, the paces of the Linux development of also having slowed down to a certain extent.
Progressively renewal along with linux kernel, more present Linux standard kernel, for example version number is the above kernel of 2.6.9-1.667, realized limited visit to the NTFS subregion, this limited visit comprises to be read to control and the limited control of writing completely, but can't increase, delete, rewrite operations such as file size to the NTFS file structure, can only on the basis that does not change file size, carry out limited rewriting operation to the NTFS existing file, promptly can only be on the NTFS existing file revised file content, and can't revised file size and attribute.Because to all restrictions of NTFS subregion read-write, making, linux kernel wishes that under the Linux environment application program of NTFS subregion storage data can't be brought into play its function in Windows.
Summary of the invention
Utilize the NTFS subregion to carry out that data are exchanged visits and solve the problem that application program under the Linux environment can't be visited NTFS partitioned file data fully in order to solve Windows operating system and (SuSE) Linux OS, the present invention proposes a kind of method and apparatus based on the NTFS partition data under (SuSE) Linux OS and Windows operating system exchange, this method is based on that existing (SuSE) Linux OS kernel realized realizing on the basis to the limited visit of NTFS subregion.This method makes the data of NTFS subregion of Windows operating system and (SuSE) Linux OS to visit mutually easily, reaches Windows and Linux and utilizes the NTFS subregion to carry out the purpose of sufficient data sharing.
A first aspect of the present invention proposes a kind of method of the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system, and this method mainly comprises:
Step 1 under Windows operating system, is created one or more null object files on a NTFS subregion;
Step 2, the described null object file that the Windows system utilizes the virtual partition technology to create is loaded as one or more virtual units or virtual partition under the Windows system, the upper level applications of Windows system is visited fully to virtual unit under the Windows system or virtual partition, and after the upper level applications of Windows system is visited fully, utilize virtual unit or virtual partition under the above-mentioned Windows system of virtual partition technology unloading;
Step 3, linux system utilizes the virtual partition technology that described null object file after being visited fully by the upper level applications of Windows system is loaded as one or more virtual units or virtual partition under linux system, the upper level applications of linux system is visited fully to virtual unit under the linux system or virtual partition, and after the upper level applications of linux system is visited fully, utilize virtual unit or virtual partition under the above-mentioned linux system of virtual partition technology unloading.
Wherein, the method that described empty file is loaded as virtual partition specifically adopts loop virtual partition technology or adopts the ISO file or adopt and self-defining logical file is divided into partitioned method.
Wherein, the big I of the empty file in the described step 1 is set according to the actual demand of application program.
Wherein, employed linux kernel version is the above version of 2.6.9-1.667.
Wherein, described limited visit is meant that system reads to control and the limited control of writing to file completely, and described visit fully is meant system's reading control completely and writing control completely file.
Wherein, step 1 is carried out under Windows operating system, and this step comprises to be created null object file step and form the swap file step;
Described establishment null object file step is the one or more null object files of a certain NTFS partition creating under Windows operating system;
Described formation swap file step is to be swap file with above-mentioned null object file designation under the Windows system.
Wherein, described establishment null object file step utilization format is handled and is created described null object file, and described format is handled master and judged that whether described file destination is empty file and to not carrying out all " 0 " processing clearly and this document is formatted into the needed data layout of this system for empty target.
Wherein, described step 2 and step 3 include: loading swap file is virtual unit or virtual partition step, the complete accessing step of system's upper level applications and unloading virtual unit or subregion step;
In the described loading swap file step, (SuSE) Linux OS utilizes the support of checking the NTFS subregion in this (SuSE) Linux OS, described swap file is loaded as virtual unit or virtual partition, under the Windows operating system, be virtual unit or virtual partition under the Windows operating system with described swap file carry;
The complete accessing step of described system upper level applications is after completing successfully above-mentioned loading swap file and being virtual unit or virtual partition step, the virtual unit of the loading that the upper level applications direct read of (SuSE) Linux OS or Windows operating system is above-mentioned or virtual partition data are visited fully to described virtual unit or virtual partition;
Described unloading virtual unit or subregion step are after the upper level applications of (SuSE) Linux OS or Windows operating system is visited fully, unloading virtual unit or virtual partition.
Another aspect of the present invention has proposed a kind of device that is implemented in the NTFS partition data exchange under (SuSE) Linux OS and the Windows operating system, this device mainly comprises creates empty file unit and virtual unit, wherein said establishment empty file unit is arranged at the Windows system, be used for creating one or more empty files on the NTFS of Windows operating system subregion, the size of this empty file is set according to the size of the application program of real system.Described virtual unit is by comprising a loading unit and a unloading unit, and the empty file that described loading unit utilizes the technology of virtual partition that establishment empty file unit is created is loaded as one or more virtual units or virtual partition under system separately.Can the upper level applications of each system under the system separately be visited completely through the virtual unit after loading or subregion, promptly can realize processing such as file and catalogue are set up, delete and rewritten completely to file.Virtual unit or the subregion of the technology that described unloading unit is used to utilize virtual partition after with the upper level applications visit of each system unloads.
Wherein said establishment empty file unit further comprises creates file unit and formatting unit, and described formatting unit is to judge not for empty file and to not carrying out all clear " 0 " for empty file and handle and this document is formatted into the needed data layout of system creating the file of creating in the file unit.
Described loading unit specifically is loaded as one or more virtual units or virtual partition by following method with empty file:
Adopt loop virtual partition technology; Perhaps
Adopt the ISO file; Perhaps
Perhaps adopt and self-defining logical file is divided into partitioned method.
The method and apparatus of the NTFS partition data of (SuSE) Linux OS of the present invention and Windows operating system exchange has solved under the Linux problem to the limited access of NTFS subregion to a certain extent, and making the data resource of Windows and Linux exchange visits becomes possibility.Simultaneously, this method is carried out on bottom layer driving, no matter the upper strata is existing is that window application or Linux application program need not to carry out code revision, can be convenient to use this method and carry out Windows and Linux based on the data sharing of NTFS, has simplified the use difficulty greatly.
Description of drawings
Fig. 1 be the embodiment of the invention 1 under (SuSE) Linux OS with the schematic flow sheet of the method for the NTFS partition data of Windows operating system exchange;
The device synoptic diagram that Fig. 2 exchanges for the NTFS partition data that is implemented in (SuSE) Linux OS under with Windows operating system of the present invention.
Embodiment
The specific embodiment of the invention that below provides is used for content of the present invention is done more specific description.Embodiments of the invention mainly are based on one dual operating systems are installed, it is the computing machine of (SuSE) Linux OS and Windows operating system, and adopt linux kernel to the limited support of NTFS and the mature technology under the (SuSE) Linux OS, realize purpose of the present invention in conjunction with existing virtual partition technology.The virtual technology that is adopted in the present embodiment can be loop dummy block will equipment and technology (also claiming the virtual partition technology), described loop virtual partition technology is to use the loop technology that a file is invented a block device under Linux, thereby this document can be loaded as the next subregion of Linux, and then can in this document, set up, delete, rewrite file and catalogue.Combination by above-mentioned technology has realized the expansion of Linux operation to the support function of NTFS, thereby reaches the ability of visiting the NTFS data under (SuSE) Linux OS fully, and no longer only limits to only the NTFS data be read the function of modification.Because under the Windows system, the opening of loop virtual partition technology makes its instrument that is easy to be developed out read-write loop file, thereby be implemented in the purpose of the data that reading and writing Linux stores down under the Windows environment.Clearly, the combination of above-mentioned technology has overcome the limitation of checking the limited access of file under the NTFS form in the existing (SuSE) Linux OS, has realized utilizing under Windows operating system and the (SuSE) Linux OS data sharing of NTFS subregion.
Hereinafter with reference to accompanying drawing specific embodiments of the invention are done more detailed description.
Embodiment 1
Fig. 1 is the computing machine that above-mentioned dual operating systems is housed, under (SuSE) Linux OS with the schematic flow sheet of the exchanges data of the NTFS subregion of Windows operating system.
At first, under Windows operating system, carry out following step:
Create null object file step: the file destination of a certain NTFS partition creating under Windows operating system, and this file destination formatd processing, make it become a null object file, described null object file is meant that file data all is the file of " 0 ".Above-mentioned format is handled master and is judged that whether this file destination is empty file and to not carrying out all " 0 " processing clearly for empty file destination and file destination that should sky is processed into the needed data layout of system (the needed data layout of the system among the embodiment is often referred to and is the discernible data layout of following virtual partition).The big I of this null object file is set according to the actual demand of application program, and the null object number of files of being created also can be created one or more according to actual needs.
The method of above-mentioned establishment null object file can adopt a driver to create, for example utilize the method for looptool to create, exploitation such driver (Looptool) under Windows operating system, this driver has following function: can create an empty file and this empty file format analysis processing is become the needed data layout of system, the empty file file of being created is used under (SuSE) Linux OS its form with the loop file being loaded, thereby can in this subregion, read, write, increase, delete, change catalogue and file, and be not subjected to linux kernel can't rewrite the restriction of NTFS file size etc. at present.And under the Windows system, a loop file mount can be become virtual partition, make window application with of the form read-write of this loop file, and needn't be concerned about its storage inside mode with subregion.
Form the swap file step: after the file destination process of being created was formatted into to the null object file, system was a swap file with this null object file designation.
Then, enter (SuSE) Linux OS, can carry out following step when computing machine switches:
Loading swap file is virtual unit or virtual partition step: utilize the support of checking the NTFS subregion in this (SuSE) Linux OS, above-mentioned swap file is loaded as a virtual unit or a subregion.Here, we can adopt existing loop virtual partition technology with this load document by order as: mount-oloop test.img/mnt/tmp, (here, the name of swap file is called test.img) is mapped as a virtual partition.In fact, with swap file virtual be that a partitioned method is not limited only to loop virtual partition technology, can also adopt self-defining logical file to be divided into partitioned method or other method, substitute loop technology etc., enumerate no longer one by one here as adopting the ISO file.Because linux kernel has been realized the rewriting operation to file in the NTFS subregion, and the size of the loop document swap file (test.img file) that can not change (this also just meets the restriction of present linux kernel version 2.6.9-1.667 to the NTFS operation), and support the operation of all file directory, therefore at this moment (SuSE) Linux OS can realize increasing completely, delete, changing etc. operations such as file and catalogue to the virtual partition that is loaded.
The complete accessing step of the upper level applications of (SuSE) Linux OS: after completing successfully above-mentioned loading swap file and being virtual unit or virtual partition step, the virtual unit or the partition data of the loading that the upper level applications of (SuSE) Linux OS is can direct read above-mentioned, thereby reach visit fully, and do not need to consider whether this equipment or subregion are the NTFS structure.
Unloading virtual unit or subregion step: after the upper level applications of (SuSE) Linux OS is visited fully, unload above-mentioned virtual unit or subregion, can use loop tool to unload this virtual partition here.
At last, enter under the Windows operating system, can carry out following steps when computing machine switches again:
Loading swap file is virtual unit or subregion step, the visit fully of the upper level applications of Windows operating system and unloading virtual unit or subregion step, and step performed under these steps and the (SuSE) Linux OS is roughly the same.
Loading swap file is virtual unit or subregion step: the swap file in the above-mentioned formation swap file step is loaded as a virtual unit or a subregion.Can utilize the above-mentioned driver of developing to realize specific to swap file being loaded as virtual unit or partitioned method, be a subregion under the Windows operating system with this swap file carry.
The complete accessing step of the upper level applications of Windows operating system: complete successfully above-mentioned swap file be loaded as virtual unit or subregion rapid after, the upper level applications of Windows operating system can directly read the file data that the application program of (SuSE) Linux OS is imported into, also can write file data in it.
Unloading virtual unit or subregion step: after the upper level applications of Windows operating system is visited fully, unload above-mentioned virtual unit or subregion, can use loop tool to unload this virtual partition here.
In addition, among the embodiment 1, computing machine is to switch earlier to enter (SuSE) Linux OS to load swap file be virtual unit or virtual partition step, operations such as complete accessing step of upper level applications and unloading subregion step still switching earlier enter the corresponding operation of Windows operating system execution, also can set arbitrarily, not do strict restriction here according to concrete actual demand.
The loop virtual partition technology that adopts described in the above embodiment also can adopt and self-defining logical file is divided into partitioned method or additive method, as long as can be that partitioned method can be used promptly, substitute the loop technology as adopting the ISO file with a File mapping.
Employing driver (Loop tool) described in the establishment null object file step among the above embodiment under Windows operating system is made the method for empty file and also can be used other instruments that can generate empty file to replace, as using virtual drive software creation empty file such as WinISO.
Loading swap file among the above embodiment under Windows operating system by in virtual unit or the subregion step employing drive method that (Loop tool) load swap file and also can use other can discern and load this swap file to become that partitioned method realizes under the Windows, as except adopting the ISO file, can adopt virtual drive to create the technology of file.
Be illustrated in figure 2 as the device that the present invention is implemented in the NTFS partition data exchange under (SuSE) Linux OS and the Windows operating system.
This device mainly comprises creates empty file unit and virtual unit, and wherein said establishment empty file unit is used for creating one or more empty files on the NTFS of Windows operating system subregion.
Described virtual unit is by comprising a loading unit and a unloading unit, as shown in the figure, the virtual unit of the W-under Windows operating system, W-loading unit and W-unloading unit, and the virtual unit of the L-under (SuSE) Linux OS, L-loading unit and L-unloading unit.
The empty file that described loading unit utilizes virtual minute technology that establishment empty file unit is created is loaded as one or more virtual units or virtual partition under system separately.Can the upper level applications of each system under the system separately be visited completely through the virtual unit after loading or subregion, promptly can realize processing such as file and catalogue are set up, delete and rewritten completely to file.Virtual unit or the subregion of the technology that described unloading unit is used to utilize virtual partition after with the upper level applications visit of each system unloads.
Wherein said establishment empty file unit further comprises creates file unit and formatting unit (not shown), described formatting unit is to format processing to creating the file of creating in the file unit, makes it become the needed data layout of empty file and system.
In the L-loading unit, the file load that (SuSE) Linux OS can use equipment and technologies such as loop will create in the empty file unit is the L-virtual partition.In the W-loading unit, need to utilize a driver of exploitation in advance to come above-mentioned file is loaded as the W-virtual partition in the Windows operating system.This driver can use Loop tool instrument to develop, program after the exploitation has can create an empty file, the empty file file of being created is used under (SuSE) Linux OS its form with the loop file being loaded, thereby can in this subregion, read, write, increase, delete, change catalogue and file, and be not subjected to linux kernel can't rewrite the restriction of NTFS file size etc. at present, and under the Windows system, a loop file mount can be become virtual partition, make window application with of the form read-write of this loop file, and needn't be concerned about the function of its storage inside mode with subregion.
Here need to prove, in L-loading unit under the L-of (SuSE) Linux OS loading unit and Windows operating system, which swap file will be system separately will select load and how select needed swap file, all not need to do special qualification at this.Each system can set the swap file of selecting required loading according to concrete actual needs, generally can consider to select the swap file after another system has unloaded.Method selected also can freely be set, for example can set an identifier to the file that returns after the (SuSE) Linux OS unloading, give with Windows operating system unloading back backspace file and give another different identifier, different like this operating system can be carried out loading processing according to the file of selecting to have party identifier, so that can visit the file data that the application program of another system operation system is imported into.Because having the setting identification symbol to be set at above-mentioned two systems according to concrete needs, empty swap file all can directly not load or only specify one of them system to load.
In sum, the method and apparatus of the NTFS partition data of (SuSE) Linux OS of the present invention and Windows operating system exchange has solved under the Linux problem to the limited access of NTFS subregion to a certain extent, and making the data resource of Windows and Linux exchange visits becomes possibility.Simultaneously, this method is carried out on bottom layer driving, no matter the upper strata is existing is that window application or Linux application program need not to carry out code revision, can be convenient to use this method and carry out Windows and Linux based on the data sharing of NTFS, has simplified the use difficulty greatly.

Claims (12)

1. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system, this method is based on the (SuSE) Linux OS kernel of realizing the limited visit of NTFS subregion and realizes that this method mainly comprises the steps:
Step 1 under Windows operating system, is created one or more null object files on a NTFS subregion;
Step 2, the described null object file that the Windows system utilizes the virtual partition technology to create is loaded as one or more virtual units or virtual partition under the Windows system, the upper level applications of Windows system is visited fully to virtual unit under the Windows system or virtual partition, and after the upper level applications of Windows system is visited fully, utilize virtual unit or virtual partition under the above-mentioned Windows system of virtual partition technology unloading;
Step 3, linux system utilizes the virtual partition technology that described null object file after being visited fully by the upper level applications of Windows system is loaded as one or more virtual units or virtual partition under linux system, the upper level applications of linux system is visited fully to virtual unit under the linux system or virtual partition, and after the upper level applications of linux system is visited fully, utilize virtual unit or virtual partition under the above-mentioned linux system of virtual partition technology unloading.
2. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 1, wherein the method that is virtual partition with described null object file load specifically adopts loop virtual partition technology or adopts the ISO file or adopt and self-defining logical file is divided into partitioned method.
3. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 1, the size of the null object file in the wherein said step 1 is set according to the actual demand of application program.
4. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 1, wherein employed linux kernel version are the above versions of 2.6.9-1.667.
5. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 1, wherein said limited visit is meant that system reads to control and the limited control of writing to file completely, and described visit fully is meant system's reading control completely and writing control completely file.
6. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 1, wherein step 1 is carried out under Windows operating system, and this step comprises to be created null object file step and form the swap file step;
Described establishment null object file step is the one or more null object files of a certain NTFS partition creating under Windows operating system;
Described formation swap file step is to be swap file with above-mentioned null object file designation under the Windows system.
7. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 6, wherein said establishment null object file step utilization format is handled and is created described null object file, described format is handled and is specially: create file destination, judge whether described file destination is empty file, and to not being that the file destination of empty file is carried out all clear " 0 " and handled, and not that the destination file format of empty file changes into the needed data layout of this system with this.
8. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 7, wherein said step 2 and step 3 include: loading swap file is virtual unit or virtual partition step, the complete accessing step of system's upper level applications and unloading virtual unit or subregion step;
In the described loading swap file step, (SuSE) Linux OS utilizes the support of checking the NTFS subregion in this (SuSE) Linux OS, described swap file is loaded as virtual unit or virtual partition, under the Windows operating system, be virtual unit or virtual partition under the Windows operating system with described swap file carry;
The complete accessing step of described system upper level applications is after completing successfully above-mentioned loading swap file and being virtual unit or virtual partition step, the virtual unit of the loading that the upper level applications direct read of (SuSE) Linux OS or Windows operating system is above-mentioned or virtual partition data are visited fully to described virtual unit or virtual partition;
Described unloading virtual unit or subregion step are after the upper level applications of (SuSE) Linux OS or Windows operating system is visited fully, unloading virtual unit or virtual partition.
9. the method for the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 8, wherein (SuSE) Linux OS adopts existing loop virtual partition technology by order mount-o loop test.img/mnt/tmp swap file to be loaded as virtual partition, and test.img is the title of swap file.
10. the device of the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system is characterized in that, comprising:
Create the empty file unit, be arranged at the Windows system, be used on the NTFS of Windows operating system subregion, creating one or more empty files;
Loading unit is arranged at Windows system and linux system, and the empty file that is used to utilize the technology of virtual partition that described establishment empty file unit is created is loaded as one or more virtual units or virtual partition; With
Unloading unit is arranged at Windows system and linux system, and virtual unit or the subregion of the technology that is used to utilize virtual partition after to the upper level applications visit unloads;
Described virtual unit or virtual partition are visited fully by the upper level applications of Windows system and linux system.
11. the device of the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 10 is characterized in that described establishment empty file unit specifically comprises;
Create file unit, be used to create file;
Formatting unit is used for the file that the establishment file unit is created is formatd processing, makes it become empty file.
12. the device of the NTFS partition data exchange under (SuSE) Linux OS and Windows operating system as claimed in claim 11, it is characterized in that described loading unit specifically is loaded as one or more virtual units or virtual partition by following method with empty file:
Adopt loop virtual partition technology; Perhaps
Adopt the ISO file; Perhaps
Adopt and self-defining logical file is divided into partitioned method.
CNB2005101051552A 2005-09-28 2005-09-28 Method and device for exchanging NTFS partition data in Linux operating system and windows operating system Expired - Fee Related CN100447747C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101051552A CN100447747C (en) 2005-09-28 2005-09-28 Method and device for exchanging NTFS partition data in Linux operating system and windows operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101051552A CN100447747C (en) 2005-09-28 2005-09-28 Method and device for exchanging NTFS partition data in Linux operating system and windows operating system

Publications (2)

Publication Number Publication Date
CN1940873A CN1940873A (en) 2007-04-04
CN100447747C true CN100447747C (en) 2008-12-31

Family

ID=37959083

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101051552A Expired - Fee Related CN100447747C (en) 2005-09-28 2005-09-28 Method and device for exchanging NTFS partition data in Linux operating system and windows operating system

Country Status (1)

Country Link
CN (1) CN100447747C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607471A (en) * 2013-12-02 2014-02-26 中标软件有限公司 File exchange method and system between desktop systems
CN105468659B (en) * 2014-09-28 2019-01-04 阿里巴巴集团控股有限公司 A kind of method of data synchronization and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1164480A2 (en) * 2000-05-31 2001-12-19 International Business Machines Corporation Method, System and program product for a partitioned processing environment
CN1384436A (en) * 2001-04-29 2002-12-11 英业达股份有限公司 Data exchange system and method for coexisting operation systems
US20040139437A1 (en) * 2000-06-08 2004-07-15 Arndt Richard Louis Hypervisor virtualization of OS console and operator panel
US20050076324A1 (en) * 2003-10-01 2005-04-07 Lowell David E. Virtual machine monitor
CN1655134A (en) * 2004-03-10 2005-08-17 台均科技(深圳)有限公司 Method for data exchange between data handling equipment and operating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1164480A2 (en) * 2000-05-31 2001-12-19 International Business Machines Corporation Method, System and program product for a partitioned processing environment
US20040139437A1 (en) * 2000-06-08 2004-07-15 Arndt Richard Louis Hypervisor virtualization of OS console and operator panel
CN1384436A (en) * 2001-04-29 2002-12-11 英业达股份有限公司 Data exchange system and method for coexisting operation systems
US20050076324A1 (en) * 2003-10-01 2005-04-07 Lowell David E. Virtual machine monitor
CN1655134A (en) * 2004-03-10 2005-08-17 台均科技(深圳)有限公司 Method for data exchange between data handling equipment and operating system

Also Published As

Publication number Publication date
CN1940873A (en) 2007-04-04

Similar Documents

Publication Publication Date Title
CN107092441B (en) Virtual disk storage techniques
US8370835B2 (en) Method for dynamically generating a configuration for a virtual machine with a virtual hard disk in an external storage device
CN1186715C (en) Method and system supporting several operation systems
US9477487B2 (en) Virtualized boot block with discovery volume
US7343465B2 (en) Storage system
US8140785B2 (en) Updating metadata in a logical volume associated with a storage controller for data units indicated in a data structure
JP4855714B2 (en) System and method for accessing computer files across computer operating systems
CN103597440A (en) Method for creating clone file, and file system adopting the same
US20100262802A1 (en) Reclamation of Thin Provisioned Disk Storage
EP1637987A2 (en) Operation environment associating data migration method
US8024532B2 (en) Data management method for erasing data in computer system
JP4906917B2 (en) To provide an address format that is compatible with the different addressing formats used to address different sized address spaces
CN104238963A (en) Data storage method, device and system
JPWO2002056179A1 (en) Method for regenerating partition using virtual drive, data processing device, and data storage device
JP2008009978A (en) Method, computer system and program for rearranging logical volume from first storage place to second storage place,
CN111007990B (en) Positioning method for quickly positioning data block references in snapshot system
CN104049914A (en) Method and device for executing write operation on protected partition
CN100447747C (en) Method and device for exchanging NTFS partition data in Linux operating system and windows operating system
CN101477447A (en) Disk snap method and apparatus
CN105162833A (en) Client computer management system and method applied to diskless workstation
JP2007065780A (en) Storage system and storage device
CN101977231A (en) Method for downloading mapping file
CN113986858B (en) Linux compatible android system shared file operation method and device
CN109857519A (en) The processing method and relevant apparatus of virtual disk
JP2016143166A (en) Control apparatus, storage system, and control program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081231

Termination date: 20200928

CF01 Termination of patent right due to non-payment of annual fee