Original Post
I'm looking for a way for a program to create a temporary private mount point, which would be automatically unmounted (and ideally deleted) as soon as the program is killed. The program would have to have full access to the files in the mount including browsing directories and opening new files. This would be analogous to how temporary files are often used after unlinking them. I'm prepared to use SUID executables and Linux kernel calls but I'd still like the method to be general enough to be portable to other unixes (preferably without hacking the kernel [smile]).