327
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 16: ADVANCED CONFIGURATION
16.17.3 CONFIGURING FTP AND TFTP DIRECTORY
The FTP or TFTP services can be configured to serve different directories via the command line. For example:
config -s config.services.ftp.directory=/var/mnt/storage.usb/\
my-ftp-dir
config -r services
The directory will be created if it doesn’t already exist.
16.17.4 MOUNTING A PREFERRED USB DISK BY LABEL
Currently, the “first” USB storage device is mounted at /var/mnt/storage.usb by detecting the lowest numbered disk partition, for
example /dev/sda1. This can be constrained to match a particular port or a labelled device.
Attach the USB disk you plan to use.
Look in directories /dev/disk/by-path/ or /dev/disk/by-label/ to find a suitably stable way of identifying your disk.
Use the following command to see the current device matching string used:
# config -g config.storage.usb.device
Change the path match with (for example):
# config -s config.storage.usb.device=/dev/disk/by-label/1103