[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Proposal: Extended Attribute support in Kioslave: File
From:       "John Tapsell" <johnflux () gmail ! com>
Date:       2006-05-05 18:21:52
Message-ID: 43d8ce650605051121v40604d57p24edae74e42adf2d () mail ! gmail ! com
[Download RAW message or body]

Hi,
  Could you also add a function to return the size of the file on
disk.  I have filed a bug/wish against qt for this, but I doubt it
will be done in QFile.  If you are working in this area could you add
it to the kioslave instead?  This is particulary useful for those of
us who have sparse files.

If you aren't sure exactly how to do it I can offer some pointers.
(Basically use stat to get the number of blocks it uses and multiple
by block size)
Thanks!

John

On 5/5/06, David Faure <faure@kde.org> wrote:
> On Friday 05 May 2006 08:31, Daniel Nakata wrote:
> > As an initial step toward my goal of saturating KDE with support for extended
> > attributes, I'd like to suggest the following modifications to the kdelibs
> > codebase:
> >
> > 1) Add --enable-xattr to configure(.in(.in)), and have it define HAVE_XATTR,
> > if -lattr works (libattr is available).  If so, add "-lattr" to LIBS.
>
> In trunk we use cmake, so no configure.in.in anymore.
> In any case we check for libattr anymore (in both kde3 and kde4), due to the ACL support.
> We don't check for attr/xattr.h though, but for sys/xattr.h...
>
> > How does this sound?  I'm willing to write it up if there's a chance it would
> > make it into KDE officially.
>
> This sounds good for kdelibs trunk (kde4).
>
> --
> David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
> Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
>
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic