Unix command to fill filesystem


 
Thread Tools Search this Thread
Operating Systems Solaris Unix command to fill filesystem
# 8  
Old 11-29-2011
If you don't mind what is in the file. This outputs the letter "y" at an alarming rate:
Code:
yes > bigfile.txt

Deducing the free space, then running "mkfile" is the better approach.
# 9  
Old 12-01-2011
And if you want a really big file that does not fill the file system:
Code:
$ mkfile -n 9223372036854775807 wtf
$ ls -l wtf
-rw-------   1 jlliagre staff    9223372036854775807 Dec  1 23:15 wtf
$ ls -lh wtf
-rw-------   1 jlliagre staff       8.0E Dec  1 23:15 wtf

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Command to check on which vg filesystem resides

Hi, I need to know on which volume group filesystem resides. TIA (5 Replies)
Discussion started by: sumanthupar
5 Replies

2. Homework & Coursework Questions

unix filesystem question

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

3. Shell Programming and Scripting

Which filesystem a command is executing from?

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

4. UNIX for Advanced & Expert Users

Command to output ones (like zero-fill), with progress indicator

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

5. Solaris

what command was used to create a filesystem

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

6. UNIX for Dummies Questions & Answers

Copy unix filesystem to windows

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

7. SuSE

filesystem from unix 32 to linux 64

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

8. UNIX for Dummies Questions & Answers

Unix filesystem

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

9. Solaris

What is the command to increase filesystem on 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

10. Filesystems, Disks and Memory

What filesystem does unix use?

And what program can i use to make a unix format? (6 Replies)
Discussion started by: Dark Chrono
6 Replies
Login or Register to Ask a Question