On Tuesday 12 September 2006 12:06, Oliver Fromme wrote: > Roy Marples wrote: > > Stanislav Sedov wrote: > > > But they wants the value 0 to be returned in case of no errors, and > > > since there are no errors in case of no files opened on mountpoint, > > > returning non-zero could break some apps that relies on POSIX > > > functionality. > > > > > > IIRC, solaris resembles the same behavior. > > > > OK, you win - I'll parse the output :) > > There's no need to parse it. If you only want to know if > _any_ process is accessing a file at all, it's sufficient > to check if stdout from fuser is non-empty.
Of course, that's what I meant ;) -- Roy Marples <[EMAIL PROTECTED]> Gentoo/Linux Developer (baselayout, networking) _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

