Fwd: Re: [fuse-devel] Getting fuse fs type from userspace

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: [fuse-devel] Getting fuse fs type from userspace

Paul Alfille
I think we should set the filetype to "owfs#/dev/ttyS0" or
"owfs#10.1.2.3:3001" although using multiple buses would be a problem.
Perhaps only "owfs"

Paul

----------  Forwarded Message  ----------

Subject: Re: [fuse-devel] Getting fuse fs type from userspace
Date: Thursday 23 June 2005 01:13 pm
From: Miklos Szeredi <[hidden email]>
To: [hidden email]
Cc: [hidden email], [hidden email]

> >However, df and mount just indicate that we're on a "fuse" fs,
> >which is clearly not enough.
> >Is there a way to get that information? Otherwise, would
> >you be interested in a patch exporting to, lets say, /proc/fuse/
> >the mounted fs and their types?
>
> For my 'fuse' file-system:
>
> /proc/mounts shows:
> muirfs /muirfs fuse
> rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
>
> Clearly it is showing the correct file-system type. Perhaps this is
> because in the mount options for my file-system, I use 'fsname=muirfs'.

Yes, setting fsname to the filesystem type is a nice way to
differentiate different FUSE based filesystems.  When you want to use
fsname for other information you can set it to "type#otherinfo".

For example sshfs sets it to "sshfs#host:path".

Miklos


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
fuse-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fuse-devel

-------------------------------------------------------


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers