[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The /source of the problem...or is that the /src?



I have seen previous statements that the entire area under /usr is
under the control of the debian package management system *EXCEPT*
/usr/local.  This means, for example, that the package system can
delete anything under /usr except that which is under /usr/local.  I
can't immediately verify this in the sources below.  However, they
make good reading for someone wishing to be canonical.


The /source sounds like a typo.

See the document
               Linux Filesystem Structure -- Release 1.2
under /usr/share/doc/debian-policy/fsst for debian.

See also "File Hieararchy Standard", a general *nix thing, for example
under /usr/share/doc/debian-policy/fhs

On Thu, May 18, 2000 at 01:26:40AM +0000, montefin wrote:
> Hi all,
> 
> After 6 weeks and a Slink->Potato upgrade, I've got to say I like Debian
> a whole lot and am definitely going to move it on up to the big box as
> soon as Potato goes stable and CD's are available...
> 
> But*, one tiny, core question remains. Which is it: /usr/src,
> /usr/local/source, /usr/local/src?
> 
> I don't know, maybe it's the 16 years of Catholic School. I came to
> Debian from Red Hat because I'd heard it was more 'canonical', more
> 'structured', closer to the 'soul' of Linux and open source. I wanted an
> underlying OS that would provide an almost liturgical standard that I
> could build upon, develop within, even 'commit sins' with, and still
> find it as steady as a rock and willing to forgive.
> 
> Some docs and HOWTO's say to build Linux in /usr/local/source; some
> mail, even from this list, mentions /usr/local/src; make-kpkg, I
> believe, builds into /usr/src. Sweet 'apt-get --configure source' will
> build where ever I happen to be at the moment.
> 
> I asked a well-debbed, not-to-be-named guru why this was and he told me
> so that Debian could avoid interference between what it configures and
> what some unknown third-party developer or I configure.
> 
> Well, here on the little test box, I chose to put the heads of all
> source-trees into /usr/local/source and symlink both /usr/src and
> /usr/local/src to /usr/local/source.
> 
> As I prepare to Debianize the big box, it would really help to know
> either 'The Correct Way' or 'The Reason(s) Why' for this most basic,
> initial, yet essential, decision. I want to start with as 'canonical' a
> box as possible so that I can truly be 'free' thereupon.
> 
> So. Which is it: /usr/src, /usr/local/source, /usr/local/src or all of
> the above and let the pieces fall where they may?
> 
> Thanks for whatever guidance you may send my way, and for your patience
> with
> 
> montefin
> 
> 
> *You never really know what somebody's saying until after they use the
> word 'but'.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 



Reply to: