Sponsored Content
Full Discussion: Linux Filesystem Hierarchy
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions Tips and Tutorials Linux Filesystem Hierarchy Post 302105148 by tayyabq8 on Wednesday 31st of January 2007 02:55:42 AM
Old 01-31-2007
Linux Filesystem Hierarchy

Hi,

Please have a look this: http://tldp.org/LDP/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 configuration files.

Filesystem Hierarchy Standard can also be very usefule posted by Zazzybob in this thread.

Regards,
Tayyab
These 2 Users Gave Thanks to tayyabq8 For This Post:
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Filesystem for Linux - Solaris

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

Linux filesystem

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. UNIX for Dummies Questions & Answers

How can I check if I have raw filesystem on unix/linux

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

4. SuSE

filesystem from unix 32 to linux 64

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

5. Linux

Tripwire Nightware on Linux (proc filesystem)

Hello, I am having a nightmare with Tripwire on Linux..... I cannot get it to ignore the /proc filesystem, which I want to completely ignore for now Has anyone here successfully configured Tripwire on Linux and completed ignored the /proc filesystem ? If so, please reply and tell me how... (0 Replies)
Discussion started by: Neo
0 Replies

6. Linux

filesystem locking issue on 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

7. Linux

Partition of linux filesystem wit meaning

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

8. Red Hat

doubt in NFS mounted filesystem in linux

Hi, I have some filesystem which is nfs mounted and shared to other servers. Nfs server name= nfsserver (here filesystem is locally mounted) server name where filesystem is shared = sharedserver1 and sharedserver2 filesystem which is shared = /filesystem1 when i am checking utilization by... (1 Reply)
Discussion started by: anshu ranjan
1 Replies

9. Filesystems, Disks and Memory

Compressed Filesystem for Linux

Hi Everybody: I'm searching a compressed Filesystem for a external disk, what I use for a full, diary and differential Backup. The performance is not important, I search the best option for compress data, but I want have access to structure disk, with directories and files in the Backup disk.... (6 Replies)
Discussion started by: bypper
6 Replies
Hierarchy(3)						User Contributed Perl Documentation					      Hierarchy(3)

NAME
Data::Hierarchy - Handle data in a hierarchical structure SYNOPSIS
my $tree = Data::Hierarchy->new(); $tree->store ('/', {access => 'all'}); $tree->store ('/private', {access => 'auth', '.note' => 'this is private}); $info = $tree->get ('/private/somewhere/deep'); # return actual data points in list context ($info, @fromwhere) = $tree->get ('/private/somewhere/deep'); my @items = $tree->find ('/', {access => qr/.*/}); # override all children $tree->store ('/', {'.note' => undef}, {override_sticky_descendents => 1}); DESCRIPTION
Data::Hierarchy provides a simple interface for manipulating inheritable data attached to a hierarchical environment (like a filesystem). One use of Data::Hierarchy is to allow an application to annotate paths in a real filesystem in a single compact data structure. However, the hierarchy does not actually need to correspond to an actual filesystem. Paths in a hierarchy are referred to in a Unix-like syntax; "/" is the root "directory". (You can specify a different separator character than the slash when you construct a Data::Hierarchy object.) With the exception of the root path, paths should never contain trailing slashes. You can associate properties, which are arbitrary name/value pairs, with any path. (Properties cannot contain the undefined value.) By default, properties are inherited by child paths: thus, if you store some data at "/some/path": $tree->store('/some/path', {color => 'red'}); you can fetch it again at a "/some/path/below/that": print $tree->get('/some/path/below/that')->{'color'}; # prints red On the other hand, properties whose names begin with dots are uninherited, or "sticky": $tree->store('/some/path', {'.color' => 'blue'}); print $tree->get('/some/path')->{'.color'}; # prints blue print $tree->get('/some/path/below/that')->{'.color'}; # undefined Note that you do not need to (and in fact, cannot) explicitly add "files" or "directories" to the hierarchy; you simply add and delete properties to paths. CONSTRUCTOR
Creates a new hierarchy object. Takes the following options: sep The string used as a separator between path levels. Defaults to '/'. METHODS
Instance Methods "store $path, $properties, {%options}" Given a path and a hash reference of properties, stores the properties at the path. Unless the "override_descendents" option is given with a false value, it eliminates any non-sticky property in a descendent of $path with the same name. If the "override_sticky_descendents" option is given with a true value, it eliminates any sticky property in a descendent of $path with the same name. override it. A value of undef removes that value; note, though, that if an ancestor of $path defines that property, the ancestor's value will be inherited there; that is, with: $t->store('/a', {k => 'top'}); $t->store('/a/b', {k => 'bottom'}); $t->store('/a/b', {k => undef}); print $t->get('/a/b')->{'k'}; it will print 'top'. "get $path, [$dont_clone]" Given a path, looks up all of the properteies (sticky and not) and returns them in a hash reference. The values are clones, unless you pass a true value for $dont_clone. If called in list context, returns that hash reference followed by all of the ancestral paths of $path which contain non-sticky properties (possibly including itself). "find $path, $property_regexps" Given a path and a hash reference of name/regular expression pairs, returns a list of all paths which are descendents of $path (including itself) and define at that path itself (not inherited) all of the properties in the hash with values matching the given regular expressions. (You may want to use "qr/.*/" to merely see if it has any value defined there.) Properties can be sticky or not. "merge $other_hierarchy, $path" Given a second Data::Hierarchy object and a path, copies all the properties from the other object at $path or below into the corresponding paths in the object this method is invoked on. All properties from the object this is invoked on at $path or below are erased first. "to_relative $base_path" Given a path which every element of the hierarchy must be contained in, returns a special Data::Hierarchy::Relative object which represents the hierarchy relative that path. The only thing you can do with a Data::Hierarchy::Relative object is call "to_absolute($new_base_path)" on it, which returns a new Data::Hierarchy object at that base path. For example, if everything in the hierarchy is rooted at "/home/super_project" and it needs to be moved to "/home/awesome_project", you can do $hierarchy = $hierarchy->to_relative('/home/super_project')->to_absolute('/home/awesome_project'); (Data::Hierarchy::Relative objects may be a more convenient serialization format than Data::Hierarchy objects, if they are tracking the state of some relocatable resource.) AUTHORS
Chia-liang Kao <clkao@clkao.org> David Glasser <glasser@mit.edu> COPYRIGHT
Copyright 2003-2006 by Chia-liang Kao <clkao@clkao.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.18.2 2006-11-04 Hierarchy(3)
All times are GMT -4. The time now is 01:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy