From: ccmail111 <ccm...@ya...> - 2010-08-19 17:35:06
|
Thank you, Question re: unrestricted ioctl in fuse as in I see: * * Note: For unrestricted ioctls (not allowed for FUSE * servers), data in and out areas can be discovered by giving * iovs and setting FUSE_IOCTL_RETRY in @flags. For * restricted ioctls, kernel prepares in/out data area * according to the information encoded in cmd. * * Introduced in version 2.8 I have a requirement to use unrestricted ioctl using FUSE in my FUSE server. Is there an example ? Thanks ! --- On Fri, 8/13/10, Allen Pulsifer <pul...@co...> wrote: From: Allen Pulsifer <pul...@co...> Subject: RE: [fuse-devel] FUSE and lseek To: "'ccmail111'" <ccm...@ya...> Cc: fus...@li... Date: Friday, August 13, 2010, 4:56 PM After an application calls seek, you will see it reflected in the offset argument the next time either the read or write function is called. -----Original Message----- From: ccmail111 [mailto:ccm...@ya...] Sent: Friday, August 13, 2010 4:38 PM To: Stef Bon Cc: fus...@li... Subject: Re: [fuse-devel] FUSE and lseek Thanks Stef for prompt response. Is there anyone who is expert on topic to shed some light ? Unless I missed, I donot see seek callback (similar to open/read) in code. Thanks, Sunil. --- On Fri, 8/13/10, Stef Bon <st...@gm...> wrote: From: Stef Bon <st...@gm...> Subject: Re: [fuse-devel] FUSE and lseek To: "ccmail111" <ccm...@ya...> Cc: fus...@li... Date: Friday, August 13, 2010, 4:29 PM Yes, but I'm not an expert on this topic. According to me seek is supported, cause files presented by FUSE are seekable. Simple. After opening a file, FUSE supports it. The patch you mention, has something to do with bmap support. Stef 2010/8/13 ccmail111 <ccm...@ya...> can someone please respond ? --- On Thu, 8/12/10, ccmail111 <ccm...@ya...> wrote: From: ccmail111 <ccm...@ya...> Subject: FUSE and lseek To: fus...@li... Date: Thursday, August 12, 2010, 8:07 PM Hi, I downloaded FUSE 2.8.4. I donot see support for lseek. Is this right ? I donot see lseek patch integrated: http://kerneltrap.org/mailarchive/linux-kernel/2008/8/28/3115424 Any suggestions? Thanks ! CM ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ fuse-devel mailing list fus...@li... https://lists.sourceforge.net/lists/listinfo/fuse-devel ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ fuse-devel mailing list fus...@li... https://lists.sourceforge.net/lists/listinfo/fuse-devel |