release notes
| Book:
1.9.5,
1.9.12 (opt, FHS),
2.6 (FHS),
2.7 (FHS),
2.8 (FHS),
2.9 (FHS),
2.10 (FHS),
2.11 (FHS),
| Wiki
| Q&A
The WriteToken
tag is a directory tag. Create the
WriteToken
tag with
[root] #
chimera-cli writetag <directory> WriteToken [<IdOfSpaceReservation>]
Example:
In the beginning of the Book we created the directory
/data
and the
subdirectory /data/world-writable
.
[root] #
chimera-cli ls /data/
total 3 drwxr-xr-x 3 0 0 512 Jul 23 14:59 . drwxrwxrwx 3 0 0 512 Jul 24 14:33 .. drwxrwxrwx 12 0 0 512 Jul 24 14:41 world-writable
Now, we create the directory data/write-token
into which we
want to write
[root] #
chimera-cli mkdir /data/write-token
[root] #
chimera-cli chmod /data/write-token 777
[root] #
chimera-cli ls /data/
total 4 drwxr-xr-x 4 0 0 512 Aug 09 12:48 . drwxrwxrwx 3 0 0 512 Jul 24 14:33 .. drwxrwxrwx 12 0 0 512 Jul 24 14:41 world-writable drwxrwxrwx 2 0 0 512 Aug 09 12:48 write-token
and echo the space reservation into the WriteToken tag.
[root] #
chimera-cli writetag /data/write-token WriteToken [10000]