Re: Changing the default GVFS backend mount point.



On Fri, 2009-05-22 at 14:57 +0530, CM Reddy wrote:
> Hi 
> Gvfs-bakend local test application always mount's the root "/" as
> default mount point. However, I need to mount some other location
> (say /usr/local/share) as my default mount point. I tried to change
> mount prefix to /usr/local/share, but it failed mount to the said
> location. 
> 
> What is usage of the mount_prefix in GMountSpec ?
> 
> GVFS-LS shows the following output:
> 
>  # gvfs-mount -l
> Mount(0): localtest -> localtest:///
> 
> What should additional steps do I need add in do_mount() function to
> alter the default mount point ?
> 
> Any help will be highly appreciated.

localtest: is just a small test thing. It doesn't do much and what it
does is pretty hardcoded. For instance, there is no way currently to do
what you want. It should be easy for you to add to the code though.




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