Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169460108
D11106.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
479 B
Referenced Files
None
Subscribers
None
D11106.id.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
Wed, Sep 2, 2:38 PM (19 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37686698
Default Alt Text
D11106.id.diff (479 B)
Attached To
Mode
D11106: Use tmpfs in rc.initdiskless
Attached
Detach File
Event Timeline
Log In to Comment