Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Production Directory Structures Post 302079553 by System Shock on Tuesday 11th of July 2006 10:18:07 AM
Old 07-11-2006
You are going to get a lot of different opinions as to what's "best".
My suggestion to you would be to determine what your needs are within your environment (as in what's in your new box, how extensive/mission critical your in-house apps are) before making a decision.
How extensive are these in-house applications? Something small that requires little hard drive space, it's easy to re-install, and has no data that needs to be backed up can go in /usr/local/bin. If you are talking about something like Oracle, or Netcool, or Suitespot, i.e., applications that require lots of hard drive space, need to be backed up, etc, you'd want to put those in their own slice (or disk, depending on what you have). Whether is off / or /usr/ or whenever, it doesn't matter as long as they are in their own slice/disk; technically, they wouldn't be off any of those directories. Ex: /opt can sit in /dev/dsk/c0t0d0s6, and have /opt/netcool sit on /dev/dsk/c2t3d1s4. If you issue an ls command, it'd seem that netcool is off /opt, but if you issue a df command, you'll find out it isn't.
 

10 More Discussions You Might Find Interesting

1. Programming

pointer to structures

Dear friends I have a bit basic doubts in pointers and the structures inter relationships. the first one. static struct apvt { int dead; int pending; int abouttograb; }*agents=NULL; what agents pointer is... (1 Reply)
Discussion started by: tech_voip
1 Replies

2. Shell Programming and Scripting

help:comparing two directory tree structures only

Hi I what, a script snippet for "comparing two directory tree structures only " not the contents of directories(like files..etc). Thanking you a lot. Regards Rajesh (7 Replies)
Discussion started by: raj_thota
7 Replies

3. Programming

Programming using Structures

Hi All, I was given a format of a file, and was asked to write a program which displays the data contained in the file in that purticular format. Its all so confusing. Please find the example of the format as well the code I have written in the attachment. I hope any one of u guyz can... (0 Replies)
Discussion started by: jazz
0 Replies

4. Linux

about system structures

hello can any1 plz tell me about the system defined structures (like sysinfo) which wil give system and n/w charecteristics (ex: freeram in sysinfo). (1 Reply)
Discussion started by: jeenat
1 Replies

5. Programming

Dynamically allocated structures in C

I have a pointer to a structure containing an integer pointer: struct members { int id; int *neigh; }; The number of members N and its neighbors M change as the code runs, so I allocate the memory dynamically: members *grid = malloc(sizeof(members)*N); for(i=0;i<N;i++)... (2 Replies)
Discussion started by: brinch
2 Replies

6. UNIX for Dummies Questions & Answers

Delete duplicate files from one of two directory structures

Hello everyone, I have been struggling to clean up a back-up mess I created when manually duplicating a directory structure and then working in both of them.. The structures now are significantly different and contain in the order of 15 k files of which most are duplicates. Now I am trying to... (0 Replies)
Discussion started by: procreator
0 Replies

7. Shell Programming and Scripting

Perl Data Structures

Here is what i need to do. @data #has all column wise data so say info for col 1 location for all rows would be in this array $array = \@data But i need to create a file which should contain these information in a format for all columns even if i have got no values from some of the index... (0 Replies)
Discussion started by: dinjo_jo
0 Replies

8. BSD

Copying OpenBSD Kernel from a non production to production machine

Hi All, There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel. My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to... (1 Reply)
Discussion started by: lcxpics
1 Replies

9. Programming

Signalsafe data structures

Hello, I have a signal handler which manipulates a data structure. The data structure's operations aren't atomic. So if two threads/processes are in a critical section at the same time the data structure will be broken. With threads you can avoid this stuff with semaphores etc. However,... (10 Replies)
Discussion started by: littlegnome
10 Replies

10. Programming

C- static initialization of structures

Situation: I have an array of structures: struct my_struct_type { char tags_sn; char group_c; char is_err_c; }; struct my_struct_type stuff = { "abcd", 'A', 'E', "efgh", 'B', 'E', "ijkl", 'C', 'E' NULL, '\0', '\0' ... (14 Replies)
Discussion started by: garysk
14 Replies
FS_WSCELL(1)						       AFS Command Reference						      FS_WSCELL(1)

NAME
fs_wscell - Returns the name of the cell to which a machine belongs SYNOPSIS
fs wscell [-help] fs ws [-h] DESCRIPTION
The fs wscell command returns the name of the local machine's home cell. OPTIONS
-help Prints the online help for this command. All other valid options are ignored. OUTPUT
The output displays the contents of the local /etc/openafs/ThisCell file, in the format This workstation belongs to cell '<cellname>' EXAMPLES
The following example results when the fs wscell is issued on a machine in the State University cell: % fs wscell This workstation belongs to cell 'stateu.edu' PRIVILEGE REQUIRED
None SEE ALSO
fs_whereis(1), fs_whichcell(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_WSCELL(1)
All times are GMT -4. The time now is 11:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy