/etc/fstab early creation

Meher Khiari meher.khiari at netwaybsb.com
Thu Feb 12 23:36:36 PST 2004


> Is there any problem with creating an empty /etc/fstab file in LFS 5.0
> chapter 6 before mounting /proc?  I don't know why there
> would be and I
> would like to get rid of the "can't open /etc/fstab" message.
>  It's not a
> big deal.  Just annoying.  I didn't see anyting in the FAQ
> saying this was
> good or bad.  I am also curious about the rason why it isn't touched
> before creating /proc.  If anyone knows the reason, please
> let me know.

There is no prob.
For the annoying message, you can use your solution or just pass the -n
parameter to mount.

> Also, will filesystems in /etc/fstab be mounted at chroot?  In other
> words, will creating /etc/fstab and populating it with /proc
> and /dev/pts
> make it easier to chroot back into the lfs system if I need
> to leave it
> for any reason?  Or, am I just doomed to mounting these filesystems
> everytime I chroot?  Also not a big deal.  Just annoying.

no !
the chroot will not scan fstab for mounting your filesystems !

> I suppose I could try it, but before I do something that
> could mess up my
> LFS build, I thought I would ask.
>
> Thanks.
>
> Eric
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page




More information about the lfs-support mailing list