Hi,
I'd like to get the mount options of a particular volume (like "rw",
"nobrowse", "automounted" etc.) of a mounted volume, like those I get
when I run "mount" command in the Terminal.
It should be easy, but I can't seem to find anything in the library.
Thanks
_
Hi!
Have you tried [NSWorkspace
getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:]
?
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/occ/instm/NSWorkspace/getFile
On Fri, 07 Oct 2011 19:46:17 -0400, Andy Lee said:
>On Oct 3, 2011, at 2:23 PM, Charles Srstka wrote:
>> 2. KVOs access instance variables directly (mis)feature recognizes the
>> underscore prefix. I like to give it a prefix that KVO doesnt know about so
>> that I can be sure never to end up
On Mon, 10 Oct 2011 14:48:29 +0200, Leonardo said:
>Hi,
>with Scripting Bridge Finder, I am trying to change the folder window size
>and the icon position of the files therein. I got 2 troubles.
>
>1) If the folder window is closed, I can't resize it.
>2) After I change the position of the icon, I
On Oct 11, 2011, at 9:57 AM, Matt Neuburg wrote:
> I did everything "right" when I named an ivar "firstResponder" (property,
> synthesized ivar, synthesized accessors) and totally broke my app because
> Apple was apparently already using an undocumented ivar called
> "firstResponder".
>
> http
I was looking at the rich information provided by diskutil:
$ diskutil info -plist /Volumes/blah
NSWorkspace has some of this information, but I was wondering if there is a
Cocoa object that provides more of the information provided by diskutil.
If not, does anyone know how is diskutil
Oleg Krupnov wrote:
I'd like to get the mount options of a particular volume (like "rw",
"nobrowse", "automounted" etc.) of a mounted volume, like those I get
when I run "mount" command in the Terminal.
See the C function statfs().
See the include file , struct statfs, member f_flags.
See the
Todd Heberlein wrote:
If not, does anyone know how is diskutil getting this information?
For example getfsstat(), statfs(), ...? I'm having troubles
finding the equivalent of "BusProtocol" and "Internal" values in
these structures.
BusProtocol is probably worked out from the device path
On 2011 Oct 10, at 19:01, Shane Stanley wrote:
> From the 10.6 release notes:
>
>> Thread Safety
>> OSA and AppleScript are now thread-safe…
God help us. So here we are two years after the release of Snow Leopard and
the documentation,
http://developer.apple.com/library/mac/#documentation/Co
Hi,
Here's the background: XCode 4.1, Lion (10.7.1) non CoreData, document
based application using the master/detail paradigm.
I'm currently trying to switch a working project to a view based
NSTableView. I think I've set things up correctly in the nib because
data is showing fine in the tab
Did you also bind the table view's Selection Indexes to
arrayController.selectionIndexes?
On Oct 11, 2011, at 1:44 PM, Andre Masse wrote:
> Hi,
>
> Here's the background: XCode 4.1, Lion (10.7.1) non CoreData, document based
> application using the master/detail paradigm.
>
> I'm currently tr
That's it!!
Thanks a lot,
Andre Masse
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update y
Hello,
How would I determine which URI handlers are registered with the system? For
example, amzn://, fb://, etc.
Is there a way to determine this type of information?
Thanks,
-- Tito
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
Hi,
How can I open the CoreRecipes sample project in Xcode 4? The project seems to
be of an older version. With Xcode3 I get the option to update the project,
but then the save as dialog screen freezes.
Thanks,
- Koen.___
Cocoa-dev mailing list (C
I have a fullscreen window that should effectively disable window
cycling; because I've taken over the entire screen, it doesn't makes
sense to be able to bring other windows in front of the fullscreen
one.
NSWindow's NSWindowCollectionBehaviorIgnoresCycle collection behavior
only removes a window
Hello, I am needing to have AVPlayer output the video as an CVImageBufferRef in
real time instead of AVPlayerLayer. I am able to do this with QTKit and
QTPixelBufferContextCreate, however, QTKit is said to be dead and AVFoundation
is the future as well as AVFoundation is 64bit.
So far what I've
Hi Matt,
yes it is a Scripting Bridge question. I re-position the icon of a
FinderItem that way:
finderItem.position = newPos;
Anyway, as I have read on the web (didn't yet checked), you can resize a
closed window modifying the .DS_Store. But even if that is not true, if when
I open a folder I
Hi,
A quick word of warning, while QTKit is being deprecated for AVFoundation/Core
Media, there is no third party codec support in the new APIs. I would consider
this while you develop your app. I doubt that 3rd party codec support for Core
media is going to arrive as fast (or as complete) as w
On Oct 11, 2011, at 6:42 AM, Oleg Krupnov wrote:
> I'd like to get the mount options of a particular volume (like "rw",
> "nobrowse", "automounted" etc.) of a mounted volume, like those I get
> when I run "mount" command in the Terminal.
There are many ways to get volume information. For the mou
On Oct 11, 2011, at 1:12 PM, Todd Heberlein wrote:
> I was looking at the rich information provided by diskutil:
>
> $ diskutil info -plist /Volumes/blah
>
> NSWorkspace has some of this information, but I was wondering if there is a
> Cocoa object that provides more of the information pr
I understand this and have things to account for this already working. I would
explain what my program does, but that will take a long time. Basically the
reason I need it in CVImageBufferRef using YUV format of pixles is because I am
doing off process playing of video and just receiving the ima
On Oct 11, 2011, at 5:18 PM, Tito Ciuro wrote:
> How would I determine which URI handlers are registered with the system? For
> example, amzn://, fb://, etc.
>
> Is there a way to determine this type of information?
Not programmatically, I don't believe. (Launch Services will show you the URI
On Oct 11, 2011, at 7:37 PM, Arbit Richardi wrote:
> I have a fullscreen window that should effectively disable window
> cycling; because I've taken over the entire screen, it doesn't makes
> sense to be able to bring other windows in front of the fullscreen
> one.
>
> NSWindow's NSWindowCollecti
On 2011 Oct 11, at 16:07, Koen van der Drift wrote:
> How can I open the CoreRecipes sample project in Xcode 4? The project seems
> to be of an older version.
If it won't open, you need to make a "New Project" from scratch, delete some of
the default files, and then add files from CoreRecipes
On Tue, Oct 11, 2011 at 10:03 PM, Jerry Krinock wrote:
> That's known behavior. I just had it happen to me when attempting to convert
> an old Project Builder project with Xcode 3. However, that may be because I
> am committing the sin of using Xcode 3.2.5 alongside Xcode 4 in Lion.
Previous
Hi Ken,
Bingo! The f_flags field of statfs structure. Thanks, Ken.
I've also checked FSMegaInfo, but I haven't found any additional ways
to check the mount flags. It seems to use the same BSD statfs way.
Oleg.
On Wed, Oct 12, 2011 at 5:51 AM, Ken Thomases wrote:
> On Oct 11, 2011, at 6:42 AM,
On 11 okt 2011, at 22:12, Don Quixote de la Mancha wrote:
> Previous versions of Xcode supported installing multiple versions of
> Xcode. I found this useful for having old deployment targets that
> weren't supported in newer Xcodes, and to be able to open old project
> files without getting the
On Oct 12, 2011, at 1:12 AM, Oleg Krupnov wrote:
> On Wed, Oct 12, 2011 at 5:51 AM, Ken Thomases wrote:
>
>> On Oct 11, 2011, at 6:42 AM, Oleg Krupnov wrote:
>>
>>> I'd like to get the mount options of a particular volume (like "rw",
>>> "nobrowse", "automounted" etc.) of a mounted volume, like
28 matches
Mail list logo