linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Smirl <jonsmirl@yahoo.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: remove nodes in a directory
Date: Fri, 09 Jan 2004 21:20:27 +0000	[thread overview]
Message-ID: <20040109212027.66548.qmail@web14919.mail.yahoo.com> (raw)
In-Reply-To: <20040109191121.48518.qmail@web14905.mail.yahoo.com>

[root@smirl drm]# udev dri
<7>main: version 012_bk
<7>get_dirs: sysfs_path='/sys'
<7>parse_config_file: reading '/etc/udev/udev.conf' as config file
<7>main: called by hotplug
<7>udev_hotplug: looking at '/class/dri/card0'
<7>namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
<7>namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions
file
<7>sleep_for_dev: looking for '/sys/class/dri/card0/dev'
<7>get_class_dev: looking at '/sys/class/dri/card0'
<7>get_class_dev: class_dev->name='card0'
<7>get_major_minor: dev='226:0
'
<7>get_major_minor: found major"6, minor=0
<7>get_sysfs_device: filename = /sys/class/dri/card0
<7>get_sysfs_device: looking for '/sys/class/dri/card0/device'
<7>sysfs_path_is_link: stat() failed
 
<7>sysfs_path_is_link: stat() failed
 
<7>sysfs_path_is_link: stat() failed
 
<7>sysfs_path_is_link: stat() failed
 
<7>sysfs_path_is_link: stat() failed
 
<7>namedev_name_device:
sysfs_device->path='/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0'
<7>namedev_name_device: sysfs_device->bus_id='0000:01:00.0'
<7>namedev_name_device: sysfs_device->bus='pci'
<7>wait_for_device_to_initialize: looking for file 'vendor' on bus 'pci'
<7>namedev_name_device: kernel_number='0'
<7>do_callout: dev->bus='scsi' sysfs_device->bus='pci'
<7>do_label: dev->bus='usb' sysfs_device->bus='pci'
<7>do_label: dev->bus='usb' sysfs_device->bus='pci'
<7>do_label: dev->bus='usb' sysfs_device->bus='pci'
<7>do_number: dev->bus='pci' sysfs_device->bus='pci'
<7>do_number: search '00:0b.0' in '/0000:01:00.0',
path='/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0'
<7>do_number: search '00:0b.0' in '/0000:00:01.0',
path='/sys/devices/pci0000:00/0000:00:01.0'
<7>do_number: dev->bus='pci' sysfs_device->bus='pci'
<7>do_number: search '00:07.1' in '/0000:01:00.0',
path='/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0'
<7>do_number: search '00:07.1' in '/0000:00:01.0',
path='/sys/devices/pci0000:00/0000:00:01.0'
<7>do_topology: dev->bus='usb' sysfs_device->bus='pci'
<7>do_topology: dev->bus='usb' sysfs_device->bus='pci'
<7>do_topology: dev->bus='usb' sysfs_device->bus='pci'
<7>do_replace: compare name 'ttyUSB1' with 'card0'
<7>do_replace: compare name 'ttyUSB0' with 'card0'
<7>do_replace: compare name 'card*' with 'card0'
<7>do_replace: found name, 'card*' becomes 'dri/card%n'
<7>apply_format: substitute kernel number '0'
<7>namedev_name_device: name, 'dri/card0' is going to have owner='', group='',
mode = 0600
<7>udev_add_device: udevdb_add_dev failed, but we are going to try to create the
node anyway. But remove might not work properly for this device.
<7>udev_add_device: name='dri/card0'
<7>create_node: mknod(/udev/dri/card0, 020600, 226, 0)
<7>create_node: mknod(/udev/dri/card0, 020600, 226, 0) failed with error '17'
<7>create_node: chmod(/udev/dri/card0, 020600)
[root@smirl drm]#


==Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2004-01-09 21:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-09 19:11 remove nodes in a directory Jon Smirl
2004-01-09 20:10 ` Kay Sievers
2004-01-09 20:12 ` Greg KH
2004-01-09 20:28 ` Jon Smirl
2004-01-09 20:35 ` Kay Sievers
2004-01-09 20:41 ` Jon Smirl
2004-01-09 20:50 ` Kay Sievers
2004-01-09 21:20 ` Jon Smirl [this message]
2004-01-09 23:09 ` Greg KH
2004-01-09 23:47 ` Kay Sievers
2004-01-10  3:07 ` Jon Smirl
2004-01-10 18:49 ` Jon Smirl
2004-01-13  0:59 ` Greg KH
2004-01-13  1:53 ` Jon Smirl
2004-01-13  2:03 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040109212027.66548.qmail@web14919.mail.yahoo.com \
    --to=jonsmirl@yahoo.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).