MKFILE(8) System Manager's Manual MKFILE(8)NAME
mkfile - create a file
SYNOPSIS
mkfile [ -nv ] size[b|k|m|g] filename ...
DESCRIPTION
mkfile creates one or more files that are suitable for use as NFS-mounted swap areas. The sticky bit is set, and the file is padded with
zeroes by default. Non-root users must set the sticky bit using chmod(1). The default size unit is bytes, but the following suffixes may
be used to multiply by the given factor: b (512), k (1024), m (1048576), and g (1073741824).
OPTIONS -n Create an empty filename. The size is noted, but disk blocks aren't allocated until data is written to them.
-v Verbose. Report the names and sizes of created files.
WARNING
If a client's swap file is removed and recreated, it must be re-exported before the client will be able to access it. This action may only
be done when the client is not running.
SEE ALSO chmod(2), stat(2), sticky(8)
1 September 1997 MKFILE(8)
Check Out this Related Man Page
MKFILE(8) System Manager's Manual MKFILE(8)NAME
mkfile - create a file
SYNOPSIS
mkfile [ -nv ] size[b|k|m|g] filename ...
DESCRIPTION
mkfile creates one or more files that are suitable for use as NFS-mounted swap areas. The sticky bit is set, and the file is padded with
zeroes by default. Non-root users must set the sticky bit using chmod(1). The default size unit is bytes, but the following suffixes may
be used to multiply by the given factor: b (512), k (1024), m (1048576), and g (1073741824).
OPTIONS -n Create an empty filename. The size is noted, but disk blocks aren't allocated until data is written to them.
-v Verbose. Report the names and sizes of created files.
WARNING
If a client's swap file is removed and recreated, it must be re-exported before the client will be able to access it. This action may only
be done when the client is not running.
SEE ALSO chmod(2), stat(2), exportfs(8), sticky(8)
1 September 1997 MKFILE(8)
How can I know that my FreeBSD OS has commands mkdir or mkfile?
Can I do like this:
find / -name mkdir
find / -name mkfile
But I do not see them???
Thanks. (1 Reply)
Hi,
i am installing glut-3.5 using that ./mkmkfiles.imake
its showing an error msg as
root@lxdevenv:~/Desktop/openGL/glut-3.5# ./mkmkfiles.imake
./mkmkfiles.imake: line 51: syntax error: unexpected end of file
root@lxdevenv:~/Desktop/openGL/glut-3.5#
actually there are 49 lines in... (3 Replies)
Hi All,
I want to make a 3GB of space reserve on Solaris. Let me know whether there is a way by creating empty file of 3GB so that i can delete that file in future to utilize that space. Or any other better ways for space reserve.
-Vinodh' Kumar (4 Replies)
Hi,
we are experiencing very odd behavior. After "mkfile 1g <somefile>" the available memory seen through vmstat memory free column decreases by the same ammount. It doesn't matter where the <somefile> is located, even when the file is on NAS, the available memory decreases. When the file is... (2 Replies)
Hi,
I made an ldom with 160 GB of disk space (makefile -n 160g ldg1). Inside the ldom I have a slice, say /mount1 of size 30G. Assuming that I keep the /mount1 unmounted, i-e, it will never be used, is it safe to say that the file ldg1 will never grow past 130G? (6 Replies)