no files in proc

P.B.Prabhuram pbprabhuram2 at yahoo.com
Tue Jan 14 04:06:18 PST 2003


--- Rainer Peter Feller <rainer at maren.desy.de> wrote:
> On Tue, 14 Jan 2003, P.B.Prabhuram wrote:
> 
> > --- Rainer Peter Feller <rainer at maren.desy.de>
> wrote:
> > > On Tue, 14 Jan 2003, P.B.Prabhuram wrote:
> > >
> > > > Yes i mounted the /proc regularly and also
> already
> > > > added the line in the fstab, But why dont
> files
> > > create
> > > > in it automatically such as /bus/usb  /driver
> /ide
> > > > /net etc for my hardware as  present in my
> host
> > > dist.
> > > > --- Rainer Peter Feller <rainer at maren.desy.de>
> > > wrote:
> > > > > On Tue, 14 Jan 2003, P.B.Prabhuram wrote:
> > > > >
> > > > > > I successfully created lfs system and it
> is
> > > > > working.
> > > > > > I created it as per every instructions in
> the
> > > lfs
> > > > > book
> > > > > > 4.0 .
> > > > > >
> > > > > > But i have one problem. There are no files
> (
> > > for
> > > > > > devices ) in the proc of my lfs. So how do
> i
> > > > > create
> > > > > > these files in proc for my lfs ( as i have
> in
> > > my
> > > > > host
> > > > > > dist) as i need them for my hardware
> > > functioning (
> > > > > > with my /dev )
> > > > >
> > > > > hm ... have you mounted the /proc
> > > > > mount proc /proc -t proc
> > > > > the proc filesystem is a virtual file system
> > > > > produced by the kernel, you
> > > > > should not be able to create any file within
> the
> > > > > /proc dir.
> > > > > You should also have a line like
> > > > > proc            /proc           proc
> > > > > defaults        0       0
> > > > > in your /etc/fstab
> > >
> > > for /proc/bus/usb you need
> > > usbdevfs        /proc/bus/usb   usbdevfs
> > > defaults        0       0
> > > in your fstab, "Support for USB" and
> "Preliminary
> > > USB device filesystem"
> > > in the kernel (not as module).
> > > the rest should be created if there is something
> to
> > > show
> >
> > yes i have already specified the usb in the fstab
> ,
> > but that did not help in creating files i
> mentioned
> > above in /proc
> 
> Do you have usb as module? then first load module
> before mounting
> /proc/bus/usb
> 
> what does your /proc looks like?
> 

my /proc looks zero , no files in it. I have installed
usb in my kernel as a (M) in kernel

=====
Signature-----------------------

P.B.Prabhuram

http://www.pbprabhuram.com

-----------------------------------

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list