Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!batata.huji.ac.il!amoss From: amoss@batata.huji.ac.il (amos shapira) Newsgroups: comp.unix.wizards Subject: Re: Raw disk I/O Message-ID: <703@shuldig.Huji.Ac.IL> Date: 24 Mar 90 14:30:19 GMT References: <22552@mimsy.umd.edu> Sender: daemon@ucbvax.BERKELEY.EDU Lines: 21 chris@mimsy.umd.edu (Chris Torek) writes: >>1) Does file locking via fcntl() still apply ? >No, because there are no files. fcntl() does not do file locking in BSD >anyway: fnctl() for locking is a System V feature. BSD provides only >flock(). While it's true that there are no files in the partition used, the process should still be able to lock the partition itself (e.g. /dev/rxsd0c), which could help provide some degree of consistency. Correct me if I have a mistake. >In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) >Domain: chris@cs.umd.edu Path: uunet!mimsy!chris Cheers, - Amos Shapira - amoss@batata.huji.ac.il[.bitnet] Super users do it without asking for permission - me.