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: lock a partition to prevent writing?



On 14/03/2007, at 18:00, webmaster wrote:

I'm in the midst of a HDD project that requires one of the HFS partition to be locked to prevent writing, I've googled this and came up empty, anyone know of a utility that allows this?

Locking the mounted volume from the finder isn't an option since the tests are using the IOKit to see that the particular partition is actually read-only.

-- Dale

$ man mount

More specifically, something like this:

$ sudo mount -t hfs -f -r /dev/<deviceID> <mountpoint>

If this is still too high-level, you're going to have to play IOKit's game...

M.
--
Mark Glossop - Systems Administrator
FAHSS Faculty Computing, UWA
P: +61 8 6488 2092              M:  +61 4 0028 3252
E: email@hidden      IM: email@hidden (AIM)


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >lock a partition to prevent writing? (From: webmaster <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.