Bacula-users

Re: [Bacula-users] decoding lstat data

2009-04-14 23:29:51
Subject: Re: [Bacula-users] decoding lstat data
From: Craig Ringer <craig AT postnewspapers.com DOT au>
To: "Kelly, Brian" <Brian.Kelly AT uwsp DOT edu>
Date: Wed, 15 Apr 2009 11:22:43 +0800
Kelly, Brian wrote:
> I've seen lots of posts regarding the decoding of Lstat data. I'm currently
> using a few functions to decoded the lstat data and make it human readable.
> These functions have been tested and are known to work with mysql 5.0.70

> CREATE FUNCTION MYBASE64_DECODE (input BLOB)

Isn't that .... slow?

> END |

> In this particular
> situation it's too bad the MIME type for each file isn't stored in the
> catalog.

Bacula can't store the MIME type, because it doesn't know the MIME type
of the files its storing. It only knows what the file system knows, and
few (if any) file systems keep track of MIME types.

--
Craig Ringer

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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