Method and apparatus for partitioning and formatting a storage media without rebooting by creating a logical device control block (DCB) on-the-fly
First Claim
1. A method for preparing a storage media, comprising:
- partitioning a selected storage media into two or more partitions;
calling a kernel mode driver interface that is configured to create a logical device control block for each of the two or more partitions; and
formatting each of the two or more partitions, the partitioning and formatting being performed on-the-fly without cycling through complete reboots after the partitioning and the formatting.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and computer readable media having program instructions for preparing a storage media are provided. The method includes partitioning a selected storage media into two or more partitions. Once partitioned, a kernel mode driver interface is called in order to create a logical device control block (DCB) on-the-fly for each of the two or more partitions. The method the follows to formatting each of the two or more partitions. The method includes identifying partitions that have not been previously formatted, associating the created logical DCBs with physical device control block information of the identified partitions, assigning drive letters to the identified partitions, and associating the drive letters with the physical device control block information. The drive preparation is configured to be performed without having to reboot the computer system driving the preparation after the partitioning or after the formatting. The user preparing the storage media can therefore immediately begin using and saving data to the newly prepared drive.
42 Citations
20 Claims
-
1. A method for preparing a storage media, comprising:
-
partitioning a selected storage media into two or more partitions;
calling a kernel mode driver interface that is configured to create a logical device control block for each of the two or more partitions; and
formatting each of the two or more partitions, the partitioning and formatting being performed on-the-fly without cycling through complete reboots after the partitioning and the formatting. - View Dependent Claims (2, 3, 4, 5, 6)
scanning partition tables of the storage media;
identifying partitions of the storage media that have not been previously formatted;
associating a created logical device control block with physical device control block information of the identified partitions that have not been previously formatted;
assigning a drive letter to each of the identified partitions that have not been previously formatted; and
associating the assigned drive letters with the physical device control block information of the identified partitions that have not been previously formatted.
-
-
3. A method for preparing a storage media as recited in claim 2, wherein the creating of a logical device control block further comprises:
instructing an operating system of a computer that is preparing the selected storage media to update information regarding the created logical device control blocks.
-
4. A method for preparing a storage media as recited in claim 2, wherein the scanning of the partition tables includes,
reading a master boot record of the storage media, and the identifying of the partitions includes, inspecting each partition table entry list of the partition tables to identify the partitions of the storage media that have not previously been formatted. -
5. A method for preparing a storage media as recited in claim 4, wherein the inspecting of each partition table entry list includes,
determining whether a particular partition table entry of the partition table entry list defines an extended partition table entry list. -
6. A method for preparing a storage media as recited in claim 2, wherein the storage media is one of a fixed hard drive and a removable media drive.
-
7. A method for partitioning and formatting storage media of a hard disk drive or removable disk drive, the method having a plurality of operations that are each called by a drive preparation application, the operations of the method comprising:
-
partitioning the storage media into a plurality of partitions;
creating a logical device control block for each of the plurality of partitions after the partitioning is complete; and
formatting each of the plurality of partitions, the partitioning and formatting being performed on-the-fly without cycling through complete reboots after the partitioning and the formatting. - View Dependent Claims (8, 9, 10, 11, 12, 13)
scanning partition tables of the storage media;
identifying partitions of the storage media that have not been previously formatted; and
associating a logical device control block with physical device control block information of the identified partitions that have not been previously formatted.
-
-
10. A method as recited in claim 9, wherein the creating of a logical device control block further comprises:
-
assigning a drive letter to each of the partitions that have not been previously formatted; and
associating the assigned drive letters with the physical device control block information of the partitions that have not been previously formatted.
-
-
11. A method as recited in claim 10, wherein the creating of a logical device control block further comprises:
instructing an operating system of a computer that is preparing the selected storage media to update information regarding the created logical device control blocks.
-
12. A method as recited in claim 9, wherein the scanning of the partition tables includes,
reading a master boot record of the storage media, and the identifying of the partitions includes, inspecting each partition table entry list of the partition tables to identify the partitions of the storage media that have not previously been formatted. -
13. A method as recited in claim 12, wherein the inspecting of each partition table entry list includes,
determining whether a particular partition table entry of the partition table entry list defines an extended partition table entry list.
-
14. A computer readable media having program instructions stored thereon for partitioning and formatting storage media of a hard disk drive or removable disk drive, the program instructions including a plurality of operations that are each called by a drive preparation application, the operations of the computer readable media comprising:
-
program instructions for partitioning the storage media into a plurality of partitions;
program instructions for creating a logical device control block for each of the plurality of partitions after the partitioning is complete; and
program instructions for formatting each of the plurality of partitions, the partitioning and formatting being performed on-the-fly without cycling through complete reboots after the partitioning and the formatting. - View Dependent Claims (15, 16, 17, 18, 19, 20)
program instructions for scanning partition tables of the storage media;
program instructions for identifying partitions of the storage media that have not been previously formatted; and
program instructions for associating a logical device control block with physical device control block information of the identified partitions that have not been previously formatted.
-
-
17. A computer readable media as recited in claim 16, wherein the program instructions for creating a logical device control block further include:
-
program instructions for assigning a drive letter to each of the partitions that have not been previously formatted; and
program instructions for associating the assigned drive letters with the physical device control block information of the partitions that have not been previously formatted.
-
-
18. A computer readable media as recited in claim 17, wherein the program instructions for creating a logical device control block further include:
program instructions for instructing an operating system of a computer that is preparing the selected storage media to update information regarding the created logical device control blocks.
-
19. A computer readable media as recited in claim 18, wherein the program instructions for scanning the partition tables include,
program instructions for reading a master boot record of the storage media, and the program instructions for identifying the partitions include, program instructions for inspecting each partition table entry list of the partition tables to identify the partitions of the storage media that have not previously been formatted. -
20. A computer readable media as recited in claim 19, wherein the program instructions for inspecting each partition table entry list include:
program instructions for determining whether a particular partition table entry of the partition table entry list defines an extended partition table entry list.
Specification