LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2005, 10:32 AM   #1
mystique98ls
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat 6.2
Posts: 13

Rep: Reputation: 0
Mounting sysfs ?


Hi,

I am trying to mount sysfs in a redhat 2.6 kernel. Can I mount sysfs by just adding an entry in the fstab or will I have to explicitly create /sys directory. Is it possible to do this without creating the /sys directory manually ?

Any help is appreciated..

thanks..
 
Old 07-14-2005, 03:14 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you have to create the /sys directory
 
Old 07-14-2005, 10:32 AM   #3
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Why not get the latest fedora with all that already installed.
 
Old 07-14-2005, 10:42 AM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
/sbin/mount -t sysfs none /sys -n in init scripts im in slackware so my init scripts are different. I know sys is mounted right after proc.

Last edited by Boow; 07-14-2005 at 10:51 AM.
 
Old 07-15-2005, 11:33 AM   #5
mystique98ls
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat 6.2
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks guys for your help.

Yeah, I had to create the /sys directory. I was able to use mount /sys command in one of the init scripts which (I think) reads the fstab entry to mount the sysfs.

Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sysfs not supported by kernel jrdioko Linux - Software 2 07-01-2004 06:57 PM
kernel 2.4.26 and sysfs rgiggs Mandriva 2 06-03-2004 08:32 PM
2.6.x kernel,sysfs and rc.S tobyl Slackware 3 04-09-2004 01:24 PM
mounting sysfs chichibabin Mandriva 3 02-13-2004 12:48 PM
sysfs do i need it for kernel 2.6? demmylls Linux - General 11 02-07-2004 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration