[lkml]   [2003]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Using get_cwd inside a module.
    On Nov 22, 2003  10:15 +0000, Christoph Hellwig wrote:
    > On Sat, Nov 22, 2003 at 10:33:34AM +0100, Juergen Hasch wrote:
    > > Dnotify doesn't return the file names that changed, changedfiles does.
    > > I've looked into this, because Samba would benefit from such a functionality.
    > >
    > > So maybe it would be possible to teach dnotify to return file names
    > > (e.g. using netlink) ?
    > Well, you can't return filenames. There's no unique path to a give
    > file.

    Since the caller is already watching a specific directory, it doesn't
    need to know the full pathname, just the inode number that changed.
    Then Samba et. al. could do an inode->name(s) lookup on the directory.

    Cheers, Andreas
    Andreas Dilger

    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:58    [W:0.019 / U:94.412 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site