[lkml]   [2002]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: rm-ing files with open file descriptors
    Miquel van Smoorenburg <> said:


    > There is no way to recreate a file with a nlink count of 0,
    > well that is until someone adds flink(fd, newpath) to the kernel.

    It stays around under /proc/<pid>/fd/<xxx>, so you could grab it there. It
    is _announced_ as a symlink to the deleted file, but you get its contents
    anyway. [2.4.18pre4]
    Horst von Brand # 22616
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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