lkml.org 
[lkml]   [1998]   [Jan]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 5 Jan 1998 10:03:28 -0600
FromMichael Elizabeth Chastain <>
SubjectRe: PROPOSAL: /proc/dev
Hi Richard et al,

mec>   user opens device
mec>   hourly cron job snapshots owners and modes in /dev
mec>   system crashes
mec>   system reboots
mec>   init-job restores owners and modes in /dev

gooch> Good point. Yeah, you probably really want open_pty() instead. But, as
gooch> I said, this is a separate issue. Writing devfs is not about fixing
gooch> pty creation, but better management of *all* devices.

I believe that with the current disk-based /dev, and the same use case,
the same thing would happen -- when the system crashes, /dev/foo will
have the owner and mode that it did when it crashed, and some user-land
program has to fix it.  I could hit the big switch on my box and find
out.

So under the new scheme, if the new init-job runs very early,
it will have a compatible misfeature.  :)

Michael Chastain
<mailto:mec@shout.net>
"love without fear"

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008