discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GWorkspace 0.7.0, System, Applications and restart


From: Robert Slover
Subject: Re: GWorkspace 0.7.0, System, Applications and restart
Date: Sat, 19 Mar 2005 14:58:16 -0500

I don't know how portable it is, but you can resolvepath(2) the file path, stat(2) it, look at the dev_t member, stat(2) the directory, look at the dev_t member of that, stat(2) the directory's parent, look at dev_t, etc., and so on back up the file tree toward the root. When dev_t changes, you've found the filesystem's mount point.

--Robert

On Mar 19, 2005, at 2:20 PM, Enrico Sersale wrote:

On 2005-03-16 17:27:47 +0200 M. Uli Kusterer <Witness.of.TeachText@gmx.net> wrote:

At 10:12 Uhr +0000 16.03.2005, MJ Ray wrote:
One missing(?) feature from 0.6.3: I didn't find how to delete
without moving to the recycle bin. Sometimes I want to do that,
because the recycle bin is on a different partition and it's
a slow device for copying. I resorted to pasting to Terminal.
You'll probably want to solve that at the recycle bin level, like OS X does it: In OS X, every drive has its own hidden trash folder. So, when you open the trash, you get the files in all those folders listed as if they were in one, and when you trash them they stay on whatever drive they are.

GWorkspace is only an application. It can't know which partitions exist and where are their mount points.



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep






reply via email to

[Prev in Thread] Current Thread [Next in Thread]