Is it possible to use PRoot to mount a directory as a VFS?

39 views
Skip to first unread message

Victoria Stuart

unread,
Jan 29, 2015, 11:00:26 PM1/29/15
to proo...@googlegroups.com
Hello: a new PRoot user here.

I have a directory at work (CentOS 6), ~/mp , that I would like to mount as a virtual file system (VFS).

I don't have root (sudo), and Systems people here can be over-zealous, in their gate-keeping capacity.

Needed for TMSU (http://tmsu.org/), a file tagger.

Thanks ...

Christophe Guillon

unread,
Jan 30, 2015, 4:38:54 PM1/30/15
to proo...@googlegroups.com
Hi,

I do not think it will be possible to use proot for mounting a VFS without any priviledge.

You may though implement a virtual file system with a PRoot plugin, and for instance emulate a  TMSU VFS of your own, quite an amount of work, nearly what is done in the TMSU VFS code itself. Though if you do not care much about completness, I suppose it may be possible in your use case to just emulate getdirent().

Then the difference will be that access to your mount point must be under the control of PRoot, i.e. applications/commands will have to be launched under PRoot or a PRooted shell or session.

I think that Cédric as some plans to implement a VFS support in PRoot in future versions (not for mounting an existing VFS implementation, but for offering a VFS like interface), not sure what it will be, but I suppose that it will ease the reuse of some existing VFS code by bridging it to the PRoot VFS interface easily.




--

---
You received this message because you are subscribed to the Google Groups "PRoot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proot_me+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Victoria Stuart

unread,
Jan 30, 2015, 4:45:23 PM1/30/15
to proo...@googlegroups.com
Hi Christophe; thank you for your reply -- appreciated!  :-)


--

---
You received this message because you are subscribed to a topic in the Google Groups "PRoot" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/proot_me/liw9NXaABBk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to proot_me+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages