Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176806205
D11106.1793391119.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
479 B
Referenced Files
None
Subscribers
None
D11106.1793391119.diff
View Options
Index: head/etc/rc.initdiskless
===================================================================
--- head/etc/rc.initdiskless
+++ head/etc/rc.initdiskless
@@ -195,10 +195,10 @@
to_umount="$b ${to_umount}"
}
-# Create a generic memory disk
+# Create a generic memory disk (using tmpfs)
#
mount_md() {
- /sbin/mdmfs -S -i 4096 -s $1 -M md $2
+ mount -t tmpfs -o size=$(($1 * 512)) tmpfs $2
}
# Create the memory filesystem if it has not already been created
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 30, 8:11 PM (6 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41242873
Default Alt Text
D11106.1793391119.diff (479 B)
Attached To
Mode
D11106: Use tmpfs in rc.initdiskless
Attached
Detach File
Event Timeline