Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milabs/kmod_fstrash
POC of the Linux kernel's trash module
https://github.com/milabs/kmod_fstrash
Last synced: 2 months ago
JSON representation
POC of the Linux kernel's trash module
- Host: GitHub
- URL: https://github.com/milabs/kmod_fstrash
- Owner: milabs
- Created: 2014-01-26T16:22:19.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-08T12:48:40.000Z (about 10 years ago)
- Last Synced: 2023-03-30T09:09:48.591Z (almost 2 years ago)
- Language: C
- Size: 174 KB
- Stars: 9
- Watchers: 5
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About
This module is a POC of the Linux kernel "move to trash" implementation
## Usage
Given the compiled module:
1. Use `insmod fstrash.ko` to load the module
2. Use `mkdir /.fstrash` to create the trash folder
3. ... run `find /.fstrash -iname XXX_* -mmin 5 exec rm -f {} \;` or similar by the CRON
4. Use `rmdir -rf /.fstrash` to remove the trash folder
5. Use `rmmod fstrash` to unload the module## Credits
Written by Ilya V. Matveychikov , distributed under GPL