The following reply was made to PR kern/122838; it has been noted by GNATS.
From: Jaakko Heinonen <[email protected]> To: Dmitry Marakasov <[email protected]> Cc: [email protected] Subject: Re: kern/122838: [devfs] devfs doesn't handle complex paths (like zvol/pool/vms) good Date: Tue, 21 Dec 2010 21:10:12 +0200 On 2010-12-08, Jaakko Heinonen wrote: > On 2008-04-17, Dmitry Marakasov wrote: > > devfs behavior on nested paths is really unintuitive and pretty hard to > > tune. > > The problem is that for directories and symbolic links, rules match > against single component name while for device files rules match against > full device path (si_name). This may cause unwanted effects. For > example, the rule "devfs fd hide" hides an entry /dev/label/fd/label. Here is an experimental patch to change rules to match against full path for directories and symbolic links: http://people.freebsd.org/~jh/patches/devfs-rule-fullpath.diff The problem with this change is that it breaks existing rulesets if someone relies on rules matching against single component of a path. -- Jaakko _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
