Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 1995 12:07:28 -0700 (PDT)
From:      Poul-Henning Kamp <phk@ref.tfs.com>
To:        julian@TFS.COM (Julian Elischer)
Cc:        hackers@FreeBSD.org
Subject:   Re: [DEVFS] related matters
Message-ID:  <199504231907.MAA27675@ref.tfs.com>
In-Reply-To: <m0s2ybU-0003voC@TFS.COM> from "Julian Elischer" at Apr 23, 95 03:09:00 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 1/time: 
> 	it appears that 'time' is not set up at teh time of device probing.
> 	this means that the fields in the device structures that 
> 	correspond to mtime, atime and ctime are initialised to 
> 	teh epoch (Jan1 1970).. which is obviously NOT one of the
> 	options for the correct value..
> 	possible work-arounds include:
> 	a/	passing through the whole tree later and 'touching'
> 		each device (yuk).
Well, this is exactly what the chmod/own/grp script will do, isn't it ?

> 	I would like to move these two initialisations to be BEFORE the
> 	device initialisations.. Can anyone see what the problems are
> 	with this..
not really...

> 3/DEVICES that are never attached.
> 	Some devices are never probed or attached in the same way that 
> 	(say) a serial port is.. An example of this is /dev/mem.
> 	I would like to either
> 	a/	add a special table of such devices
> 		at the beginning of autoconf or somewhere, so that
> 		they can have entries placed in the devfs for them..
We already have a TEXT_SET(pseudo_set,) that should be used.

-- 
Poul-Henning Kamp <phk@login.dknet.dk> -- TRW Financial Systems, Inc.
'All relevant people are pertinent' && 'All rude people are impertinent'
=> 'no rude people are relevant'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504231907.MAA27675>