Page MenuHomeFreeBSD

D11106.id.diff
No OneTemporary

D11106.id.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
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)

Event Timeline