The WriteToken
tag is a directory tag. Create the
WriteToken
tag with
[root] #
/usr/bin/chimera writetag <directory> WriteToken [<IdOfSpaceReservation>]
Example:
In the beginning of the Book we created the directory
/data
and the
subdirectory /data/world-writable
.
[root] #
/usr/bin/chimera 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] #
/usr/bin/chimera mkdir /data/write-token
[root] #
/usr/bin/chimera 777 chmod /data/write-token
[root] #
/usr/bin/chimera 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] #
/usr/bin/chimera writetag /data/write-token WriteToken [10000]