On Sun, Oct 18, 2009 at 11:42:26AM +0530, Ritesh Raj Sarraf wrote:
> On Sunday 18 Oct 2009 08:42:30 alex wrote:
> > I have added 
> > 0       string  \037\135\211    FuseCompress(ed) data
> > to /etc/magic 
> > 
> > but when I file <compressed file> I get data, when I look at it with hexer
> >  this is the first line I see
> > 
> > 00000000:  01 1f 01 5d ff 89 04 e6
> > 
> > the 2 don't seem to match up
> > 
> 
> Do you mean that compressed files in fusecompress mounted folder, don't get 
> the 
> correct mime type ?

nope other way around

from my fstab

fusecompress#/backups/.max     /backups/max   fuse
defaults,fc_c:bzip2    0 0

ls -l .max/max/alexMail.zip  max/max/alexMail.zip
-rw-r--r-- 1 root root 333M Oct 17 22:06 .max/max/alexMail.zip
-rw-r--r-- 1 root root 335M Oct 17 22:06 max/max/alexMail.zip


file .max/max/alexMail.zip  max/max/alexMail.zip 
.max/max/alexMail.zip: data
max/max/alexMail.zip:  Zip archive data, at least v1.0 to extract


but it seems to work okay

Alex



> 
> r...@champaran:/tmp/compress $ ls
> apt-offline-0.9.4.zip  ipw2200.log.gz
> 
> r...@champaran:/tmp/compress $ file *
> apt-offline-0.9.4.zip: Zip archive data, at least v1.0 to extract
> ipw2200.log.gz:        gzip compressed data, was "ipw2200.log", from Unix, 
> last modified: Wed Oct 14 17:59:48 2009
> 
> r...@champaran:/tmp/compress $ mount
> /dev/mapper/VgSd-ROOT on / type ext4 (rw,acl,user_xattr,errors=remount-
> ro,commit=360)
> snip...
> fusectl on /sys/fs/fuse/connections type fusectl (rw)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
> (rw,noexec,nosuid,nodev)
> fusecompress on /tmp/compress type fuse.fusecompress 
> (rw,nosuid,nodev,default_permissions,user=rrs)
> 
> Ritesh



-- 
"Every religion is welcomed in our country; all are practiced here."

        - George W. Bush
02/07/2002
Washington, DC
one of many less-than-sincere remarks made at a National Prayer Breakfast

Attachment: signature.asc
Description: Digital signature

Reply via email to