Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1784 Details for
Bug 4151
Clustering enhancements for Gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bootup downloading in tmpfs...
rc.patch (text/plain), 2.64 KB, created by
Olivier Crete
on 2002-06-25 15:23:40 UTC
(
hide
)
Description:
bootup downloading in tmpfs...
Filename:
MIME Type:
Creator:
Olivier Crete
Created:
2002-06-25 15:23:40 UTC
Size:
2.64 KB
patch
obsolete
>--- /sbin/rc 2002-06-03 11:34:59.000000000 -0400 >+++ rc 2002-06-25 16:14:02.000000000 -0400 >@@ -42,9 +42,13 @@ > PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH}" > > echo >- echo -e "${GOOD}Gentoo Linux${GENTOO_VERS}; \e[34;01mhttp://www.gentoo.org${NORMAL}" >+ echo -e "${GOOD}Gentoo Linux${GENTOO_VERS}; \e[34;01mhttp://www.gentoo.org/${NORMAL}" > echo -e " Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL" > echo >+ echo -e "Adapted by ${GOOD}Adelie Linux${GENTOO_VERS}; \e[34;01mhttp://www.adelielinux.com/${NORMAL}" >+ echo -e "\e[33;01mFor a Linux distribution thoroughly optimized for Single System Image Clustering${NORMAL}" >+ echo -e " Copyright 2002 CERCA and Cyberlogic, Inc.; Distributed under the GPL" >+ echo > > ebegin "Mounting /proc"; \ > try mount -n /proc; \ >@@ -135,12 +139,62 @@ > > /sbin/depscan.sh > >- #swap needs to be activated *after* devfs has been mounted and *after* >- #devfsd has been started, so that the fstab can be properly parsed >+ # Saving the kernel attributed hostname to a file for future >+ # initialisation selection: see /etc/init.d/switch. >+ >+ cat /proc/sys/kernel/hostname > ${svcdir}/hostname >+ >+ # >+ # Low-level Server/Node Initialisation >+ # >+ echo -e -n "${GOOD} * ${NORMAL}Server/Node low-level initialisation : " >+ >+ if checkserver >+ then >+ echo "server detected." >+ # swap needs to be activated *after* devfs has been mounted and *after* >+ # devfsd has been started, so that the fstab can be properly parsed >+ # and only if the server is initialized > > ebegin "Activating swap" > /sbin/swapon -a &>/dev/null > eend 0 >+ else >+ echo "node detected." >+ ebegin "Importing local userspace on node" >+ try mount -t tmpfs none ${shmdir} >+ for DIR in /etc /var /root; >+ do >+ if [ -e /etc/conf.d/exclude/${DIR} ] >+ then >+ find $DIR -type d | grep -v -f /etc/conf.d/exclude/${DIR} > ${shmdir}/${DIR}.lst >+ else >+ find $DIR -type d > ${shmdir}/${DIR}.lst >+ fi >+ for SUBDIR in `cat ${shmdir}/$DIR.lst`; >+ do >+ mkdir ${shmdir}/${SUBDIR} >+ chmod --reference=${SUBDIR} ${shmdir}/${SUBDIR} >+ cp -dp ${SUBDIR}/* ${shmdir}/${SUBDIR} &>/dev/null >+ done >+ if [ -e /etc/conf.d/exclude/${DIR} ] >+ then >+ for EMPTYDIR in `cat /etc/conf.d/exclude/${DIR}`; >+ do >+ mkdir ${shmdir}/$EMPTYDIR >+ chmod --reference=${SUBDIR} ${shmdir}/${SUBDIR} >+ done >+ fi >+ mount -n -o bind ${shmdir}/${DIR} ${DIR} >+ done >+ mkdir ${shmdir}/tmp >+ chmod 777 ${shmdir}/tmp >+ mount -n -o bind ${shmdir}/tmp /tmp >+ > /etc/mtab >+ cp -f /etc/inittab.node /etc/inittab >+ killall -1 init >+ eend 0 >+ fi > > #set the console loglevel to 1 for a cleaner boot > #the logger should anyhow dump the ring-0 buffer at start to the
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4151
:
1782
|
1783
| 1784 |
1785
|
5980
|
13908
|
13909
|
13910
|
13911
|
14516
|
14517
|
14518
|
14519