10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I have a file containing the list of different folders like this file_list.txt:
/s8/tests/test1
/s8/tests/tests/test2
/s8/tests/test2
/s8/tests/tests/test2/test5
I want a script to put the owner user of each folder in front of it in the text file.
So the reult would become... (5 Replies)
Discussion started by: Johanni
5 Replies
2. UNIX for Advanced & Expert Users
how to use ldapsearch to find all the netgroups a user belongs to? It's Solaris. (1 Reply)
Discussion started by: jalite19
1 Replies
3. AIX
How can I do a ldapsearch to find a DN for a user when I know the exact cn for that user out of active directory.
I have tried several different commands (hundreds) but need the -b with the full dn to perform the search using ldapsearch from AIX. I am trying to find the OU for a user and the... (3 Replies)
Discussion started by: cchart3
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
Im working with an Informix db, i would like to know the command to identify the owner of a particular database
Thanks (2 Replies)
Discussion started by: dvah
2 Replies
5. UNIX for Dummies Questions & Answers
How to know owner of a file without ls and find command :p (1 Reply)
Discussion started by: swat
1 Replies
6. Shell Programming and Scripting
i have written a script in which i have to go to a dir and search there for files belonging to owner pipe and then delete them
Can anyone tell me how to find files by owner pipe. below some of the files belonging to owner pipe
-rw------- 1 pipe pipe 163840 Mar 18 2008 ... (7 Replies)
Discussion started by: ali560045
7 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have a problem, I need to find files in folder by owner, not using find command at all and ls -R parameter. Thanx a lot.
Best regarts (1 Reply)
Discussion started by: Boliakas
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need a command to find a files under particular owner ?All the files in the system for the particular user id is the owner?
Please help me on this? (2 Replies)
Discussion started by: jayaramanit
2 Replies
9. Shell Programming and Scripting
hi
how can I extract the owner of the file from the find command that I used below
find /home -type f -atime +5
I tried something like this but didnt work.
find /home -type f -atime +5 -ls |cut -f5 (5 Replies)
Discussion started by: tjay83
5 Replies
10. UNIX for Dummies Questions & Answers
I need to copy all fiels and directories to another locathon and keep the owner info and rights.
I tried cp -r - p * /newdir
No good. (5 Replies)
Discussion started by: aarono
5 Replies
bup-margin(1) General Commands Manual bup-margin(1)
NAME
bup-margin - figure out your deduplication safety margin
SYNOPSIS
bup margin [options...]
DESCRIPTION
bup margin iterates through all objects in your bup repository, calculating the largest number of prefix bits shared between any two
entries. This number, n, identifies the longest subset of SHA-1 you could use and still encounter a collision between your object ids.
For example, one system that was tested had a collection of 11 million objects (70 GB), and bup margin returned 45. That means a 46-bit
hash would be sufficient to avoid all collisions among that set of objects; each object in that repository could be uniquely identified by
its first 46 bits.
The number of bits needed seems to increase by about 1 or 2 for every doubling of the number of objects. Since SHA-1 hashes have 160 bits,
that leaves 115 bits of margin. Of course, because SHA-1 hashes are essentially random, it's theoretically possible to use many more bits
with far fewer objects.
If you're paranoid about the possibility of SHA-1 collisions, you can monitor your repository by running bup margin occasionally to see if
you're getting dangerously close to 160 bits.
OPTIONS
--predict
Guess the offset into each index file where a particular object will appear, and report the maximum deviation of the correct answer
from the guess. This is potentially useful for tuning an interpolation search algorithm.
--ignore-midx
don't use .midx files, use only .idx files. This is only really useful when used with --predict.
EXAMPLE
$ bup margin
Reading indexes: 100.00% (1612581/1612581), done.
40
40 matching prefix bits
1.94 bits per doubling
120 bits (61.86 doublings) remaining
4.19338e+18 times larger is possible
Everyone on earth could have 625878182 data sets
like yours, all in one repository, and we would
expect 1 object collision.
$ bup margin --predict
PackIdxList: using 1 index.
Reading indexes: 100.00% (1612581/1612581), done.
915 of 1612581 (0.057%)
SEE ALSO
bup-midx(1), bup-save(1)
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown- bup-margin(1)