cvs commit: src/sys/fs/devfs devfs_rule.c

Mike Makonnen mtm at identd.net
Thu Jan 22 00:19:57 PST 2004


On Wed, Jan 21, 2004 at 08:43:29AM -0800, Colin Percival wrote:
> cperciva    2004/01/21 08:43:29 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/fs/devfs         devfs_rule.c 
>   Log:
>   Allow devfs path rules to work on directories.  Without this fix,
>   devfs rule add path fd unhide
>   is a no-op, while it should unhide the fd subdirectory.

Does this affect /etc/defaults/devfs.rules?

I am assuming that the 'add hide' in the first ruleset will now also
hide /dev/fd (where it previously didn't). In that case will the
'add path fd/* unhide' in a later rule unhide the fd/ directory? Does
it need a separate 'add fd unhide'?

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | Fingerprint: 00E8 61BC 0D75 7FFB E4D3  6BF1 B239 D010 3215 D418
mtm at FreeBSD.Org| FreeBSD - Unleash the Daemon !


More information about the cvs-src mailing list