10-18-2002
HP-UX does not /dev/zero nor mkfile. Modern versions of HP-UX have a command called prealloc which can do this. But I doubt that this command will exist on HP-UX 6.5. I'm pretty sure that will need to upgrade to HP-UX 7.0 before you will have this command available.
I guess you can just cat several copies of a large file together to make your placeholder.
cat largefile largefile largefile > placeholder
Since your disks are only 571 MB this shouldn't take long.
BTW, I once lifted an enclosure with two 7937's and placed it into a shipping container.
Seriously, why are running a system this old?
10 More Discussions You Might Find Interesting
1. AIX
Hello, this is my first post.
I have a user who cannot create a file over 2 GB's in size eventhough the FS is large file enabled and I added a special stanza in /etc/security/limits to allow an unlimited file size for this particular user (user1 - see below).
ibm:/home/root (4062)#cat... (7 Replies)
Discussion started by: AIXtexas
7 Replies
2. UNIX for Dummies Questions & Answers
hi guys,
Is there any way to create a file of specified size ..ie...during creation itself u should be able to specify the size of it... (12 Replies)
Discussion started by: deep
12 Replies
3. AIX
Hi.
After the shutdown for SWIFT Alliance Server, tape backup process will be done. Unfortunately, I encountered this error message when I performed the database tape backup. The error was "/dev/rmt 0.1 block size is 0; variable; must be 1024 fixed. Consider reconfiguration through 'chdev'... (2 Replies)
Discussion started by: MariaLuisa
2 Replies
4. Shell Programming and Scripting
Hi
By using the following command i am creating a file with specified size but it is creating with some text file. ut i want some zero equipped file.
dd if=/dev/zero of=myfile bs=1024 count=10 (0 Replies)
Discussion started by: suneelkumar
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to create a file using touch command . I want the size to be of
300 MB . Is it possible with touch or any other command.
Thanx for your help. (2 Replies)
Discussion started by: reply2soumya
2 Replies
6. UNIX for Dummies Questions & Answers
Hello all,
Linux - Is there any way of creating a new file and determining its record size upon creation?
open() and creat() do not refer to record size.
Thanks... (2 Replies)
Discussion started by: klafte
2 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
Here is seeking a bit of help in trying to solve a problem.
I am required to create a csv file as shown below:
output.csv ->
output_1,output_2,output_3,...,output_<N>
filename1:20,filename2:30,filename3:30,...,filename<N>:30
by listing output_1, output_2,... , output<N> as... (3 Replies)
Discussion started by: vkumbhakarna
3 Replies
8. Shell Programming and Scripting
I would like to use printf (or something else?) to create a line of text that has varying column widths. This will be used to create a fixed width file (with varying column widths). For example, consider variables $1 $2 $3 are equal to a, b, c respectively and they should be printed in column... (10 Replies)
Discussion started by: farrenthorpe
10 Replies
9. Shell Programming and Scripting
I basically need to do what the title says.
I have my text file.
I'm still pretty new at this.
At the moment I know that:
1. wc -l file.txt
To get the number of lines.
2. ls -lh file.txt
To get the file size.
But I need to divide both numbers. Then I need to save the output in a... (7 Replies)
Discussion started by: PainMaker101
7 Replies
10. UNIX for Beginners Questions & Answers
I have a script that sorts and processes unsorted files to newly created directories.
Its working great, but I am trying to understand the leanest method to get the script to create an additional file within each newly created directory that:
Contains a list of all files in the directory... (4 Replies)
Discussion started by: Braveheart
4 Replies
LEARN ABOUT LINUX
wxspinbutton
wxSpinButton(3erl) Erlang Module Definition wxSpinButton(3erl)
NAME
wxSpinButton - See external documentation: wxSpinButton.
DESCRIPTION
See external documentation: wxSpinButton .
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
DATA TYPES
wxSpinButton() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
new() -> wxSpinButton()
See external documentation .
new(Parent::wxWindow() (see module wxWindow)) -> wxSpinButton()
Equivalent to new(Parent, []) .
new(Parent::wxWindow() (see module wxWindow), Options::[Option]) -> wxSpinButton()
Types Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
See external documentation .
create(This::wxSpinButton(), Parent::wxWindow() (see module wxWindow)) -> bool()
Equivalent to create(This, Parent, []) .
create(This::wxSpinButton(), Parent::wxWindow() (see module wxWindow), Options::[Option]) -> bool()
Types Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
See external documentation .
getMax(This::wxSpinButton()) -> integer()
See external documentation .
getMin(This::wxSpinButton()) -> integer()
See external documentation .
getValue(This::wxSpinButton()) -> integer()
See external documentation .
setRange(This::wxSpinButton(), MinVal::integer(), MaxVal::integer()) -> ok
See external documentation .
setValue(This::wxSpinButton(), Value::integer()) -> ok
See external documentation .
destroy(This::wxSpinButton()) -> ok
Destroys this object, do not use object again
AUTHORS
<>
wxErlang 0.98.9 wxSpinButton(3erl)