[prev in list] [next in list] [prev in thread] [next in thread]
List: fuse-devel
Subject: Re: [fuse-devel] How to use abort
From: Miklos Szeredi <miklos () szeredi ! hu>
Date: 2009-09-08 13:08:56
Message-ID: E1Ml0RM-0002dI-Ow () pomaz-ex ! szeredi ! hu
[Download RAW message or body]
On Tue, 8 Sep 2009, Csaba Henk wrote:
> On 2009-09-08, Miklos Szeredi <miklos@szeredi.hu> wrote:
> > On Tue, 08 Sep 2009, Yariv Omer wrote:
> >> I want to send an abort to the fuse how can i do it?
> >
> > echo 1 > /sys/fs/fuse/connections/*/abort
> >
> > If you've got more than one fuse filesystem, you need to replace '*'
> > with the device number of that fs.
>
> Btw, I was always wondering, how can you find out the device number
> belonging to a certain fuse mount from userspace?
On linux it is in the third column of /proc/self/mountinfo. It's in
MAJOR:MINOR format, and needs to be converted to a device number,
which requires some bit shuffling.
Or "stat -c%d mountpoint" will also tell you if you have permission to
access the mount.
Thanks,
Miklos
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic