Hi, Edgar Pettijohn wrote on Fri, May 17, 2019 at 03:47:41PM -0500: > On 5/17/19 2:34 PM, Nathan Hartman wrote:
>> In the history of the (Berkeley) Fast File System, has there ever >> been an attempt to implement DOS-like undelete for FFS/UFS? >> >> Maybe that could work for "normal delete" while making available a >> separate "secure delete" that cannot be un-deleted [...] Hell no. That is absolutely not wanted. It's actually one of the (many) advantages of UNIX over DOS that commands really do what they promise, taking the user seriously and not trying to second-guess them or try to be their nanny: rm(1) means remove. Period. Anything else would just be plain silly. > I'm thinking something like a trashcan. Where rm(1) actually just > moves the files to some predetermined location then on shutdown > all files older than some configureable date are actually unlinked. What an abominable, misguided idea. If you want mv(1), don't use rm(1). Just use mv(1), dammit! And if you want /tmp, simply use /tmp... The answer is really as simple as that. Yours, Ingo