File: 9.html

package info (click to toggle)
lg-issue45 2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,464 kB
  • ctags: 159
  • sloc: makefile: 36; sh: 4
file content (175 lines) | stat: -rw-r--r-- 6,975 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.2M.l">
<TITLE>The Answer Guy 45: <TT>/bin</TT> vs <TT>/sbin</TT> and the FHS Revisited</TITLE>
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
	LINK="#3366FF" VLINK="#A000A0">
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<H4>"The Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
<P> <hr> <P>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<center>
<H1><A NAME="answer">
	<img src="../../gx/dennis/qbubble.gif" alt="(?)" 
		border="0" align="middle">
	<font color="#B03060">The Answer Guy</font>
	<img src="../../gx/dennis/bbubble.gif" alt="(!)" 
		border="0" align="middle">
</A></H1> 
<BR>
<H4>By James T. Dennis,
	<a href="mailto:answerguy@ssc.com">answerguy@ssc.com</a><BR>
	LinuxCare,
	<A HREF="http://www.linuxcare.com/">http://www.linuxcare.com/</A> 
</H4>
</center>

<p><hr><p>
<!--  endcut ======================================================= -->
<!-- begin 9 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	><TT>/bin</TT> vs <TT>/sbin</TT> and the FHS Revisited</H3>


<p><strong>From Greg Morse on Fri, 20 Aug 1999  
</strong></p>
<!-- ::
<TT>/bin</TT> vs <TT>/sbin</TT> and the FHS Revisited
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I enjoyed your little write up on bin vs <TT>/sbin</TT> etc.
Is there somewhere that a file standard for non-linux systems exists?
I have heard reference to a system V standard. How different is it from
Linux?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
There are many standards that relate to various facets
of various forms of UNIX.  However, I don't know of anything
quite like the FHS for non-Linux systems.
</BLOCKQUOTE>
<BLOCKQUOTE>
I've heard that HP was looking at the Linux FHS as a
possible model for their own HP-UX filesystem/layout
specification.  However that is an unsubstantiated
rumor.  Of course UNIX vendors are welcome to adopt the
FHS and adapt their systems to match it.  This would be
of benefit to all UNIX and Linux users.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
Also linux does not seem to have a <TT>/opt</TT> filesystem which is quite
heavily used on my AIX and HPUX boxes. What is the Linux equivalent?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
Linux does offer <TT>/opt.</TT>  I usually make mine a symlink to
<TT>/usr/local/opt.</TT>  It is supposed to be for "applications
binaries" (so things like <A HREF="http://www.kde.org/">KDE</A>, 
WordPerfect, Applixware, and StarOffice would all go into the 
<TT>/opt</TT> hierarchy).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
I would also appreciate it if you could go a bit deeper down the
directory tree, explaining as you go. The whole unix directory structure
is a mess and could really do with some xplanation as to what the common
idoms are.
Thank you.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
Oooh!  That would be a bit of a project.  I don't think I
have time for it this month (that two week trip to Japan
and the demands of a full-time job are catching up to me).
However, I'll leave this in my inbox until the end of the
month in case I can spend a bit more time on it.
</BLOCKQUOTE>

<BLOCKQUOTE>
Note that there is a bit of a fractal quality to some parts
of the typical/conventional Linux/UNIX directory tree.
</BLOCKQUOTE>
<BLOCKQUOTE>
For example we find bin, sbin, etc, lib and doc subdirectories
under <TT>/usr/local/</TT> which serve purposes that are analogous
to the same directories that are found under <TT>/</TT> and/or under
<TT>/usr</TT>.  We commonly find a similar set of directories under
<TT>/opt</TT>.  It's also common to see users who put tmp, bin, src,
and even lib subdirectories under their home directories.
</BLOCKQUOTE>
<BLOCKQUOTE>
Some of the same things can be seen under the <TT>/usr/X11R6</TT>
directory tree.
</BLOCKQUOTE>
<BLOCKQUOTE>
Beyond that quite a bit of the directory structure is
specific to the packages that are installed.
</BLOCKQUOTE>
<BLOCKQUOTE>
Remember all of these are guidelines rather than strict
rules.  Sysadmins frequently will set things a bit
differently --- though deviating too far from the
expectations of their software will require quite a bit
of programming and patching on their part.
</BLOCKQUOTE>
<!-- sig -->

<!-- end 9 -->
<!--startcut ======================================================= -->
<P> <hr> <P>
<H5 align="center"><a href="http://www.linuxgazette.com/ssc.copying.html"
	>Copyright &copy;</a> 1999, James T. Dennis 
<BR>Published in <I>The Linux Gazette</I> Issue 45 September 1999</H5>
<H6 ALIGN="center">HTML transformation  by
	<A HREF="mailto:star@starshine.org">Heather Stern</a> of
	Starshine Technical Services,
	<A HREF="http://www.starshine.org/">http://www.starshine.org/</A> 
</H6>
<P> <hr> <P>
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
<TABLE WIDTH="98%"><TR VALIGN="center" ALIGN="center">
<TD ROWSPAN="2" COLSPAN="2" WIDTH="42%"><A 
	HREF="../lg_answer45.html"
	><IMG SRC="../../gx/dennis/answernew.gif"
              ALT="[ Answer Guy Index ]"></A></td>
  <TD WIDTH="14%"><A HREF="1.html">1</A></TD>
  <TD WIDTH="14%"><A HREF="2.html">2</A></TD>
  <TD WIDTH="14%"><A HREF="3.html">3</A></TD>
  <TD WIDTH="14%"><A HREF="4.html">4</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD WIDTH="14%"><A HREF="5.html">5</A></TD>
  <TD WIDTH="14%"><A HREF="6.html">6</A></TD>
  <TD WIDTH="14%"><A HREF="7.html">7</A></TD>
  <TD WIDTH="14%"><A HREF="8.html">8</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD><A HREF="9.html" >9</A></TD>
  <TD><A HREF="10.html">10</A></TD>
  <TD><A HREF="11.html">11</A></TD>
  <TD><A HREF="12.html">12</A></TD>
  <TD><A HREF="13.html">13</A></TD>
</TR></TABLE>
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<P> <hr> <P>
<!-- begin lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<A HREF="../../lg_toc45.html"
	><IMG SRC="../../gx/indexnew.gif" ALT="[ Table Of Contents ]"></A>
<A HREF="/index.html"
	><IMG SRC="../../gx/homenew.gif" ALT="[ Front Page ]"></A>
<A HREF="../lg_bytes45.html"
	><IMG SRC="../../gx/back2.gif" ALT="[ Previous Section ]"></A>
<A HREF="../lg_tips45.html"
	><IMG SRC="../../gx/fwd.gif" ALT="[ Next Section ]"></A>
<!-- end lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
</BODY></HTML>
<!--endcut ========================================================= -->