Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 17:20:00 +0300
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r206560 - head/sys/fs/devfs
Message-ID:  <20100414141959.GA3276@a91-153-117-195.elisa-laajakaista.fi>
In-Reply-To: <20100414130343.GO2415@deviant.kiev.zoral.com.ua>
References:  <201004131853.o3DIrdOT035078@svn.freebsd.org> <20100414084037.GK2415@deviant.kiev.zoral.com.ua> <20100414124912.GA2950@a91-153-117-195.elisa-laajakaista.fi> <20100414130343.GO2415@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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