Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 290227 Details for
Bug 406711
/dev to be mounted in tmpfs, not on snapshot NFS server
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch against disklessrc
patch (text/plain), 1.56 KB, created by
Ondrej Valousek
on 2007-12-21 11:35:29 UTC
(
hide
)
Description:
Patch against disklessrc
Filename:
MIME Type:
Creator:
Ondrej Valousek
Created:
2007-12-21 11:35:29 UTC
Size:
1.56 KB
patch
obsolete
>--- disklessrc.old 2006-04-19 22:57:43.000000000 +0200 >+++ disklessrc 2007-12-21 12:23:45.000000000 +0100 >@@ -105,14 +105,6 @@ mountfile () { > echo "Creating ${1}" > touch $snapshotfile > fi >- else >-# If dev directory already exists in snapshot directory, check if the root >-# /dev directory is newer. If it is rsync the root directory over the >-# snapshot directory. >- if [ ${1} == "/dev" -a ${1} -nt ${dir}/dev ]; then >- echo "RSYNC-ing /dev"; >- rsync -a ${1} $snapshotfile >- fi > fi > # > # Mount the snapshotfile over the root file so the client will have r/w access >@@ -348,6 +340,39 @@ mount -n -t proc /proc /proc > # > > if [ "${INITRD_DBG}" = "6" ]; then exec /bin/bash; fi >+ >+echo Creating /dev >+mount -o mode=0755 -t tmpfs /dev /dev >+mkdir /dev/pts >+mount -t devpts -o gid=5,mode=620 /dev/pts /dev/pts >+mkdir /dev/shm >+mkdir /dev/mapper >+echo Creating initial device nodes >+mknod /dev/null c 1 3 >+mknod /dev/zero c 1 5 >+mknod /dev/systty c 4 0 >+mknod /dev/tty c 5 0 >+mknod /dev/console c 5 1 >+mknod /dev/ptmx c 5 2 >+mknod /dev/rtc c 10 135 >+mknod /dev/tty0 c 4 0 >+mknod /dev/tty1 c 4 1 >+mknod /dev/tty2 c 4 2 >+mknod /dev/tty3 c 4 3 >+mknod /dev/tty4 c 4 4 >+mknod /dev/tty5 c 4 5 >+mknod /dev/tty6 c 4 6 >+mknod /dev/tty7 c 4 7 >+mknod /dev/tty8 c 4 8 >+mknod /dev/tty9 c 4 9 >+mknod /dev/tty10 c 4 10 >+mknod /dev/tty11 c 4 11 >+mknod /dev/tty12 c 4 12 >+mknod /dev/ttyS0 c 4 64 >+mknod /dev/ttyS1 c 4 65 >+mknod /dev/ttyS2 c 4 66 >+mknod /dev/ttyS3 c 4 67 >+ > echo Mounting Snapshot directories > mount -t nfs $NFS_IP:${NFS_DIR}/snapshot /.snapshot -o rw,nolock && > {
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 406711
: 290227