devfs_register succeeds but no device appears

From: Jack (jack_at_yankeeboysoftware.com)
Date: 03/20/04


Date: Sat, 20 Mar 2004 19:44:53 +0000

Am I being thick ?

Doesn't a successful call to devfs_register result in a new entry in /dev
with a name equivalent to the name I provide as follows

/* Shamelessly ripped out of usb-skeleton.c */

/* initialize the devfs node for this device and register it */
sprintf(name, "skel%d", dev->minor);

dev->devfs = devfs_register (usb_devfs_handle, name,
                             DEVFS_FL_DEFAULT, USB_MAJOR,
                             USB_SKEL_MINOR_BASE + dev->minor,
                             S_IFCHR | S_IRUSR | S_IWUSR |
                             S_IRGRP | S_IWGRP | S_IROTH,
                             &skel_fops, NULL);

What happens when I don't have devfs support in my kernel ?



Relevant Pages

  • Re: Windows XP KB920214 Security Update For Outlook Express
    ... (Links to web pages and MSKB Articles are posted for the purposes of keeping the ... |> update is there another entry which is "green" successful for the same update? ... It just places another entry after the ... |> up in the history as successful/failed. ...
    (microsoft.public.windowsupdate)
  • Re: Windows Updates
    ... Is there another entry further up the list to ... say that those 'Failed' Updates have been 'Successful' at a later date? ... | removing them please. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Quiz TV
    ... your entry was not successful. ... Thanks for participating and ... please keep watching." ...
    (uk.rec.competitions)
  • Re: how to search AD for object with email address
    ... > tks Dave, that looks like it should find it. ... >>>c10312e7" but I'm blowed if I can find the entry. ... >>>I've tried using ldp but cannot get a successful search, ...
    (microsoft.public.exchange2000.active.directory.integration)
  • Re: Design question
    ... > if your using DataAdapters you can catch the RowUpdated Event ... > see if it was successful or not... ... > End sub ... >> DB and based on entries they perform some tasks.Once entry is read it ...
    (microsoft.public.dotnet.languages.vb)