mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-10 23:04:04 +09:00
adding gzip/replaced bad base64 impl with libgdx's
This commit is contained in:
45
assets/tvdos/filesystem.md
Normal file
45
assets/tvdos/filesystem.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Syntax
|
||||
## Reserved directories
|
||||
* `$DEVICE<device_number>`
|
||||
|
||||
## Reserved files
|
||||
* `$DEVICE<device_number>/$BOOT` — associates to bootloader, exact filename depends on the filesystem the device uses
|
||||
|
||||
# Drivers
|
||||
Filesystem driver is just an executable that can do file I/O to one specific filesystem it supports.
|
||||
|
||||
Filesystem drivers, just as regular TVDOS drivers, resides in `<root>/TVDOS/DRIVERS/`
|
||||
|
||||
# Commands
|
||||
|
||||
## cp
|
||||
`[cp|copy] <source> <destination>`
|
||||
|
||||
Executes following command:
|
||||
```
|
||||
<filesystem>.fs cp <source> <dest>
|
||||
```
|
||||
|
||||
## mv
|
||||
`[mv|move] <from> <to>`
|
||||
|
||||
Executes following command:
|
||||
```
|
||||
<filesystem>.fs mv <from> <to>
|
||||
```
|
||||
|
||||
## touch
|
||||
`touch <path>`
|
||||
|
||||
Executes following command:
|
||||
```
|
||||
<filesystem>.fs touch <path>
|
||||
```
|
||||
|
||||
## format
|
||||
`format -f [tsvm|flat|tree] [ -b <path_to_bootloader> ] <device_number>`
|
||||
|
||||
Executes following command:
|
||||
```
|
||||
<filesystem>.fs format <device_number> [ <path_to_bootloader> ]
|
||||
```
|
||||
Reference in New Issue
Block a user