New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Making a disk with a smaller block size

Post Reply New Thread Subscribe

Thread Tools

Member Since: Feb 07, 2010
Posts: 2
l008com is on a distinguished road

l008com is offline
I use the following command to create a ram disk on boot:
/usr/sbin/diskutil erasevolume HFS+ "web-ram" `/usr/bin/hdiutil attach -notremovable -nomount ram://2200000`
This makes a ram disk thats about 1 GB. This ram disk holds nothing but tiny web files though. So in this case, it makes much more sense to use a much smaller block size. I'm thinking 0.5KB instead of the 4KB default of HFS+. I looked over the man page of diskutil, but it still is not clear at all how I can make the volume with a different block size (if at all?)
QUOTE Thanks

Post Reply New Thread Subscribe

« Reading ID3 tags from an audio file. | Getting unsupported color depth 32-bit wine: not found error »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
External and Internal Hard-drives displaying incorrect size? Problem mglinx OS X - Operating System 4 08-01-2009 02:48 PM
Making Parallels HD size smaller then 30GB Dave113 Running Windows (or anything else) on your Mac 1 02-03-2009 06:30 AM
Time machine forever "preparing" after software update gpc OS X - Operating System 12 06-14-2008 05:40 PM
Making a vid clip smaller The Fiish Movies and Video 1 01-25-2006 07:02 PM
Help !!!!!! Making a Boot Disk in Classic or OSX warrencast Running Windows (or anything else) on your Mac 5 06-01-2004 11:15 AM

All times are GMT -4. The time now is 09:22 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?