Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Swap Partition



On Thursday, June 28, 2001, at 05:00 PM, Nicolas Linkert wrote:

>> On Wed, 27 Jun 2001, Daniel Parks wrote:
>>> On Thu, 28 Jun 2001, Markus Hitter wrote:
>>> <snip>
>>> The big advantage of pdisk is, you can modify/delete/create single
>>> partitions without touching the other ones on this disk.
>>>
>> Heh. With pdisk, you can even resize a partition you're using! Of
>> course,
>> it's always better to make sure that data doesn't get chopped in half
>> first...
>
> Which means I can defragment my hfs+ partition and resize it with
> pdisk???
> And then, after rebooting, create a ufs partition with the rest of the
> space
> (with pdisk) and format it with /sbin/newfs /dev/disk0sxyz??? How safe
> is it?
> I have never done that with Linux' fdisk (x86) because I never had any
> reason
> to do so but right now I could really maker use of this.
The way to do it is to backu up all data on the partition you want to
change.
Then make it smaller. ( or bigger, whatever you want )
Run newfs ( or newfs_hfs ) on it. The restore your data.
Also dont forget to create a new partition with the cylinders you freed
up in pdisk.
good luck, you will also need to boot from another media while you do
this.
And make sure the disk you are working on is not mounted.
>
>>
>> pdisk is a great partitioning tool. It would be nice if it had
>> formatting
>> capabilities built in, but OTOH it's really usefull without them.
>
> It sounds as if a combination of pdisk and newfs does the trick ...
> That's
> new to me altho I figured that there gotta be other tools than the
> graphical
> ones provided by Apple.
>
>>
>>> To put an actual Filsystem onto this new/modified partition, you can
>>> use
>>> /sbin/newfs for UFS partitions or /sbin/newfs_hfs for HFS ones. This
>>> is
>>> the same as Finder's "Erase Volume". Well, couldn't find this menu in
>>> OS
>>> X, but OS 9 features it.
>>>
>>>> [...] So, to make a swapfile partition, you have to format it HFS.
>>>
>>> Made one with an UFS an it works excellent.
>>>
>> Bleh! My brain froze up. I was trying to say that you needed to
>> actually
>> format the partition to use it for swapfiles. The HFS bit just sort of
>> slipped out..
> _______________________________________________
> darwinos-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/darwinos-users


References: 
 >Re: Re: Problem with Swap Partition (From: Nicolas Linkert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.