?
Solved

sysfs and proc do I need both?

Posted on 2004-04-08
3
Medium Priority
?
319 Views
Last Modified: 2010-04-20
I just got done installing LFS 5.0 a little while ago with kernel-2.6.5. As you can see I didn't exactly follow the book, but I've built LFS before. Everything is currently working fine. However, I have both proc and sysfs mounted for everything to be ok.  Do I need both? They seem sort of the same. I need sysfs for my wireless card to work, and I need proc for modprobe, lsmod, etc. to work to install the module for my card in the first place.

Basicly my two questions are:
1. Is there a patch for module-init-tools to use /sys, or hotplug to use /proc
2. Does it matter that they are both running (speed, mem usage, or just plain cleanliness)

Thanks for any help, or links.
Jon
0
Comment
Question by:Jonman364
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 10791620
While it would be cleaner to only be using one of the two, there's no problem with both being present. At worst there's a very slight increase in I/O load from the duplication.
0
 
LVL 6

Accepted Solution

by:
karlwilbur earned 500 total points
ID: 10793009
I'd just keep both running.  Doesn't use much extra speed, mem usage, etc.  I agree with jlevie.

Have you posted this to the Linux From Scratch mailing list (http://www.linuxfromscratch.org/mail.html) and/or check the LFS FAQ (http://www.linuxfromscratch.org/faq/).  If so, what did you find there?

I found this, it might help:
http://archives.linuxfromscratch.org/mail-archives/hints/2004-March/002417.html

-Karl
0
 

Author Comment

by:Jonman364
ID: 10799855
Thanks for that last link.

<snip>
Sysfs Init Script
...
   It's new, though, so I am not sure if anything else uses it aside from udev.
</snip>

So I guess I doo need both for the time being. Thank you both for your comments.
Jon
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question