Re: ContentHint Issue
Re: ContentHint Issue
- Subject: Re: ContentHint Issue
- From: Michael Cashwell <email@hidden>
- Date: Wed, 23 Feb 2005 09:13:44 -0500
IIRC, you need to write the changes you've made with the editing commands like 't' to the disk using the 'w' command. Until then you are working on an in-memory copy of the map. It also appears that 'L' is doing back to the actual disk.
Try doing you changes and then 'w'riting them before using the 'L' command.
pdisk's man page discusses the 'w' command.
-Mike
On Feb 23, 2005, at 5:52 AM, Imran wrote:
<x-tad-bigger>Dear Cliff,</x-tad-bigger>
<x-tad-bigger>I have tried all the steps told by you and when I say 'p' to print the partition table, it shows the output as</x-tad-bigger>
<x-tad-bigger>Top level command (? for help): e /dev/rdisk2</x-tad-bigger>
<x-tad-bigger>/dev/rdisk2</x-tad-bigger>
<x-tad-bigger>Command (? for help): t</x-tad-bigger>
<x-tad-bigger>Partition number: 3</x-tad-bigger>
<x-tad-bigger>New partition type: MACOSX_MyContent</x-tad-bigger>
<x-tad-bigger>Command (? for help): p</x-tad-bigger>
<x-tad-bigger>/dev/rdisk2 map block size=512</x-tad-bigger>
<x-tad-bigger> #: type name length base ( size )</x-tad-bigger>
<x-tad-bigger> 1: Apple_partition_map Apple 63 @ 1 </x-tad-bigger>
<x-tad-bigger> 2: Apple_Free 0+@ 64 </x-tad-bigger>
<x-tad-bigger> 3: MACOSX_MyContent Apple_HFS_Untitled_2 16121776 @ 262208 ( 7.7G)</x-tad-bigger>
<x-tad-bigger> 4: Apple_Free 0+@ 16383984</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>Device block size=512, Number of Blocks=16384000</x-tad-bigger>
<x-tad-bigger>DeviceType=0x0, DeviceId=0x0</x-tad-bigger>
<x-tad-bigger>But again if I list the partition map using ‘L’ it shows following output:</x-tad-bigger>
<x-tad-bigger>Top level command (? for help): L</x-tad-bigger>
<x-tad-bigger>/dev/rdisk2 map block size=512</x-tad-bigger>
<x-tad-bigger> #: type name length base ( size )</x-tad-bigger>
<x-tad-bigger> 1: Apple_partition_map Apple 63 @ 1 </x-tad-bigger>
<x-tad-bigger> 2: Apple_Free 0+@ 64 </x-tad-bigger>
<x-tad-bigger> 3: Apple_HFS Apple_HFS_Untitled_2 16121776 @ 262208 ( 7.7G)</x-tad-bigger>
<x-tad-bigger> 4: Apple_Free 0+@ 16383984</x-tad-bigger>
<x-tad-bigger>Device block size=512, Number of Blocks=16384000</x-tad-bigger>
<x-tad-bigger>DeviceType=0x0, DeviceId=0x0</x-tad-bigger>
<x-tad-bigger>I think it only shows that partition type is changed but actually it does not set the partition type to new value.</x-tad-bigger>
<x-tad-bigger>Thanks,</x-tad-bigger>
<x-tad-bigger>Imran</x-tad-bigger>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden