Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In terms of content, what is the difference between these 4 folders?

  • /dev/usb
  • /proc/bus/usb
  • /sys/bus/usb
  • /sys/class/usb_device

I found many symlinks between those folders, many redundant information. More generically what is the idea/purpose in the first place of each of these folders?

share|improve this question
add comment

1 Answer 1

Take from the wikipedia:

/dev Essential devices, e.g., /dev/null.

/proc Virtual filesystem documenting kernel and process status as text files, e.g., uptime, network. In Linux, corresponds to a procfs mount.

/sys Modern Linux distributions include a /sys directory as a virtual filesystem (sysfs, comparable to /proc, which is a procfs), which stores and allows modification of the devices connected to the system, whereas many traditional UNIX and Unix-like operating systems use /sys as a symbolic link to the kernel source tree

share|improve this answer
    
Thanks but my question is specific to usb and usb only. –  m-ric Oct 15 '12 at 15:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.