[openbeos] Re: Incorrect File Sizes

  • From: "Scott MacMaster" <zqxh@xxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Wed, 4 Dec 2002 09:47:27 -0500

My main point wasn't that the api should include the size of attributes in
the returned file size.  My main point was that tracker should include the
size of attributes.  This could be done by adding it to the file size or
displaying it as a separate.  While I know how to get the size of attribute
(which requires a lot more work then it should) the average user wouldn't
know how.  For this reason tracker should display the size of attributes.


Scott MacMaster

----- Original Message -----
From: "François Revol" <revol@xxxxxxx>
To: <openbeos@xxxxxxxxxxxxx>
Sent: Wednesday, December 04, 2002 4:21 AM
Subject: [openbeos] Re: Incorrect File Sizes


> This has been discussed multiple time already...
> We simply can't report the total size as filesize, because it would break
> all applications that doesn't deal with attributes (including all POSIX
> things).
> Also attributes are just what their name tell, just "attributes to a
file",
> not part of it :-)
>
> François.
>
> En réponse à Scott MacMaster <zqxh@xxxxxxx>:
>
> > From the BeBook, I found two ways to get the file size.
> >
> > BStatable::GetSize()
> > BStatable::GetStat()
> >
> > Not much is said about either method.  However, it looks like they
> > return
> > just the regular size.
> >
> > It's simple to get the size of a file's attributes.  I think it would
> > make
> > more sense if tracker displayed the total file size.
> >
> >
> > Scott MacMaster
> >
> > ----- Original Message -----
> > From: "Donovan Schulteis" <deej@xxxxxxxxxxxx>
> > To: <openbeos@xxxxxxxxxxxxx>
> > Sent: Tuesday, December 03, 2002 2:01 PM
> > Subject: [openbeos] Re: Incorrect File Sizes
> >
> >
> > > >The bug is simply, the size of attributes aren't added to the file
> > > size.
> > >
> > > Most mail clients, even many on BeOS itself, do not send the
> > attributes
> > > with the file, so it was probably something not expected to be
> > needed.
> > >
> > > Is there even some sort of system call that can get the attributes
> > size
> > > in the BeAPI (total for all attributes or for a single attribute)?
> > I
> > > suppose I could grab my BeBook and find out myself, but it's in the
> > > other room, and I'm being lazy tonight.  :P
> > >
> > > Is this something that should be there if it isn't already?  If so,
> > is
> > > this an RFC item for the OSBOS standards?  :P
> > >
> > > Deej
> > >
> > >
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/2002
> >
> >
> >
>
>
>
>
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/2002


Other related posts: