Russell Coker writes:
 > >  > What do you think of the following?
 > >
 > > s/short/leshort/
 > > s/long/lelong/
 > 
 > Thanks for the suggestion guys.  I have submitted a bug report to the Debian 
 > BTS.
 > 
 > Could someone please submit bug reports for Red Hat etc?  I presume that Suse 
 > is getting this right.  ;)
 > 
 > 0x10034  string  ReIsErFs ReiserFS V3.5
 > 0x10034  string  ReIsEr2Fs ReiserFS V3.6
 > >0x1002c leshort x block size %d
 > >0x10032 leshort &2 (mounted or unclean)
 > >0x10000 lelong  x num blocks %d
 > >0x10040 lelong  =1 tea hash
 > >0x10040 lelong  =2 yura hash
 > >0x10040 lelong  =3 r5 hash
 > 
 > Also here is an entry for swap files:
 > 0xff6   string  SWAP-SPACE Version 0 Swap file for 4K pages

By the way, I just found that my perfectly valid reiserfs file-system
triggers above check. It was created on what was earlier swap device and
mkreiserfs didn't clear first 16 blocks, so put this line after ones for
reiserfs in your magic file.

 >  
 > 0xff6   string  SWAPSPACE2 Version
 > >0x400  long    x %d Swap file for 4K pages
 > >0x404  long    x size %d pages
 > 
 > Here's one for compressed RAM file systems:
 > 0   lelong    0x28cd3d45      Linux Compressed ROM File System, little endian
 > 0   belong    0x28cd3d45      Linux Compressed ROM File System, big endian
 > 
 > -- 
 > http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
 > http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
 > http://www.coker.com.au/projects.html Projects I am working on
 > http://www.coker.com.au/~russell/     My home page

Reply via email to