libmagic issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

libmagic issue

Yaşar İslam
Hi all,


I m using libmagic for my application on FreeBSD. I have some problems. libmagic doenst  return properly mimetype of file. For example :

system is FreeBSD 8.2-RELEASE .
example.7z  is my file.

file --mime-type example.7z ---->   application/octet-stream  

file example.7z ---->  7-zip archive data, version 0.3    and when i try to test same file on linux (ubuntu 12.04) :

file --mime-type example.7z  ---->   application/x-7z-compressed
file example.7z  ----> 7-zip archive data, version 0.3

why does not  FreeBSD behave like linux ? i need the result application/x-7z-compressed  after i type as command file --mime-type example.7z..

Any would be appreciated.

Thanks ... I.Yasar
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-user-groups
To unsubscribe, send any mail to "[hidden email]"