Solved

sysfs and proc do I need both?

Posted on 2004-04-08
3
314 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
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 125 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Coding C# in Linux 8 71
VMware Tools Install On Linux Problem 3 63
awk to variable in bash 2 44
blank screen when trying to setup Unity on Ubuntu 14.04 9 22
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

832 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