Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe...
by diegoperini on Wednesday October 24, 2018 @01:13PM
(#18294363)
What about undo that expires in 1 minutes? Gmail website does that for sent emails (for 5 seconds I guess).
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe...
by hk__2 on Wednesday October 24, 2018 @01:39PM
(#18294618)
> What about undo that expires in 1 minutes? Gmail website does that for sent emails (for 5 seconds I guess).
Same question as parent: "And do what when tmp gets full and services & applications start crashing?"
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe...
by kungtotte on Wednesday October 24, 2018 @11:55PM
(#18298461)
You could do what is more or less an industry standard when it comes to this and warn the user that there's not enough room to allow an undo when deleting said file(s) and prompt if they want to delete it permanently instead.
It's not rocket surgery.
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe...
by jxy on Wednesday October 24, 2018 @02:11PM
(#18294899)
I'm never that nervous when doing `rm -fr` on my Plan9 or FreeBSD or macOS systems, which all have frequent snapshots turned on.
We could all just work with WORM drives instead.
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe...
by Skunkleton on Wednesday October 24, 2018 @03:58PM
(#18295823)
I am similarly not worried on my Linux system, which also has frequent snapshots turned on. Instead I worry about bugs in btrfs, but that is another story.
And do what when tmp gets full and services & applications start crashing?
When someone implements that undo, someone's going to need to write a tool that really does remove files, really. Will the next guy wonder why really-rm doesn't have undo built in?