svn commit: r206560 - head/sys/fs/devfs

Jaakko Heinonen jh at FreeBSD.org
Wed Apr 14 14:20:05 UTC 2010


On 2010-04-14, Kostik Belousov wrote:
> > Otherwise sounds reasonable suggestion. However changes are needed in
> > devfs. Currently devfs_populate_loop() is not along the make_dev*()
> > code path but make_dev(9) increases a generation counter and
> > devfs_populate_loop() gets called sometimes later. To make things more
> > complex there may be several devfs mounts with different symlinks (files).
> Right, my point of my suggestion was to not modify populate_loop() at all.

How you would detect an attempt to create a duplicate file then? Please
note that there may be directories and user created symbolic links. The
file set may be different on different devfs mounts.

-- 
Jaakko


More information about the svn-src-all mailing list