Adding a new entry to Disk Utility's "Volume Format" menu.
Adding a new entry to Disk Utility's "Volume Format" menu.
- Subject: Adding a new entry to Disk Utility's "Volume Format" menu.
- From: Ron Aldrich <email@hidden>
- Date: Thu, 23 Mar 2006 12:51:05 -0800
This isn't really a kernel question, but since it's a file system
question, and the folks who know the answer to it frequent this list,
I'll ask here anyway.
How does one add their filesystem's format utility to Disk Utility's
"Volume Format" menu.
I've tried an experiment, just to see if I can get *anything* to show
up, and I'm getting rather strange results.
I added the following to my FSPersonalities dictionary (cribbed
directly from msdos.fs - note the change to the FSName string), and
it only appears in Disk Utility if I remove msdos.fs from my
FileSystems folder.
<key>FSPersonalities</key>
<dict>
<key>MS-DOS</key>
<dict>
<key>FSFormatArguments</key>
<string></string>
<key>FSFormatContentMask</key>
<string>DOS_FAT_32</string>
<key>FSFormatExecutable</key>
<string>../../../../../../sbin/newfs_msdos</string>
<key>FSFormatMaximumSize</key>
<integer>0</integer>
<key>FSFormatMinimumSize</key>
<integer>32768</integer>
<key>FSMountArguments</key>
<string></string>
<key>FSMountExecutable</key>
<string>../../../../../../sbin/mount_msdos</string>
<key>FSName</key>
<string>MS-DOS File System (hack)</string>
<key>FSRepairArguments</key>
<string>-y</string>
<key>FSRepairExecutable</key>
<string>../../../../../../sbin/fsck_msdos</string>
<key>FSVerificationArguments</key>
<string>-n</string>
<key>FSVerificationExecutable</key>
<string>../../../../../../sbin/fsck_msdos</string>
</dict>
</dict>
If I change <key>MS-DOS</key> to anything else, it does not appear.
Is there another dictionary somewhere that lists the supported
FSPersonalities?
Thanks,
Ron Aldrich
Software Architects, Inc.
_______________________________________________
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