xfs
[Top] [All Lists]

RE: open from kernel

To: "Seth Mos" <knuffie@xxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Subject: RE: open from kernel
From: "santhosh kumar" <santhosh.kumar@xxxxxxxxx>
Date: Tue, 12 Nov 2002 16:10:19 +0530
Sender: linux-xfs-bounce@xxxxxxxxxxx
Thread-index: AcKKM4K/pixB9SoGSdyqW14ygFOM1wABCR+c
Thread-topic: open from kernel
Yes, i have XFS fileystem support. I am able to open the file, but my read 
fails. The operations in user-space works.
 
I think i am missing something before calling read. (Note: i am doing 
set_fs(KERNEL_DS), before calling read.
 
Thanks
Santhosh

        -----Original Message----- 
        From: Seth Mos [mailto:knuffie@xxxxxxxxx] 
        Sent: Tue 11/12/2002 3:36 PM 
        To: santhosh kumar; linux-xfs@xxxxxxxxxxx 
        Cc: 
        Subject: Re: open from kernel
        
        

        At 15:18 12-11-2002 +0530, santhosh kumar wrote:
        >Hi,
        >
        >     I am not able to open files present in XFS filesystem from kernel
        > space. Is this a limitation or should i need to something in order to
        > achieve the same. I am using the O_DIRECT flag
        
        You need a kernel with XFS filesystem support to be able read files from
        XFS filesystems.
        
        if you "cat /proc/filesystems" does it contain the xfs string?
        
        Cheers
        
        --
        Seth
        It might just be your lucky day, if you only knew.
        
        



<Prev in Thread] Current Thread [Next in Thread>