DragonFly users List (threaded) for 2008-08
DragonFly BSD
DragonFly users List (threaded) for 2008-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mutt's buffy-list


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2008 12:06:53 +0200
Mail-followup-to: users@crater.dragonflybsd.org

On Wed, Aug 27, 2008 at 12:49:13PM -0700, Matthew Dillon wrote:
>     I could fake it I guess, but programs really have no business making
>     assumptions about directories based on their st_nlinks or st_size
>     fields.

At least nlinks == 2 is a hard-coded assumption for leaf directories in
various programs like find(1). You don't have to change the link count
for every file create/destroy, only directories.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]