0003-Use-tmpfs-instead-of-mfs.patch

rumcic, 04/14/2010 09:31 PM

Download (1.05 KB)

View differences:

etc/rc.d/diskless
46 46
#   $1 = size
47 47
#   $2 = mount point
48 48
mount_md() {
49
	/sbin/mount_mfs -s $1 swap $2
49
	/sbin/mount_tmpfs -s `expr $1 '*' 512` tmpfs $2
50 50
}
51 51

  
52 52
# If there is a global system configuration file, suck it in.
etc/rc.d/initdiskless
105 105
# Create a generic memory disk
106 106
#
107 107
mount_md() {
108
	/sbin/mount_mfs -i 4096 -s $1 swap $2
108
	/sbin/mount_tmpfs -s `expr $1 '*' 512` tmpfs $2
109 109
}
110 110

  
111 111
# Create the memory filesystem if it has not already been created
112
-