Charles.Forsyth20060303-partialeea662d19 years agoHistory
62 lines · 1.3 KB · Text
RawDownload
.TH MEMFS 4.SH NAMEmemfs \- mount a heap based filesystem.SH SYNOPSIS.B memfs.RB [ \-s ].RB [ \-rab ].RB [ \-m.IR size ].RI [ mountpoint ].SH DESCRIPTION.I Memfsmounts a newly created heap-based filesystemon the given.I mountpointdirectory (default.BR /tmp )..PPThe filesystem is entirely maintained in memory, no external storage is used.File data is allocated in 512 byte blocks.If a maximum.I sizeis specified, the actual maximum is rounded down to the nearestwhole number of blocks:.IP.EXactualsize := (size / 512) * 512;.EE.PPThe root of the filesystem is owned by the user who invoked memfs andis created with Read, Write and Execute permissions for the owner and Read and Executepermissions for everyone else (8r755)..PP.SH OPTIONS.TP.B \-sServe styx on file descriptor 0.The.I mountpointand other mount options are ignored..TP.B \-rThe default option.The old.I mountpointdirectory becomes a union directory consisting of just the root of the new filesystem..TP.B \-aAdd the root of the new filesystem to the end of the union directoryrepresented by the.I mountpointdirectory..TP.B \-bAdd the root of the new filesystem to the beginning of the union directoryrepresented by the.I mountpointdirectory..SH SOURCE.B /appl/cmd/memfs.b.SH SEE ALSO.IR ramfile (4)