Russell Coker writes:
 > Could someone please write up some /etc/magic entries for reiserfs?
 > 
 > I think it should be something like:
 > 0x10034 string ReIsErFs Old Reiserfs
 > 0x10034 string ReIsEr2Fs New Reiserfs
 > 
 > But that doesn't work for some reason...

Take source distribution of file, increase HOWMANY in file.h (at least
to 0x10050), recompile and it'll work.

Stock file(1) only looks at the 16384 first bytes of the file.

By the way, are you considering sending your magic entry to the
directory maintainer? If so, can you reword it to "ReiserFS v3.5" and
"ReiserFS v3.6" otherwise we'll end with miserable "Newest Reiserfs"
etc.

 > 
 > -- 

Nikita.

Reply via email to