|
From: Oscar del Rio on 20 Apr 2008 10:52 Richard B. Gilbert wrote: > 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. If by soft link you mean symbolic link, I would not do that, some packages remove the symlink and create a new directory. Use a loopback mount instead (man lofs). We still have /usr/local for historical reasons (software compiled over the last 15+ years that still works thanks to Solaris binary compatibility) but it is a read-only NFS mount so technically it is separate from /usr.
From: usenetpersongerryt on 20 Apr 2008 13:35 On Apr 20, 3:19 am, comp.unix.sola...(a)expires- on-2008-04-28.usenet.andreas-borchert.de (Andreas F. Borchert) wrote: > On 2008-04-19, usenetpersonger...(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. Seewww.sunfreeware.com, for example, that > continues to install everything below /usr/local. Conventions like this be damned. Anyone who still uses sunfreeware.com is truly desperate or clueless : > Ouch that hurt. Also, soft links dont always work - but I cannot think of a way to fool a mount point. Patches dont add a significant amount of space to anything else but /var and, any half way near competent computer person would have measures in place to keep track of disk space usage anyway so having a separate / and /usr seems more trouble than its worth. In fact the whole idea of using a tiny disk, ancient OS release, no RAM, whatever it takes to save a few precious watts, etc is wonky from the start : > Doable but seems like a wasted effort with little payoff. All this ranting sorry. But when OpenSolaris first came out I built it from the then available source and tried to make a "full" install as small as possible. After a LOT of effort I could easily fit everything on a CD. This was before X was part of the picture. Point is you can make Solaris 11 SMALL if you really want to. Same goes for update 5 of Solaris 10 where you can pick and choose if you are careful what packages you want to install.
From: Rich Teer on 20 Apr 2008 19:10 On Sun, 20 Apr 2008, Andreas F. Borchert wrote: > /usr/local is still in use. See www.sunfreeware.com, for example, that > continues to install everything below /usr/local. Which is one reason why I recommend Blastwave over Sun Freeware. -- Rich Teer, SCSA, SCNA, SCSECA CEO, My Online Home Inventory URLs: http://www.rite-group.com/rich http://www.linkedin.com/in/richteer http://www.myonlinehomeinventory.com
From: Chris Mattern on 21 Apr 2008 10:46 On 2008-04-19, Maarten Deen <zqrra(a)kf4nyy.ay> wrote: > I'm in the process of installing Solaris 9 x86 for a little webserver and > it tells me the minimum / partition size is 1495 MB and doesn't allow me to > enter anything less than that. > After installing I see that the / partition is filled with 45MB: > # uname -a > SunOS optisun 5.9 Generic_118559-11 i86pc i386 i86pc > # df -k > Filesystem kbytes used avail capacity Mounted on > /dev/dsk/c0d0s0 1482750 45254 1378186 4% / > /dev/dsk/c0d0s6 5179982 1303852 3824331 26% /usr > /dev/dsk/c0d0p0:boot 11484 1594 9890 14% /boot > /proc 0 0 0 0% /proc > mnttab 0 0 0 0% /etc/mnttab > fd 0 0 0 0% /dev/fd > /dev/dsk/c0d0s3 534350 28309 452606 6% /var > swap 616172 20 616152 1% /var/run > swap 616152 0 616152 0% /tmp > > As I'm installing on an 8GB drive, size does matter here. > How can I trick Solaris into accepting a smaller (say: 100MB) / partition? By partitioning your disk that way. No "tricking" required; you can manually create your partitions and designate what they hold as you like. I will say that if you want to save space, you may want to fold /usr into /; there's not much point in separating them unless you're trying to keep /usr read-only. On the other hand, to you really want /home (or /export/home, whichever you're using) to be part of /? > > For info: my current install of Solaris 7 is on a 9GB disk: > $ uname -a > SunOS kingdom 5.7 Generic_106541-08 sun4m sparc SUNW,SPARCstation-5 > $ df -k > Filesystem kbytes used avail capacity Mounted on > /proc 0 0 0 0% /proc > /dev/dsk/c0t3d0s0 30399 17377 9983 64% / > /dev/dsk/c0t3d0s6 8358189 4386164 3888444 54% /usr > fd 0 0 0 0% /dev/fd > /dev/dsk/c0t3d0s1 62407 20086 36081 36% /var > swap 285172 1044 284128 1% /tmp > > /opt sits in /usr here. If you're going to do that, you might as well make them all part of a unified /. > > Maarten > > > -- Christopher Mattern NOTICE Thank you for noticing this new notice Your noticing it has been noted And will be reported to the authorities
From: Chris Mattern on 21 Apr 2008 10:48
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 > news:slrng0jonm.2b.comp.unix.solaris(a)usenet.andreas-borchert.de: > >> On 2008-04-19, Maarten Deen <zqrra(a)kf4nyy.ay> wrote: >>> I'm in the process of installing Solaris 9 x86 for a little webserver >>> and it tells me the minimum / partition size is 1495 MB and doesn't >>> allow me to enter anything less than that. >> >> 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. > That's a reason to separate /var. That's a reason to separate /home. That's not a reason to separate /usr, which does not generally change. In fact, /usr changes so seldom that the only good reason to separate /usr is if you're going to make it read-only, which you can do in a well-regulated system. -- Christopher Mattern NOTICE Thank you for noticing this new notice Your noticing it has been noted And will be reported to the authorities |