Re: Quicklook not working for network volume items

2011-10-07 Thread Chris Paveglio
; } - Original Message - From: Norbert M. Doerner ndoer...@cdfinder.de To: cocoa-dev@lists.apple.com Cc: chris_paveg...@yahoo.com Sent: Wednesday, October 5, 2011 3:14 AM Subject: Re: Quicklook not working for network volume items Chris, I am trying to get Quicklook working in an app of mine. I'm

Re: Quicklook not working for network volume items

2011-10-07 Thread Kyle Sluder
On Oct 7, 2011, at 8:25 AM, Chris Paveglio chris_paveg...@yahoo.com wrote: I don't get any error messages at all. I feel like I am misunderstanding how quicklook works. Previously I had assumed that in general, QL stores a file preview inside of the actual file, like metadata, and calling a

Re: Quicklook not working for network volume items

2011-10-07 Thread Chris Paveglio
: Friday, October 7, 2011 11:33 AM Subject: Re: Quicklook not working for network volume items On Oct 7, 2011, at 8:25 AM, Chris Paveglio chris_paveg...@yahoo.com wrote: I don't get any error messages at all. I feel like I am misunderstanding how quicklook works. Previously I had assumed

Re: Quicklook not working for network volume items

2011-10-07 Thread Kyle Sluder
On Fri, Oct 7, 2011 at 1:06 PM, Chris Paveglio chris_paveg...@yahoo.com wrote: Thanks. One thing I found out after 6 more hours... I was not forming my URL correctly when I typed part of it out by hand. shoots self in head with finger @file://localhost/Volumes/... instead of

Re: Quicklook not working for network volume items

2011-10-05 Thread Norbert M. Doerner
Chris, I am trying to get Quicklook working in an app of mine. I'm not sure all these details are relevant, but better to have more than less info. I have a table that shows the number of files in certain folders on a network volume. In one column is the number of files, another column

Quicklook not working for network volume items

2011-10-04 Thread Chris Paveglio
I am trying to get Quicklook working in an app of mine. I'm not sure all these details are relevant, but better to have more than less info. I have a table that shows the number of files in certain folders on a network volume. In one column is the number of files, another column shows the first

network volume names changing etc.

2011-06-26 Thread Chris Idou
I've noticed that Mac OS sometimes silently changes the UNIX mount name of network volumes. For example, if I mount a network volume of Media, it would normally be /Volumes/Media, but sometimes it isn't. For example, if another user on the same machine mounts Media first, then you might end up

Re: network volume names changing etc.

2011-06-26 Thread Ken Thomases
On Jun 26, 2011, at 8:08 PM, Chris Idou wrote: I've noticed that Mac OS sometimes silently changes the UNIX mount name of network volumes. For example, if I mount a network volume of Media, it would normally be /Volumes/Media, but sometimes it isn't. For example, if another user

Re: Notification when network volume disappears

2010-06-15 Thread vincent habchi
Le 14 juin 2010 à 20:37, Jens Alfke a écrit : Last I heard (admittedly, a few years ago) there wasn’t any good way to do async/nonblocking filesystem operations. The standard system calls block; the O_NONBLOCK mode for fcntl only works on network socket streams; and the AIO API has (had?)

Notification when network volume disappears

2010-06-14 Thread Boris Prohaska
Hi guys, i was just wondering, is there any way to determine when for example a network cable is plugged off while copying data to a network share? The Finder has a pretty long timeout... Is there a way in the FS API or ANY other way to get notified, when a volume isn't available for writing

Re: Notification when network volume disappears

2010-06-14 Thread Ken Thomases
On Jun 14, 2010, at 4:52 AM, Boris Prohaska wrote: i was just wondering, is there any way to determine when for example a network cable is plugged off while copying data to a network share? The Finder has a pretty long timeout... Is there a way in the FS API or ANY other way to get

Re: Notification when network volume disappears

2010-06-14 Thread Boris Prohaska
Thats exactly the problem. IF the OS was aware of it, then there would be no problem. There is also no setting for timeouts etc when performing blocking operations onto the filesystem. Maybe that is a OS X limitation?? Boris On 14.06.2010, at 17:04, Ken Thomases wrote: On Jun 14, 2010, at

Re: Notification when network volume disappears

2010-06-14 Thread Ken Thomases
On Jun 14, 2010, at 11:40 AM, Boris Prohaska wrote: Thats exactly the problem. IF the OS was aware of it, then there would be no problem. There is also no setting for timeouts etc when performing blocking operations onto the filesystem. Maybe that is a OS X limitation?? The way around it

Re: Notification when network volume disappears

