Trash Spec Idea

Patrice Dumas pertusus at
Mon Aug 18 08:26:40 PDT 2008

On Fri, Aug 15, 2008 at 03:59:23AM +0100, João Valverde wrote:
> I have to disagree there. You're hard coding something that can be  
> provided dynamically by the kernel. I wrote some basic proof of concept  
> type code and it seems to work well. It prints to stdout all the mount  
> points associated with device nodes. Even as a command line tool maybe  
> it could fill a legitimate need if improved. I'm attaching it in case  
> anyone is interested, I hope that's OK.

Just in case you don't know, it seems that setmntent/getmntent are not
that portable. On sun (some solaris) the structures are different with
I  guess it is what is explained in the NOTES in the getmntent(3) man
page on linux.


More information about the xdg mailing list