On Wednesday 03 October 2012 19:17, Bit Twister conveyed the following
to alt.os.linux.mageia...
You'll just have to go over each human-readable file in the init
sequence, I'm afraid. In SysV init systems, this is normally handled by
/etc/rc.sysinit, but - again - this is distribution-specific.
Gentoo for instance moved the mounting of /proc, /sys and /dev out of
/etc/fstab a long time ago, but many Gentoo users still have them
mounted via /etc/fstab.
Note: Watch out for line wraps in the terminal snippet below.
[00:57:42][localhost:/home/aragorn]
[0][aragorn][$] > grep "tmpfs" /etc/* | grep mount
grep: /etc/at.deny: Permission denied
grep: /etc/gshadow: Permission denied
grep: /etc/gshadow-: Permission denied
grep: /etc/libaudit.conf: Permission denied
grep: /etc/login.defs: Permission denied
grep: /etc/mcc.conf: Permission denied
grep: /etc/mtab.fuselock: Permission denied
grep: /etc/shadow: Permission denied
grep: /etc/shadow-: Permission denied
grep: /etc/sudoers: Permission denied
grep: /etc/sudoers.d: Permission denied
/etc/rc.sysinit:# (bluca) handle udev /dev tmpfs here since kernel will
happily umount /dev after initrd end
/etc/rc.sysinit:mount -n -t tmpfs none /dev/shm >/dev/null 2>&1
/etc/rc.sysinit: mount -n -t tmpfs $RW_OPTIONS
$mountopts none "$RW_MOUNT"
Note: I do not know where $RW_OPTIONS is defined. It is either way not
in any file under /etc because I checked with a "sudo grep" - and yes, I
did omit the "$" from the search and used single quotes around the
search string.
And my distribution is...
[01:04:11][localhost:/home/aragorn]
[0][aragorn][$] > cat /etc/release
Mageia release 1 (Official) for x86_64