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

Re: Locking of serial devices and devfs



According to Marcus Brinkmann:
> On Thu, Jun 21, 2001 at 01:27:59PM +0000, Miquel van Smoorenburg wrote:
> > In article <[🔎] 01062113085107.16434@lyta>,
> > Russell Coker  <russell@coker.com.au> wrote:
> > >Here is a bug report that I have just filed against ppp.  I think that 
> > >the same issue also affects other programs that lock serial ports.  What 
> > >do you think of my suggested solution?
> > 
> > I think you should try pushing the SVR4 locking standard instead-
> > don't lock on device name but on major/minor
> 
> This will not work on the Hurd at all, as the major/minor number pair does
> not convey any information useful in this context (usually, it is just 0/0).

I was just throwing an idea around, not making a policy request ;)
On the Hurd, would using the inode number work ?

Mike.



Reply to: