hi
i have a server with 4 harddisks
now i want to somehow combine these 4 harddisks to show up to the system as 1 big harddisk, so i can put my web-root into that big virtual partition.
can you guys please point me into to the right direction to achieve this?
thanks a lot in advance! (2 Replies)
This is related to one of my previous post but now with a slight difference: I need the "Updated:" to be in one line as well as the "Information:" on one line as well. These are in multiple lines right now as seen below. These can have 2 or more lines that needs to be in one line.
System name:... (8 Replies)
Hi gurus,
I need to manipulate the output of a database query. The output contains 2 fields (asset and serial number) and I'd like to combine them into a single value, seperated by whitespace.
the orginal data is in seprate fileds and of the following format:
asset serial
asset serial
etc ... (6 Replies)
i have below list of files in a directory.
/root/admin/files/file1.txt
/root/admin/files/file2.txt
/root/admin/files/file3.txt
/root/admin/files/pattern.txt
/root/admin/files/server.txt
i need combine the above text files in the below sequence,
file1.txt, pattern.txt,server.txt =>... (8 Replies)
I am trying to combine 4 .dat files into one single Output file
Inputs are:- file123.dat, file256.dat, file378.dat & file490
Expected Output:-
FileName=file1
{text from file1}
EOF
{blank line}
FileName=file2
{text from file2}
EOF
{blank line}
FileName=file3
{text from file3}
EOF... (4 Replies)
Hi Experts
Please help me out with the following thing:
2 files and want the output file: {No for using FOR loop because I got 22 million lines}
Tried that "It processes only 8000 records per hour"
I need a faster way out !!!
FileA:
9051
9052
9053
9054
9055
9056
9057
9058
9059
... (5 Replies)
Hello,
I am trying to return a time multiple times from a file that has varying output just before the time instance, i.e.
cat jumped
cat jumped
cat jumped
time = 1.1
cat jumped
cat jumped
time = 1.2
cat jumped
cat jumped
time = 1.3
In this case i would like to output a time.txt... (6 Replies)
My CSV file looks similar to this example (the K, L, and M are in the same cell as J but each on a new line within that cell):
1, A, B, C, D
2, E, F, G, H
3, I, J N, O,
K
L
M,
4, P, Q, R, S
I would like to have it look like this:
1, A,... (6 Replies)
Discussion started by: Kim Ashby
6 Replies
LEARN ABOUT LINUX
dpkg-scanpackages
dpkg-scanpackages(1) dpkg utilities dpkg-scanpackages(1)NAME
dpkg-scanpackages - create Packages index files
SYNOPSIS
dpkg-scanpackages [options] binary-dir [override-file [path-prefix]] > Packages
DESCRIPTION
dpkg-scanpackages sorts through a tree of Debian binary packages and creates a Packages file, used by apt(8), dselect(1), etc, to tell the
user what packages are available for installation. These Packages files are the same as those found on Debian archive sites and CD-ROMs.
You might use dpkg-scanpackages yourself if making a directory of local packages to install on a cluster of machines.
Note: If you want to access the generated Packages file with apt you will probably need to compress the file with bzip2(1) (generating a
Packages.bz2 file) or gzip(1) (generating a Packages.gz file). apt ignores uncompressed Packages files except on local access (i.e.
file:// sources).
binarydir is the name of the tree of the binary packages to process (for example, contrib/binary-i386). It is best to make this relative
to the root of the Debian archive, because every Filename field in the new Packages file will start with this string.
overridefile is the name of a file to read which contains information about how the package fits into the distribution (it can be a com-
pressed file); see deb-override(5).
pathprefix is an optional string to be prepended to the Filename fields.
If more than one version of a package is found only the newest one is included in the output. If they have the same version and only differ
in architecture only the first one found is used.
OPTIONS -t, --type type
Scan for *.type packages, instead of *.deb.
-u, --udeb
Obsolete alias for -tudeb.
-e, --extra-override file
Scan file to find supplementary overrides (the file can be compressed). See deb-extra-override(5) for more information on its for-
mat.
-a, --arch arch
Use a pattern consisting of *_all.deb and *_arch.deb instead of scanning for all debs.
-m, --multiversion
Include all found packages in the output.
-M, --medium id-string
Add an X-Medium field containing the value id-string. This field is required if you want to generate Packages.cd files for use by
the multicd access method of dselect.
-h, --help
Show the usage message and exit.
--version
Show the version and exit.
DIAGNOSTICS
dpkg-scanpackages outputs the usual self-explanatory errors. It also warns about packages that are in the wrong subdirectory, are dupli-
cated, have a Filename field in their control file, are missing from the override file, or have maintainer substitutions which do not take
effect.
SEE ALSO dpkg(1), dselect(1), deb-override(5), deb-extra-override(5), dpkg-scansources(1).
Debian Project 2009-10-01 dpkg-scanpackages(1)