HXFS(4) HXFS(4)
NAME
hxfs - hexamite active badges file system
SYNOPSIS
hxfs [ -A ] [ -d ] [ -s srv ] [ -m mnt ] [ -n addr ] [ -c
config ] [ -V volspec ] iofile
DESCRIPTION
Hexamite provides active badges that can be used to provide
location for users and devices. There are ultrasound micro-
phones intalled in the space that receive sound beacons from
the active badges carried by users. The only button on each
badge adjusts the interval between beacons. It cycles
between a power-off state and different intervals. The led
on the badge blinks on each beacon.
Hxfs services a file system that includes a file per badge.
Each file contains the current location (or locations) for
the badge. There can be more than one active location if
several receivers are in range with the badge. Only the
three most recent locations are kept, sorted from newest to
oldest.
Names for badges and locations are configured in
/sys/lib/hxconf, or config when supplied. This file contains
a series of id=name expressions, which map the hexamite
identifier id (printed on the badge) to name.
Note that this driver is not intended to provide location
information for programs, /who, /where, and /what should be
used instead for that purpose. Other processes can use hxfs
to update such directories according to heuristics accept-
able for the users involved.
Hexamite receivers are networked using telephone cable and
gatewayed through a serial port to the rest of the system.
The iofile parameter is the file used to obtain raw sensor
data, usually a serial port.
Other options determine debug and how to export the file
system and announce the volume, like said in planb(4).
SOURCE
/sys/src/cmd/hxfs.c
FILES
/sys/lib/hxconf
Page 1 Plan 9 (printed 11/30/25)