[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] slow update/status on NFS
From: |
Ethan Blanton |
Subject: |
Re: [Monotone-devel] slow update/status on NFS |
Date: |
Wed, 23 May 2007 15:12:55 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Nathaniel Smith spake unto us the following wisdom:
> To start with, there's absolutely no need to check that a path is a
> file before opening it for reading -- if it's not a file, then the
> read will fail just fine on its own. I threw that assertion in
> because at the time I figured if we were already reading the whole
> file than a stat was too cheap to worry about, but if this is wrong
> then let's take that out and handle errors from read.
Is this true on all reasonable filesystems and operating environments?
I know that there are flavors of Unix out there (maybe *all* flavors
of Unix older than some age?) which will let you open() and read() a
directory.
Ethan
--
The laws that forbid the carrying of arms are laws [that have no remedy
for evils]. They disarm only those who are neither inclined nor
determined to commit crimes.
-- Cesare Beccaria, "On Crimes and Punishments", 1764
signature.asc
Description: Digital signature
- Re: [Monotone-devel] slow update/status on NFS, (continued)
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Matt Johnston, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Nathaniel Smith, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS,
Ethan Blanton <=
- Re: [Monotone-devel] slow update/status on NFS, Nathaniel Smith, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Zack Weinberg, 2007/05/24
- [Monotone-devel] Re: slow update/status on NFS, Pavel Cahyna, 2007/05/29
- Re: [Monotone-devel] Re: slow update/status on NFS, Zack Weinberg, 2007/05/29
- Re: [Monotone-devel] slow update/status on NFS, Benoît Dejean, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Benoît Dejean, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Stephen Leake, 2007/05/24
- Re: [Monotone-devel] slow update/status on NFS, Benoît Dejean, 2007/05/25
- Re: [Monotone-devel] slow update/status on NFS, Justin Patrin, 2007/05/28
- Re: [Monotone-devel] slow update/status on NFS, Derek Scherger, 2007/05/28