USB Drive Functions

<< Click to Display Table of Contents >>

Navigation:  Support > Athena Support > Athena Operating System >

USB Drive Functions

Each Raspberry Pi device is configured with a series of possible USB Drive Functions; these are operations that take place when a USB drive is inserted into the pi.

Once a usb drive is inserted into the machine, a gui scrolled text screen will appear with important messages regarding the usb drive function (if a monitor is attached to the unit).

All messages from the function will be logged in a file on the inserted USB during the operation

In order for a USB to be validated and perform a USB Drive Function, it must contain a text file named sharedKey.txt which should match the sharedKey.txt file located in /home/pi/.est

The name of the USB does not matter when executing USB Drive Functions

The USB Drive Function to execute is determined by the name of the folder at the base level of the USB Drive


The directory structure of any USB Drive attempting to perform a USB Drive Function should be similar to the following:

USB Drive (E:)/
├── sharedKey.txt
└── USBFunctionDir/
    └── neededFile.json


NOTE: The name of the 'USBFunctionDir' and the files it contains will vary between USB Drive Functions 


To perform a USB Drive Function on an EST Unit, perform the following steps:

1.Configure the USB drive to match the file structure required by the wanted USB Drive Function (see the cases in this section)

2.While an est unit is on and completely booted up, insert the USB drive into any USB port on the machine

3.Remove the usb after a message is displayed stating it is safe to do so. If no monitor is available (such as on the NC100 target), wait at least 30 seconds for the operation to complete 


Once the USB Drive Function is complete, a text log file should appear in the base of the USB, which should contain the date-time the USB was detected, the hostname of the machine the USB was inserted, and any debug messages that occurred during the function's execution.