/usr/opt instead of /opt?

/usr/opt instead of /opt?

Ari Becker wickedpheonix at gmail.com
Fri Mar 9 09:54:47 IST 2012


If you're familiar with the Fedora proposed move from /bin and /sbin to
/usr/bin and /usr/sbin, you see that one of the ways that they're ensuring
legacy compatibility is, after moving everything under /usr, then
symlinking /bin to /usr/bin and /sbin to /usr/sbin. See:
http://fedoraproject.org/wiki/Features/UsrMove

So I imagine you might be able to do something similar, mounting your /opt
and /usr/opt drives on a different machine, manually copying the files
over, and manually creating the symlink. I've never tried something like
that before so I have no idea if it would work (read: "do at your own
risk"), it's just an idea...

-Ari

On Thu, Mar 8, 2012 at 9:49 PM, Omer Zak <w1 at zak.co.il> wrote:

> My current Linux system has a 15GB root partition, which has 6GB files.
> Turns out that that about 5.5GB are in the /opt directory.
> My /usr partition is 206GB, of which about 33GB are used.
>
> This led me to wonder why is it not recommended in the FSSTND[1] to
> deprecate /opt[2] and install its contents as /usr/opt (possibly with
> soft link from /opt to /usr/opt).
>
> [1] http://www.pathname.com/fhs/
> [2]
>
> http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES
>
> --- Omer
>
>
> --
> In civilized societies, captions are as important in movies as
> soundtracks, professional photography and expert editing.
> My own blog is at http://www.zak.co.il/tddpirate/
>
> My opinions, as expressed in this E-mail message, are mine alone.
> They do not represent the official policy of any organization with which
> I may be affiliated in any way.
> WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20120308/5f000380/attachment.html>


More information about the Linux-il mailing list