Page MenuHomeFreeBSD

D11106.1793391119.diff
No OneTemporary

Authored By
Unknown
Size
479 B
Referenced Files
None
Subscribers
None

D11106.1793391119.diff

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

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)

Event Timeline