new bcachefs support from thomas at t-8ch dot de

This commit is contained in:
Christos Zoulas 2023-02-20 16:23:19 +00:00
parent f1b483eba0
commit cfefe16cf6
4 changed files with 22 additions and 13 deletions

View File

@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# $File: filesystems,v 1.155 2023/02/04 13:31:07 christos Exp $
# $File: filesystems,v 1.156 2023/02/20 16:23:19 christos Exp $
# filesystems: file(1) magic for different filesystems
#
0 name partid
@ -2603,19 +2603,25 @@
>10 ubelong x \b-%08x
>14 ubeshort x \b%04x
0x1018 string \xc6\x85\x73\xf6\x4e\x1a\x45\xca\x82\x65\xf5\x7f\x48\xba\x6d\x81 bcachefs
>0x1068 lequad 8 \b, UUID=
>>0x1038 use bcachefs-uuid
>>0x1048 string >0 \b, label "%.32s"
>>0x1010 uleshort x \b, version %u
>>0x1012 uleshort x \b, min version %u
>>0x107a byte x \b, device %d
0 name bcachefs bcachefs
>0x68 lequad 8 \b, UUID=
>>0x38 use bcachefs-uuid
>>0x48 string >0 \b, label "%.32s"
>>0x10 uleshort x \b, version %u
>>0x12 uleshort x \b, min version %u
>>0x7a byte x \b, device %d
# assumes the first field is the members field
>>0x12f4 ulelong 0x01 \b/UUID=
>>>0x12f0 default x
>>>&(0x107a.b*56) use bcachefs-uuid
>>0x107b byte x \b, %d devices
>>0x1090 byte ^0x02 \b (unclean)
>>0x2f4 ulelong 0x01 \b/UUID=
>>>0x2f0 default x
>>>&(0x07a.b*56) use bcachefs-uuid
>>0x07b byte x \b, %d devices
>>0x090 byte ^0x02 \b (unclean)
0x1018 string \xc6\x85\x73\xf6\x4e\x1a\x45\xca\x82\x65\xf5\x7f\x48\xba\x6d\x81
>0x1000 use bcachefs
0x1018 string \xc6\x85\x73\xf6\x66\xce\x90\xa9\xd9\x6a\x60\xcf\x80\x3d\xf7\xef
>0x1000 use bcachefs
# EROFS
# https://kernel.googlesource.com/pub/scm/linux/kernel/git/xiang/erofs-utils/\

View File

@ -11,6 +11,8 @@ arj.result \
arj.testfile \
bcachefs.result \
bcachefs.testfile \
bcachefs2.result \
bcachefs2.testfile \
cl8m8ocofedso.result \
cl8m8ocofedso.testfile \
cmd1.result \

1
tests/bcachefs2.result Normal file
View File

@ -0,0 +1 @@
bcachefs, UUID=4fa11b1e-75e6-4210-9167-34e1769c0fe1, label "Label", version 26, min version 26, device 0/UUID=0a3643b7-c515-47f8-a0ea-91fc38d043d1, 1 devices (unclean)

BIN
tests/bcachefs2.testfile Normal file

Binary file not shown.