I want to create a file, that has a fixed size, as a placeholder so no one will write to that disc and I may store backup files at a later date. how can I do this?
Using HP 9000/300 computer with HP 7937 Disc Drives and HPUX 6.5 OS. (3 Replies)
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)
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)
What is the best way to create 'n' number of files of size 'x'
lets say n and x are given as arguments to the program..
and lets say we can simply fill the files with 0s or *'s
Thanks !! (2 Replies)
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)
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)
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)
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 NETBSD
tpctl
TPCTL(8) BSD System Manager's Manual TPCTL(8)NAME
tpctl -- touch panel calibration utility
SYNOPSIS
tpctl [-D dispdevname] [-d devname] [-f filename] [-hnuv]
DESCRIPTION
tpctl is a touch panel calibration utility. tpctl calibrates a touch panel and saves and restores the calibration parameters into/from a
parameter database file.
Available command-line flags are:
-D dispdevname Specify display device name.
-d devname Specify touch panel device name.
-f filename Specify alternate parameter database file name.
-h Print brief description.
-n Do not change the parameter database file.
-u Force calibration. Without this flag, tpctl won't do calibration if the database file already contains parameters for the
touch panel.
-v Verbose mode.
You calibrate the touch panel the first time you run tpctl. If you see a cross cursor on the screen, you should tap the center of the cursor
to calibrate the touch panel, or you can abort the calibration with the 'ESC' key. Five cursors will appear on the screen in turn. Once
calibration is done, tpctl saves the calibration parameters into the database file and uses the saved parameters to calibrate the touch
panel.
You can run tpctl automatically with /etc/rc.d/tpctl.
FILES
/etc/tpctl.dat The default calibration parameter database file. The -f flag may be used to specify an alternate database file name. tpctl
will create an empty database file if it doesn't exist.
/dev/ttyE0 The default display device, which is used to display the cursor during calibration. The -D flag may be used to specify an
alternate display device name. The display device must provide the 'hpcfb' interface as defined in
/usr/include/dev/hpc/hpcfbio.h.
/dev/wsmux0 The default touch panel device. The -d flag may be used to specify an alternate touch panel device name.
SEE ALSO rc.conf(5)BUGS
tpctl isn't available on all ports because it requires a display device which provides the 'hpcfb' interface.
BSD August 25, 2002 BSD