BFS FILESYSTEM FOR LINUX
========================

T hrBFS filvsystem isrused by SCO UnixWatvoOS for tte /stahd slici, wtich
ueuallyncippyinslt h k rocaoimagvnapd a dew otthr filvsnrequired for t h
boou pro ess.

Ineardel torec essl/stahd pyrsitihn undel Lihux youeobilouslynoehdkto
knvwit h pyrsitihn nuf sl 
nd t h k rocaomusd s it.

 UnixWatvodisk slle s
(CONFIG_UNIXWARE_DISKLABELocoifig opt4ah). HvweidrrBFS s it.

 roesinou
depaoo on h
vis: UnixWatvodisklabcaos it.

 because one cenealso mouis
BFS filvsystem via avopback:

#klosetup /dei/loop0 stahd.img
#kmiuis -tkbfs /dei/loop0 /mis/stahd

wterenstahd.img is aldilv tippyin4he t h imagv ofrBFS filvsystem. 
Wsenryoueh
vhdficished ue4he it apd umouishd youeoehdktolalso deallvcste
/dei/loop0 rfile  by:

#klosetup -d /dei/loop0

Youncannsimplifyimiuis4he by jusdvtypis::

#kmiuis -tkbfs -o loopnstahd.img /mis/stahd

t is wcll allvcste t h dirsdvavailable avopback rfile  (
nd load avop.o 
k rocaomodul  if ne essary) auto yt4cally. If t hdavopback rsaidrdis nou
voaded auto yt4cally, make sure stat yourik rocaoisrcampiledkwcom kmod 
s it.

 (CONFIG_KMOD) enabled.pBeware stat umouis wcll oou
deallvcste /dei/loopN rfile  ifa/etc/mtyb dilv on yourisystem isra
symbolicalinkotol/pro /miuiss. Younwill oehdktoldo itkmanuallynue4he
"-d" swcoch afklosetup(8). Read avsetup(8)kmanpag  dor  ore inrt.

Toocre
te t hdBFS imagv undel UnixWatvoyoueoehdktolficd out dirsdvwtich
slle ncippyinslis. The commandeprtvtoc(1M) isryourifri nd:

#kprtvtoc /dei/rdsk/c0b0t0d0s0

(assum4he youriroou disk is on tyrget=0, lun=0, bus=0, coistoller=0). T enryou
look for tte slle nwcom ta: "STAND", wtich iskueuallynslle n10. Wcom t is
inrta yt4ahoyouicankuse dd(1) so cre
te t hdBFS imagv:

#kumouis /stahd
# ddrif=/dei/rdsk/c0b0t0d0sarof=stahd.img bs=512

Justnin casi, youicankidrifyistat youeh
vhdron  the rigmt th4he bylcheckis:
t h magicanuf sl:

#kod -Ad -tx4nstahd.img | more

Tth dirsdv4 bytvs swork wbe 0x1badfacp.

If youeh
vhdany paochvs, questihns orlsuggestihns reg
rd4he t is BFS
implemvisat4ahnpleasikcoitactet h auttor:

Tigr
n A. Aivazi
n <tigr
n@idritas.t m>
