Download Latest Version schily-2021-09-18.tar.bz2 (5.0 MB)
Email in envelope

Get an email when there's a new version of Schily Tools

Home / kernel / fbk
Name Modified Size InfoDownloads / Week
Parent folder
mount_fbk-largefile-s_9 2002-07-09 56.2 kB
README 2001-11-02 4.0 kB
README.howto 2001-10-02 726 Bytes
fbk.sparcv9.sol2.7 1999-11-23 24.9 kB
fbk.sparcv9.sol2.8 1999-11-21 25.2 kB
fbk.sparc.sol2.8 1999-11-19 14.7 kB
fbk.tar.gz 1999-07-27 7.0 kB
fbk.x86.sol2.7 1999-07-27 8.2 kB
fbk.sparc.sol2.7 1998-07-26 14.3 kB
fbk.x86.sol2.6 1998-05-24 8.1 kB
fbk.sparc.sol2.6 1997-09-11 14.0 kB
fbk.x86.sol2.5.1 1997-07-11 8.6 kB
fbk.sparc.sol2.5.1 1997-05-16 14.0 kB
fbk.x86.sol2.5 1996-12-19 11.2 kB
fbk.sparc.sol2.5 1996-02-14 11.6 kB
SCHILYfbk.i386.tar.Z 1996-02-06 25.7 kB
Copyright 1996-02-01 1.1 kB
SCHILYfbk.sparc.tar.Z 1996-02-01 28.2 kB
Totals: 18 Items   277.5 kB 0
The fbk driver is allows you to mount files that contain images of filesystems.

To install:

	cd /tmp 
	get SCHILYfbk.sparc.tar.Z
	uncompress SCHILYfbk.sparc.tar.Z
	tar -xvf SCHILYfbk.sparc.tar
as root:
	pkgadd -d .

NOTE:
	Be very carefull. pkgadd does not check for the right target 
	architecture. Do not indstall drivers for intel on sparc
	and vice versa. You will get a corrupt system.

So for Solaris x86 you should do:

	cd /tmp 
	get SCHILYfbk.i386.tar.Z
	uncompress SCHILYfbk.i386.tar.Z
	tar -xvf SCHILYfbk.i386.tar
as root:
	pkgadd -d .

*******
NOTE: as you can read below, you will need to copy an actual fbk driver to /kernel/drv
Installation can be made easier if you copy the right file to /kernel/drv before
you call 'pkgadd'. When asked if pkgadd should overwrite the conflicting files
answer with 'no'.
*******

The post install will fail in both cases (sparc/x86) if you are using 
a newer release than Solaris-2.4.

Fbk cannot be made DDK/DKI compatible because
Sun didn't made a published and binary stable interface for 
the vnode/vfs layer. This implies that fbk has to be recompiled
for evry new release of Solaris :-(

fbk will not run on Solaris 2.5 sparc unless you copy the file "fbk.sparc.sol2.5"
to "/kernel/drv/fbk" after installing the fbk package. 
fbk will not run on Solaris 2.5.1 sparc unless you copy the file "fbk.sparc.sol2.5.1"
to "/kernel/drv/fbk" after installing the fbk package. 
fbk will not run on Solaris 2.6 sparc unless you copy the file "fbk.sparc.sol2.6"
to "/kernel/drv/fbk" after installing the fbk package. 
fbk will not run on Solaris 7 sparc unless you copy the file "fbk.sparc.sol2.7"
to "/kernel/drv/fbk" after installing the fbk package. 

fbk will not run on Solaris 2.5 x86 unless you copy the file "fbk.x86.sol2.5"
to "/kernel/drv/fbk" after installing the fbk package. 
fbk will not run on Solaris 2.5.1 x86 unless you copy the file "fbk.x86.sol2.5.1"
to "/kernel/drv/fbk" after installing the fbk package. 
fbk will not run on Solaris 2.6 x86 unless you copy the file "fbk.x86.sol2.6"
to "/kernel/drv/fbk" after installing the fbk package. 
fbk will not run on Solaris 7 x86 unless you copy the file "fbk.x86.sol2.7"
to "/kernel/drv/fbk" after installing the fbk package. 

A typical command line would look like:

	cp /tmp/fbk.sparc.sol2.7 /kernel/drv/fbk

+++++++++++++++++++++++++++++++
For 64bit kernels, you need to copy the sparc9 version of the driver to:
/kernel/drv/sparcv9/fbk
+++++++++++++++++++++++++++++++

After this copy operation, you need to call:

	drvconfig
and
	devlinks

************ NOTE *************

Do not do any package add after you added the fbk package and before 
you copied the correct fbk driver to /kernel/drv/fbk

The machine will panic because the next package add will force to load
all drivers including the wrong fbk driver.

On Solaris 8 (and probanly on S7 with patched) you need to edit devlink.tab 
after the installation:

	replace "fbk\N0" resp. "rfbk\N0" by "fbk\A0" resp. "rfbk\A0"

and re-run devlinks

If you like more than one /dev/fbk* device, edit /kernel/drv/fbk.conf
and add more lines (e.g. name="fbk" parent="pseudo" instance=1;)
make sure that the fbk driver is not in use,
then call "modunload -i 0", "drvconfig" and "devlinks"

*******************************


I tried to compile fbk it on a x86 2.4 machine with a copy of the 
2.5 include files. The result is not tested, but the other version
won't run on Solaris 2.5 x86 anyway.


To mount a filesystem:

mount -F fbk /dev/fbk0:file_to_mount /mnt

The default filesystem to mount is ufs, if you want to mount a iso 9660
filesystem, type:

mount -F fbk -o ro,type=hsfs /dev/fbk0:file_to_mount /mnt


You may combine other mount options for a specific filesystem with
the type=fstype option.

If you want a less verbose console you may add:

	set fbk:fbk_debug = 0

in /etc/system

	Joerg Schilling

If you have questions, send mail to:

	HOME: 		joerg@schily.isdn.cs.tu-berlin.de
	UNIVERSITY:	js@cs.tu-berlin.de
	WORK:		schilling@fokus.gmd.de
Source: README, updated 2001-11-02