Meaning of "locked" in Disk Utility
Meaning of "locked" in Disk Utility
- Subject: Meaning of "locked" in Disk Utility
- From: email@hidden
- Date: Mon, 12 May 2008 10:33:03 -0400
- Importance: Normal
I am developing an application which must talk to a USB mass storage device
that looks like an unformatted BSD disk to the OS. On Tiger, the
/dev/rdisk? device is readable and writable (and works with my appliication
using open()/read()/write()); however, on Leopard, the device (/dev/rdisk?
And /dev/disk?) is read-only, and the Disk Utility says it's "Locked."
There certainly aren't any 'chflags' on in the /dev files, and, by the way,
the mode sense mode page looks like it says that it is NOT write-protected.
I ask about the "Locked" status because when I attached a write-protected
flash drive (one with a switch), Disk Utility also said that device was
"Locked" so it looks like there might be some relationship between "Locked"
and write-protected. Thanks for any thoughts.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden