From: Andrew Gabriel on
In article <UqnOj.6307$R_4.4911(a)newsb.telia.net>,
"Thommy M." <eclipsed9876543210(a)hotmail.com> writes:
>
> The Solaris way to do it is / and /usr on the same partition and
> eventually /var on a separate.

Solaris has no such constraints.
You may well choose to do that, and that's fine, but
it isn't imposed by Solaris.

> Just get used to it and you will have a
> much nice experience with Solarais.

Solaris doesn't care either way.
If you make /usr a separate filesystem, you can have
it mount read-only (except when installing/patching).
The same goes for /opt. A number of our enterprise
customers do this on their key servers as it reduces
the opportunity for unauthorised changes, corruption,
and the need for archiving read-only filesystems,
although you might well not bother on a less important
workstation.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
From: Richard B. Gilbert on
Oscar del Rio wrote:
> Maarten Deen wrote:
>> comp.unix.solaris(a)expires-on-2008-04-27.usenet.andreas-borchert.de
>> (Andreas F. Borchert) wrote in
>>> Why do you want to put /usr on a separate partition?
>>
>> Because I was raised to do so. That way the root partition will not
>> fill up and cause problems in the system.
>
> / and /usr are supposed to be static, no reason for them to fill up.
> You might be thinking about /var

/ and /usr are affected by patches and/or O/S upgrades! If you never
patch or upgrade you can live with minimal / and /usr. Most of us,
however, must sooner or later apply patches to our systems, or upgrade
the O/S, or both. Backing up, repartitioning, and restoring is
sufficiently painful and time consuming that it's best to allocate these
partitions generous amounts of space. /var should be allocated
generously for the same reason.

From: Andreas F. Borchert on
On 2008-04-19, usenetpersongerryt(a)gmail.com wrote:
> Typically under /opt (something)
> man filesystem under Solaris 8 does not say this:
>
> " /usr/local
> Not part of the SVR4-based Solaris distribution. The
> /usr directory is exclusively for software bundled with
> the Solaris operating system. If needed for storing
> machine-local add-on software, create the directory
> /opt/local and make /usr/local a symbolic link to
> /opt/local. The /opt directory or filesystem is for
> storing add-on software to the system."

Yes, Sun said this long ago but the convention to store add-ons under
/usr/local is still in use. See www.sunfreeware.com, for example, that
continues to install everything below /usr/local.

Andreas.
From: Andreas F. Borchert on
On 2008-04-19, Maarten Deen <zqrra(a)kf4nyy.ay> wrote:
> comp.unix.solaris(a)expires-on-2008-04-27.usenet.andreas-borchert.de
> (Andreas F. Borchert) wrote in
>> Why do you want to put /usr on a separate partition?
>
> Because I was raised to do so.

That was indeed common practice in earlier times [1] when all sorts of
disk filling stuff went into /usr/spool. Since this has been moved to
/var, just leaving symbolic links in the /usr hierarchy, there is no
longer a need to separate / from /usr. If my memory serves me correctly,
the support of /var appeared already in SunOS 4.x -- even before the
introduction of Solaris 2.0.

Andreas.

[1] I remember a nice PDP-11/23 with two 5" floppy drives, each
floppy providing ca. 400kb, running UNIX edition VI. On this system,
we had / on the first floppy while /usr resided on the second.
From: Richard B. Gilbert on
Andreas F. Borchert wrote:
> On 2008-04-19, usenetpersongerryt(a)gmail.com wrote:
>> Typically under /opt (something)
>> man filesystem under Solaris 8 does not say this:
>>
>> " /usr/local
>> Not part of the SVR4-based Solaris distribution. The
>> /usr directory is exclusively for software bundled with
>> the Solaris operating system. If needed for storing
>> machine-local add-on software, create the directory
>> /opt/local and make /usr/local a symbolic link to
>> /opt/local. The /opt directory or filesystem is for
>> storing add-on software to the system."
>
> Yes, Sun said this long ago but the convention to store add-ons under
> /usr/local is still in use. See www.sunfreeware.com, for example, that
> continues to install everything below /usr/local.
>
> Andreas.

The fact that /usr/local is in common usage does NOT make it correct.
/usr belongs to the O/S and replacing it in its entirety is a legitimate
operation when installing/upgrading Solaris.

You MAY get away with it. I wouldn't want to bet on it! If, for some
reason, you feel that you MUST have /usr/local, make it a soft link to
/opt/local.