[lkml]   [1996]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectUndelete in user space
    I don't believe that you need kernel support to undelete files.

    Data is not cleared from the disk until the last process which has it opened
    closes it. All you have to do is have a daemon hold onto it until it is time
    to close, and hence remove the data, or until you send a signal to the
    daemon to put the file back, whereupon it may be relinked.

    This means that the libc unlink call would need to be tweaked to send a signal
    to a root-owned 'dustbin daemon' letting it know what needs to be looked
    after, and utilities would have to be made available to alter when it
    worked and how recovery was handled.

    | Timothy Towers,, Grimwiz on IRC, Linux/Net Guru |
    | Don't believe everything you read, hear or say |
    +------------------------PGP key available------------------------------------+

     \ /
      Last update: 2005-03-22 13:37    [W:0.016 / U:12.224 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site