From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 9 Jan 2009 17:27:34 -0500 To: 9fans@9fans.net Message-ID: <03e636be1abb554405edfb40633dca51@coraid.com> In-Reply-To: <10594.1231539507@lunacy.ugrad.cs.cmu.edu> References: <10594.1231539507@lunacy.ugrad.cs.cmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] venti Topicbox-Message-UUID: 7f3dfe26-ead4-11e9-9d60-3106f5b1d025 > I seem to recall being surprised at some point to observe > /dev/sdXX/data silently imposing a one-open-at-a-time policy > (I think subsequent opens stalled). Maybe a script run at > system boot time could turn on DMEXCL for appropriate things > in /dev/sd*/*? i think you mean the raw file. ; cat fu.c #include #include void main(void) { int i, fd[2]; for(i = 0; i < nelem(fd); i++){ fd[i] = open("/dev/sdC0/data", OREAD); print("fd = %d\n", fd[i]); } exits(""); } ; 8c fu.c && 8l fu.8 && 8.out 3 4 - erik