Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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