mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
Update example
This commit is contained in:
parent
73ee192dc3
commit
6d9afeab7f
1 changed files with 6 additions and 1 deletions
|
@ -70,7 +70,6 @@ rm -rf /tmp/melamine_hardlinks && mkdir -p /tmp/melamine_hardlinks;
|
||||||
for i in $(seq 1 4); do dd if=/dev/urandom of=/tmp/melamine/test_$i bs=1 count=$(( RANDOM % 256 * 256 )); done;
|
for i in $(seq 1 4); do dd if=/dev/urandom of=/tmp/melamine/test_$i bs=1 count=$(( RANDOM % 256 * 256 )); done;
|
||||||
ln /tmp/melamine/test_1 /tmp/melamine_hardlinks/hardlink_1;
|
ln /tmp/melamine/test_1 /tmp/melamine_hardlinks/hardlink_1;
|
||||||
ln /tmp/melamine/test_2 /tmp/melamine_hardlinks/hardlink_2;
|
ln /tmp/melamine/test_2 /tmp/melamine_hardlinks/hardlink_2;
|
||||||
melamine --recursive /tmp/melamine
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then confirm that the two hardlink inodes match using `ls -li`.
|
You can then confirm that the two hardlink inodes match using `ls -li`.
|
||||||
|
@ -80,6 +79,12 @@ ls -li /tmp/melamine/test_*;
|
||||||
ls -li /tmp/melamine_hardlinks/hardlink_*;
|
ls -li /tmp/melamine_hardlinks/hardlink_*;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then, run melamine with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
melamine --recursive /tmp/melamine
|
||||||
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
If you would like to contribute to this project, feel free to submit a pull request or open an issue on GitHub.
|
If you would like to contribute to this project, feel free to submit a pull request or open an issue on GitHub.
|
||||||
|
|
Loading…
Reference in a new issue