Deployment
Currently, sockdrive reporistory has only one active deployment, is sockdrive.js-dos.com:8001
. Geographically it is located in Europe, because of that speed can vary between regions.
We are looking forward to maintainers from other regions. If you want to create a sockdrive mirror, please let me know.
New deployment
You are also able to create your own sockdrive server with own drives, and run it locally or globally.
sockdrive server should work fine on any linux distribution like Ubuntu. Download the server and unpack it somewhere.
Folder structure:
included templates:
fat16-256m — empty 256Mb drive formatted in fat16
fat32-2gb — empty 2Gb drive formatted in fat32
included drives (./cli list system
):
owner | name | description |
---|---|---|
system | fat16-256m | Blank drive based on corresponding template |
system | fat32-2gb | Blank drive based on corresponding template |
system | test | Test drive used in backend unit tests |
system | dos7.1-v1 | DOS 7.1 with CDROM support |
system | win95-v1 | Minimal (256Mb) Windows 95 installation |
system | win95-v2 | Windows 95 (2Gb) with daemon tools |
system | win98-v1 | Windows 98 (2Gb) with daemon tools |
configuration file properties (config/props.json
):
property | description | default value |
---|---|---|
cert | path to ssl certificate file for wss:// support | js-dos.com certificate |
key | path to ssl certificate key file for wss:// support | js-dos.com certificate |
port | server port to use | 8001 |
templates | path to folder with templates | ./config/templates |
drivers | path to folder with drives | ./config/drives |
premium | list of emails that have full access to sockdrive even if this emails does not have js-dos subscription | dos.zone, caiiiycuk@gmail.com |
To start the server run backend executable:
At the beginning server will print configuration used and information about port used, like this:
Now you can use it with js-dos player, just add your server as sockdrive endpoint:
Open file limits
You should increase the limit of open files, edit /etc/security/limits.conf
add the following lines:
And restart PC.
Cli commands
Command | Description |
---|---|
create (owner) (name) (template) | Creates new drive owner/name from template |
| Will create me/empty drive based on fat16-256m template |
fork (owner) (name) (fork_owner) (fork_name) | Create new drive from existent one |
| Will create me/mywin from system/win95-v1 |
list (owner) | List all drives of owner + system drives |
| Will list all drives of me |
delete (owner) (name) | Delete specified drive |
| Will delete drive my/mywin |