Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2005 17:46:52 +0100
From:      Milan Obuch <milan@dino.sk>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Question: tracking filesystem changes?
Message-ID:  <200502011746.52908.milan@dino.sk>
In-Reply-To: <41FFA801.8070307@rojer.pp.ru>
References:  <41FF6869.5060709@rojer.pp.ru> <41FF8B00.2010208@fer.hr> <41FFA801.8070307@rojer.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 01 February 2005 17:02, Deomid Ryabkov wrote:
> >>>> This could be a custom filesystem wrapper for UFS that would report
> >>>> name of the file/directory being changed.
> >>>
> >>> Couldn't you use kqueue system to monitor the directory-file?
> >>
> >> I could, if I hadn't near 10 millions of them.
> >
> > Hm. I meant monitoring the directory itself, as a file, then parsing
> > the directory list to determine what has changed. But with 10M files,
> > probably nothing would work...
>
> these are 10M of static documents, the daily change is minmal.
> the question is: where it is the appropriate place to collect those
> changes? the right way seems to implement a customs filesystem, but would
> it possible to obtain a full path at that level?
>

Did you consider using fam (file alteration monitor) from ports?
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502011746.52908.milan>