06-13-2013
ext3/4 have hashes for big enough directories I believe. Lots of these features can be found in different things, but seldom all together.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Do you know how I can find detailed
information on filesystems on Linux and
Solaris. And I mean not only for the OS but and how it(the OS) uses the hard drives!
Thank you in advance!!
Solid Snake;) ;) (3 Replies)
Discussion started by: SolidSnake
3 Replies
2. Linux
Hi all,
Suppose i have a disk having three partitions (hda1,hda2,hda3) ,and are mounted all under /dev/ ..
My question is where the / will be existing.which file system it wil be in?
I am windows user new to linux/unix.Any help in learning internals would be appreciated .
Thanks ,... (1 Reply)
Discussion started by: gkrishn
1 Replies
3. Tips and Tutorials
Hi,
Please have a look this: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/Linux-Filesystem-Hierarchy.pdf
I think this can be very useful for a beginner/intermediate level user to understand the filesystem hierarchy and as well as it can be used as a reference to various linux commands and... (0 Replies)
Discussion started by: tayyabq8
0 Replies
4. Programming
I am trying to uncompress a UDP packets payload. The data was compressed using "Xceed Version 4.3" which is a closed source windows program. I need to uncompress the data on a linux box. The technical support people at Xceed tell me that the data was compressed using "the Deflate compression method... (0 Replies)
Discussion started by: sysadmin9
0 Replies
5. UNIX for Advanced & Expert Users
I know that Univ FileSystem stores all file data in the form of first few direct nodes followed by indirect nodes. But internally some systems implement where , a single block of 4096 isnt allocated alone a single block basis on physical drive, rather a large chunk of data is allocated and no. of... (1 Reply)
Discussion started by: GloriousDaisy
1 Replies
6. UNIX for Dummies Questions & Answers
Hello again.
Please can someone tell me how can i check if my filesystem is raw on unix/linux ?
Is there some file to check or something like that to be sure ?
also ,
when i do :
$ ls -l /dev/rdisk
i get among other things , this also(there resides are oracle related files) :
... (2 Replies)
Discussion started by: tonijel
2 Replies
7. SuSE
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. Linux
hi,
we are getting filesystem locking issue very frequently. we are using linux rhel 5.5. our filesystem type is gfs2 where we are facing locking issue and unix admin team reboots server to over come with this issue. suddenly we used to face slowness on server and server gets hung. after that... (1 Reply)
Discussion started by: anshu ranjan
1 Replies
9. Linux
Cud some one pls help me wit some partitions of linux filesystem wit their meaning....urgent cos is an assignment (5 Replies)
Discussion started by: GODBLESSME
5 Replies
10. Shell Programming and Scripting
i need to backup a directory from one partition to another and and compress that directory after backing up, so i need to predict the compressed size of the directory with out actually compressing it, to check whether the space is available in the destination partition to accommodate the zipped... (2 Replies)
Discussion started by: Kesavan
2 Replies
LEARN ABOUT LINUX
c_rehash
C_REHASH(1SSL) OpenSSL C_REHASH(1SSL)
NAME
c_rehash - Create symbolic links to files named by the hash values
SYNOPSIS
c_rehash [directory] ...
DESCRIPTION
c_rehash scans directories and takes a hash value of each .pem and .crt file in the directory. It then creates symbolic links for each of
the files named by the hash value. This is useful as many programs require directories to be set up like this in order to find the
certificates they require.
If any directories are named on the command line then these directories are processed in turn. If not then and the environment variable
SSL_CERT_DIR is defined then that is consulted. This variable should be a colon (:) separated list of directories, all of which will be
processed. If neither of these conditions are true then /usr/lib/ssl/certs is processed.
For each directory that is to be processed he user must have write permissions on the directory, if they do not then nothing will be
printed for that directory.
Note that this program deletes all the symbolic links that look like ones that it creates before processing a directory. Beware that if you
run the program on a directory that contains symbolic links for other purposes that are named in the same format as those created by this
program they will be lost.
The hashes for certificate files are of the form <hash>.<n> where n is an integer. If the hash value already exists then n will be
incremented, unless the file is a duplicate. Duplicates are detected using the fingerprint of the certificate. A warning will be printed if
a duplicate is detected. The hashes for CRL files are of the form <hash>.r<n> and have the same behavior.
The program will also warn if there are files with extension .pem which are not certificate or CRL files.
The program uses the openssl program to compute the hashes and fingerprints. It expects the executable to be named openssl and be on the
PATH, or in the /usr/lib/ssl/bin directory. If the OPENSSL environment variable is defined then this is used instead as the executable that
provides the hashes and fingerprints. When called as $OPENSSL x509 -hash -fingerprint -noout -in $file it must output the hash of $file on
the first line followed by the fingerprint on the second line, optionally prefixed with some text and an equals sign (=).
OPTIONS
None
ENVIRONMENT
OPENSSL
The name (and path) of an executable to use to generate hashes and fingerprints (see above).
SSL_CERT_DIR
Colon separated list of directories to operate on. Ignored if directories are listed on the command line.
SEE ALSO
openssl(1), x509(1)
BUGS
No known bugs
1.0.0e 2013-02-18 C_REHASH(1SSL)