| To: | Russell Coker <russell@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Regex question - maybe devfsd should use REG_EXTENDED |
| From: | Richard Gooch <rgooch@xxxxxxxxxxxxx> |
| Date: | Thu, 18 Oct 2001 16:40:17 +1000 |
| Cc: | Greg Ward <gward@xxxxxxxxxx>, devfs@xxxxxxxxxxx |
| In-reply-to: | <20011017175922.D31713656DC@xxxxxxxxxxxxxxxxx> |
| References: | <20011013185814.A1334@xxxxxxxxxxxxxxxxxxxxxxxxx> <20011014233903.B405732889F@xxxxxxxxxxxxxxxxx> <200110160215.f9G2FaH26921@xxxxxxxxxxxxxxxxxxxxxxx> <20011017175922.D31713656DC@xxxxxxxxxxxxxxxxx> |
| Sender: | owner-devfs@xxxxxxxxxxx |
Russell Coker writes:
> On Tue, 16 Oct 2001 04:15, Richard Gooch wrote:
> > Cough! As if I know! The regular subexpression code was contributed by
> > Chris Rankin. I assume he tested it, since I think he used it. Check
> > the devfsd.conf(5) man page for examples of regular subexpression use.
> > In that page it tells you what you need to know to get it working. I
> > won't tell you the answer, because I want you to read the manual :-)
>
> REGISTER ^ide.*(part.) CFUNCTION GLOBAL symlink $devname \1
>
> OK, the above is my test expression. It is to create symlinks
> /dev/part? that point to /dev/ide/host*/bus*/target*/lun*/part? (I
> know it's pretty crappy and I wouldn't do it in production but it's
> a usable test).
>
> I ran it with the regular devfsd freshly compiled and it didn't
> work.
Of course not! devfsd.conf(5) tells you why not.
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Regex question - maybe devfsd should use REG_EXTENDED, Greg Ward |
|---|---|
| Next by Date: | Re: Regex question - maybe devfsd should use REG_EXTENDED, Richard Gooch |
| Previous by Thread: | Re: Regex question - maybe devfsd should use REG_EXTENDED, Russell Coker |
| Next by Thread: | Re: Regex question - maybe devfsd should use REG_EXTENDED, Greg Ward |
| Indexes: | [Date] [Thread] [Top] [All Lists] |