home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!ncar!uchinews!machine!chinet!les
- From: les@chinet.chi.il.us (Leslie Mikesell)
- Subject: Re: The Problem with UNIX
- Message-ID: <Bxvws6.IsF@chinet.chi.il.us>
- Organization: Chinet - Public Access UNIX
- References: <1992Nov9.172715.16367@cs.wisc.edu> <1992Nov14.151318.1376@global.hacktic.nl> <1992Nov17.132517.9313@thunder.mcrcim.mcgill.edu>
- Date: Tue, 17 Nov 1992 23:48:05 GMT
- Lines: 16
-
- In article <1992Nov17.132517.9313@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
-
- >That's a point. They should have had the guts to dump creat() when
- >they folded it into open(). (Or are you saying they shouldn't have
- >extended open? Would you prefer to have a separate syscall for each
- >permutation of flag bits in the second argument to current open()?)
-
- I'd prefer to have more arguments - for example to control locking the
- file atomically with the open(). It just seems so inelegant to open
- a file, possibly creating it, and then to have to fight with other
- processes over who has control of it. And the traditional unix solution
- of using separate lockfiles has a worse problem: there's no way to
- remove a stale one safely.
-
- Les Mikesell
- les@chinet.chi.il.us
-