[Buildroot] proc mount needed in both inittab and fstab?

Danomi Manchego danomimanchego123 at gmail.com
Thu Nov 8 02:53:15 UTC 2012


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>


More information about the buildroot mailing list