Providing disk layout information to an operating system for...

Electrical computers and digital processing systems: support – Digital data processing system initialization or configuration – Loading initialization program

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C713S001000, C713S100000, C711S161000, C711S173000

Reexamination Certificate

active

06681325

ABSTRACT:

TECHNICAL FIELD OF THE INVENTION
This invention relates in general to operating system registries, such as the registry provided in the Windows NT® operating system from Microsoft Corporation of Redmond, Wash. More specifically, this invention relates to devices and methods for manipulating an operating system registry to maintain coherency between the registry and disk partitions.
BACKGROUND OF THE INVENTION
“Partitioning” refers to a process by which a computer storage device, such as a hard disk, is divided into multiple logical devices. For example, a computer user wishing to run both the Windows NT® and Linux® operating systems from a single hard disk might partition the disk into two logical devices—one for running Windows NT®, and the other for running Linux®.
The assignee of this invention, PowerQuest Corporation, has developed partitioning software (referred to as “PartitionMagic®”) to assist computer users in the partitioning process described above. Various implementations of this software are described in detail in U.S. Pat. Nos. 5,675,769 and 5,706,472 to Ruff et al., and U.S. Pat. No. 5,930,831 to Marsh et al.
When running as a Win32 program (i.e., a 32-bit Windowse program) under the Windows NT® operating system, PartitionMagic® can only operate on partitions that have no open files. Since the Windows NT® operating system always has at least some open files running from its own partition, PartitionMagic® cannot operate on the Windows NT® partition when it runs as a Win32 program.
Accordingly, PartitionMagic® has been designed to also run in the Windows NT® boot mode, where it can operate on all partitions, including the Windows NT® partition. In this mode, the Windows NT® kernel loads first. The kernel then loads any device drivers. A portion of the kernel referred to as the “Session Manager” then executes any programs that require hard disk access before the Windowse user interface is loaded. In addition to PartitionMagic®, such programs include ‘autochk.exe’ (a utility for checking the condition of the hard disk) and ‘autoconv.exe’ (a utility for performing file system conversions), both from Microsoft® Corporation, and ‘autofat.exe’ and ‘autontfs.exe’ (utilities for file defragmentation), both from Executive Software, Inc. Once these programs have executed, the Session Manager generally loads the Windows® user interface to initiate the Windows NT® Win32 mode, although PartitionMagic® reboots instead.
PartitionMagic® reboots after executing in the Windows NT® boot mode because it typically manipulates the Windows NT® partition itself If PartitionMagic® did not reboot after execution in boot mode, Windows NT® would likely crash when it attempted to load the Windows® user interface from the Windows NT® partition, because it wouldn't be able to find the interface on the newly partitioned hard drive.
Windows NT® stores disk layout information (e.g., drive letter assignments and information regarding multiple partition volumes, such as stripe sets) in the Windows NT® registry under a key named “HKEY_LOCAL_MACHINE\SYSTEM\DISK\Information”. Changes can be made to this key by PartitionMagic® during the Windows NT® boot mode by making calls to the Windows NT® Registry API (Application Programming Interface). Unfortunately, these changes are discarded before taking effect when PartitionMagic® reboots instead of loading the Windows® user interface.
While PartitionMagic® typically needs to reboot after executing in the Windows NT® boot mode, it also needs to be able to manipulate the disk layout information key referred to above so that the disk layout information contained in the key is consistent with the information stored in partition tables on the hard disk being partitioned. If the information in the key and the information in the partition tables is not consistent, then Windows NT® makes default drive letter assignments that may not match the user's wishes and needs.
Accordingly, since the changes to the disk layout information key referred to above are discarded when PartitionMagic® reboots, there is a need in the art for an alternative means and method for manipulating a registry (e.g., the disk layout information key) so, for example, it conforms to the information in the partition tables on a hard disk being partitioned. Such a means and method should be effective despite a reboot.
SUMMARY OF THE INVENTION
In accordance with this invention, data stored in an operating system configuration settings repository (e.g., a Windows registry) that includes one or more repository files is modified by accessing operating system services associated with the repository in a user interface mode of the operating system to store a modified form of the data in the repository. The repository files are then directly edited in a boot mode of the operating system to replace the data with the modified form of the data.
In another embodiment of this invention, a storage device is repartitioned by making Windows NT calls in a Windows NT Win32 mode to store repartitioning information in a temporary disk layout information registry key. Then, in a Windows NT boot mode, partition tables stored on the storage device are modified to match the repartitioning information, and registry files containing the temporary disk layout information registry key and a primary disk layout information registry key are directly edited to replace the primary disk layout information registry key with the temporary disk layout information registry key.
In still another embodiment of this invention, a storage device is repartitioned by accessing operating system services in a user interface mode of an operating system to store repartitioning information in an operating system configuration settings repository that comprises one or more repository files. Then, in a boot mode of the operating system, the storage device is repartitioned using the repartitioning information, and the repository files are directly edited to replace partitioning information stored therein with the repartitioning information.
In yet another embodiment of this invention, an apparatus for modifying data stored in an operating system configuration settings repository that comprises one or more repository files includes a device that accesses operating system services associated with the repository in a user interface mode of the operating system to store a modified form of the data in the repository. Also, another device directly edits the repository files in a boot mode of the operating system to replace the data with the modified form of the data.
In an additional embodiment of this invention, the apparatus described immediately above is incorporated into an electronic system that includes an input device, an output device, a processor device, and a memory device.
In a still additional embodiment of this invention, a computer-readable medium has computer program portions embodied therein that modify data stored in an operating system configuration settings repository made up of one or more repository files. The computer program portions include a computer program portion that accesses operating system services associated with the repository in a user interface mode of the operating system to store a modified form of the data in the repository, and a computer program portion that directly edits the repository files in a boot mode of the operating system to replace the data with the modified form of the data.


REFERENCES:
patent: 5136711 (1992-08-01), Hugard et al.
patent: 5649133 (1997-07-01), Arquie
patent: 5649158 (1997-07-01), Lahr et al.
patent: 5668992 (1997-09-01), Hammer et al.
patent: 5675769 (1997-10-01), Ruff et al.
patent: 5706472 (1998-01-01), Ruff et al.
patent: 5930831 (1999-07-01), Marsh et al.
patent: 5956745 (1999-09-01), Bradford et al.
patent: 5974517 (1999-10-01), Gaudet
patent: 5974567 (1999-10-01), Dickson, Jr. et al.
patent: 6032239 (2000-02-01), Beelitz
patent: 6108759 (2000-08-01), Orcutt et al.
patent: 6185575 (2001-02-01), Orcutt
patent: 6205558 (2001-03-01), Sobel
patent: 6289426

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Providing disk layout information to an operating system for... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Providing disk layout information to an operating system for..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Providing disk layout information to an operating system for... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3205209

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.