Re: How to crate device node in fedora 4.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tim,
MAKEDEV is work for me...thank you..


On 10/19/07, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx > wrote:
techme linux wrote:
> Hello All,
> I am using fedora 4.
> I want to create a device node inside /dev/usb/ for fedora 4.
> But i just found that there is no usb directory inside /dev. But there
> is directory inside /sys/bus/usb.
> But for my embedded device I need to create a node inside /dev/usb...I
> try to create a symbolic link between /sys/bus/usb and /dev/ but then
> also i could not able to create the node inside /dev/usb  as there is
> permission problem..
>
> can anybody has idea how to create a node in /dev/usb for FC4?
>  Thank You
>
You need to read up on udev. On systems that use udev, there is a
virtual file system mounted on /dev with all the device nodes. Udev
takes care of creating the device nodes found there. Because it is a
virtual file system, it is created every time the system boots, so
any changes you make are lost when you reboot. So you need to create
a udev rule to create the device node for you when you plug in your
USB device.

The /sys file system is another virtual file system that contains
information about the system hardware. The udev documentation
contains information about tools to get information from it to help
you in writing your own udev rules.

Note: If you have the /sys directory tree, it is probably a safe
assumption that you are using udev.

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux