Create volume
Before you can log in, mount directories, or manage allowed applications, you must first create a volume.
Commands
Navigate to the location where the 'fbmega' executable file is stored.
cd /namusoft/megaclient
A Volume is created using the fbmega executable with the following command:
./fbmega -volume [volume_name]
Execution Result: Unique Executable File
Running this command creates a new executable file named [volume_name] (e.g., mysql_volume, web_volume) in the same directory as the original fbmega file.
This new [volume_name] file itself becomes the dedicated command-line interface for managing that specific volume.
Usage
After creation, all subsequent operations for this volume (such as login, mounting, and app management) must be performed using the newly created [volume_name] executable, not the original fbmega file.
[Login and Mount Command Example]
./[volume_name] -mount mount_path -addr xxx.xxx.xxx.xxx-port yyyy -id abc
[Allowed App Management Command Examples]
./[volume_name] -alwapp -add -p 앱_경로 -d 접근_경로 -o 권한
./[volume_name] -alwapp -list
./[volume_name] -alwapp -rm -p 앱_경로 -d 접근_경로
Comments
Article is closed for comments.