2010-06-14 Thread Jens Alfke
On Jun 14, 2010, at 11:13 AM, Ken Thomases wrote: The way around it is to not do blocking operations. Use non-blocking, asynchronous I/O operations, and impose the timeout yourself. Last I heard (admittedly, a few years ago) there wasn’t any good way to do async/nonblocking filesystem

Re: Notification when network volume disappears

2010-06-14 Thread mm w
I don't know which kind of connection you want to observe, but basically SCNetwork and SCNetworkReachability are your friends. then control these (and get the right conf) using two callback handlers use NSWorkspace to get your entry and your exit (if this case happens)

Re: Notification when network volume disappears

2010-06-14 Thread mm w
no you are in the weed there On Mon, Jun 14, 2010 at 9:40 AM, Boris Prohaska borisproha...@gmx.at wrote: Thats exactly the problem. IF the OS was aware of it, then there would be no problem. There is also no setting for timeouts etc when performing blocking operations onto the filesystem.

Re: Notification when network volume disappears

2010-06-14 Thread Ken Thomases
On Jun 14, 2010, at 1:37 PM, Jens Alfke wrote: On Jun 14, 2010, at 11:13 AM, Ken Thomases wrote: The way around it is to not do blocking operations. Use non-blocking, asynchronous I/O operations, and impose the timeout yourself. Last I heard (admittedly, a few years ago) there wasn’t

10.6 :- Problems with mounted network volume path.

2009-09-16 Thread Shashanka L
Hello, I have a problem with 10.6 in identifying the mounted network volume. My system has a local volume - 'Leopard'. When I mount a volume 'Leopard' from some other system in my network, the path it shows is '/ Leopard'. (There is no '/Volumes' at the beginning!) Here in my application

Re: 10.6 :- Problems with mounted network volume path.

2009-09-16 Thread Kyle Sluder
On Wed, Sep 16, 2009 at 6:35 AM, Shashanka L shashank...@robosoftin.com wrote: My system has a local volume - 'Leopard'. When I mount a volume 'Leopard' from some other system in my network, the path it shows is '/Leopard'.  (There is no '/Volumes' at the beginning!) I have noticed this

Re: 10.6 :- Problems with mounted network volume path.

2009-09-16 Thread Kyle Sluder
JFTR, I am no longer seeing this problem on 10.6.1. If you have not yet updated, please file the bug report before updating, in case the update does something that could obscure the cause of the problem. --Kyle Sluder ___ Cocoa-dev mailing list

Re: Network volume

2008-12-24 Thread Nor
Thank you VERY mucy, indeed, guys.I think I can get through my problem, thanks to you all. Happy Holiday! Norio ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Network volume

2008-12-24 Thread Michael Ash
. Note that there is no such thing as the network. Most Macs have multiple network interfaces active at any given time. If the AirPort connection is cut, you don't want to suddenly remove a network volume that's mounted over Ethernet! Furthermore, many network filesystems such as NFS and WebDAV

Network volume

2008-12-23 Thread norio
Hi, It might be easy thing but I don't know how to know whether or not the volume is a network's one? Would you tell me how? Thank you, Norio ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Network volume

2008-12-23 Thread Nor
My view displays file system including some network volumes hierarchically as one of Finder's style does.When the network is unexpectedly cut, I'd like to remove the network volumes from the view before didUnmount notification. I could get the faster way by using System Configuration when the line

Re: Network volume

2008-12-23 Thread Jerry Krinock
On 2008 Dec, 23, at 14:02, Nor wrote: But I don't know which volumes were networks'. Well, I'd imagine you'd have the same problem if the USB cable on a local drive was yanked out. So, you need to identify anything not on the startup volume. I know this is a stupid answer, but

Re: Network volume

2008-12-23 Thread Ken Thomases
the original poster. If the OS is capable of informing you that a network connection has been cut (via the network reachability API, for example) then it would also notice that the network volume had become unavailable and would deliver the unmount notification. By monitoring the unmount

Re: Network volume

2008-12-23 Thread Ben Trumbull
On 2008 Dec, 23, at 14:02, Nor wrote: But I don't know which volumes were networks'. if (0 == statfs(fileName, stats_buf)) { localFS = ((stats_buf.f_flags MNT_LOCAL) == MNT_LOCAL); statfs will also tell you if the volume is the root volume. - Ben

To determine if the application is running from a network volume?

2008-09-30 Thread Nethan Aryan
the parent application from the network volume. So my question is how to determine if the application is running from a network volume? Thanks in advance -Nethan Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite

Re: To determine if the application is running from a network volume?

2008-09-30 Thread Stéphane Sudre
want this tool to work in case the user is running the parent application from the network volume. So my question is how to determine if the application is running from a network volume? statvfs maybe? ___ Cocoa-dev mailing list (Cocoa-dev