11-28-2011
Why do you need \060 as the character? - what you gave does not work.
Just use mkfile: it acutally allocates files and fills the disk - this is what it was designed for.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
And what program can i use to make a unix format? (6 Replies)
Discussion started by: Dark Chrono
6 Replies
2. Solaris
I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory. (3 Replies)
Discussion started by: strikelit
3 Replies
3. UNIX for Dummies Questions & Answers
hello all,
i want to know about the unix file system. about the boot block,super block,and how to access them ,all the geometry details of the file systemetc etc...
where can i find this??? i'l b happy if u can help me with a link!!!!!
thanx in advance (2 Replies)
Discussion started by: anwerreyaz
2 Replies
4. SuSE
Hi all.
Im migrating from a Unix 32 bit to a linux suse 10 64 bit and would like to know whats the best way to migrate the filesystems? cpio? tar? ftp? Could I make a backup in tape in the unix 32 and restore it in the linux 64?
thanx (1 Reply)
Discussion started by: mrodrig
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all
Is there a way to copy a unix filesystem (folders, subfolder and files) to windows (AD) and at the same time maintaine the unix permission (user/group) when copied to windows (AD) filesystem?
I want the same permission in windows as I had in unix in one copy job.
Is this... (8 Replies)
Discussion started by: tomjen
8 Replies
6. Solaris
How do we determine what command was used (either newfs or mkfs) to create a filesystem?
Thanks, (2 Replies)
Discussion started by: Pouchie1
2 Replies
7. UNIX for Advanced & Expert Users
Well, I was originally going to post this snippet in the original thread titled "how to output ones endlessly like /dev/zero", but that topic was closed without an efficient answer.
It was difficult to find (build) a satisfactory answer to this one, so I thought I'd share it here and as a "fill... (1 Reply)
Discussion started by: Gliktch
1 Replies
8. Shell Programming and Scripting
Hi. We can have one or more agents of a particular type running on our AIX and Solaris servers. As these agents have usually been installed into their own filesystems, I need to capture the filesystem names for auditing purposes. I've had a search through the forums can see something that fits the... (16 Replies)
Discussion started by: smoosmoo
16 Replies
9. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
The file system unix use a multilevel indexes access to disk, 12 direct blocks, 1 single indirect block, 1 double indirect block, 1 triple indirect block:
Assuming a:
block = 512 bytes,
pointer = 4 byte,
and there is a file of 200... (4 Replies)
Discussion started by: blob84
4 Replies
10. AIX
Hi,
I need to know on which volume group filesystem resides.
TIA (5 Replies)
Discussion started by: sumanthupar
5 Replies
mkfile(1M) mkfile(1M)
NAME
mkfile - create a file
SYNOPSIS
mkfile [-nv] size [g | k | b | m] filename...
mkfile creates one or more files that are suitable for use as NFS-mounted swap areas, or as local swap areas. When a root user executes
mkfile(), the sticky bit is set and the file is padded with zeros by default. When non-root users execute mkfile(), they must manually
set the sticky bit using chmod(1). The default size is in bytes, but it can be flagged as gigabytes, kilobytes, blocks, or megabytes, with
the g, k, b, or m suffixes, respectively.
-n Create an empty filename. The size is noted, but disk blocks are not allocated until data is written to them. Files created with
this option cannot be swapped over local UFS mounts.
-v Verbose. Report the names and sizes of created files.
USAGE
See largefile(5) for the description of the behavior of mkfile when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
chmod(1), swap(1M), attributes(5), largefile(5)
2 Feb 2001 mkfile(1M)