* [Buildroot] proc mount needed in both inittab and fstab?
@ 2012-11-08 2:53 Danomi Manchego
2012-11-08 7:19 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Danomi Manchego @ 2012-11-08 2:53 UTC (permalink / raw)
To: buildroot
Hi, quick question: I noticed that the skeleton/etc/inittab has:
# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
...
and that fstab has:
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/root / ext2 rw,noauto 0 1
proc /proc proc defaults 0 0
...
I was wondering - is the /proc mount in inittab needed, since there is a
corresponding line in fstab?
Thanks in advance,
Danomi -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121107/ed5327d7/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] proc mount needed in both inittab and fstab?
2012-11-08 2:53 [Buildroot] proc mount needed in both inittab and fstab? Danomi Manchego
@ 2012-11-08 7:19 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2012-11-08 7:19 UTC (permalink / raw)
To: buildroot
Dear Danomi Manchego,
On Wed, 7 Nov 2012 21:53:15 -0500, Danomi Manchego wrote:
> I was wondering - is the /proc mount in inittab needed, since there is a
> corresponding line in fstab?
I /think/ yes, because I believe 'mount -a' needs /proc/mounts to be
available in order to work properly.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-08 7:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 2:53 [Buildroot] proc mount needed in both inittab and fstab? Danomi Manchego
2012-11-08 7:19 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox