Home | Community | Message Board


Myco Supply
Please support our sponsors.

General Interest >> Science and Technology

Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post. Pages: 1
Offlinemonoamine
umask 077(nonefor you)

Registered: 09/07/02
Posts: 3,095
Loc: Jacksonville,FL
Last seen: 11 years, 11 months
linux file system troubles
    #2709953 - 05/21/04 05:33 AM (13 years, 4 months ago)

I've messed around with various flavors of UNIX and Linux in the past,but I've been trying hard to learn the system lately. I do not understand the file system at all. Every book I've read says something different or certain distros keep files in different places than others. What the hell goes where? Can someone give me a brief explanation? Like what exactly goes in /etc,/usr,/proc,/bin,/sbin,etc...? When installing a program like a new browser or file sharing program or something,where do the excutables go? (i.e. the c:\Programs directory in Windows)


--------------------
People think that if you just say the word "hallucinations" it explains everything you want it to explain and eventually whatever it is you can't explain will just go away.It's just a word,it doesn't explain anything...
Douglas Adams


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineMAIA
World-BridgerKartikeya (DftS)
Male User Gallery

Registered: 04/27/01
Posts: 7,276
Loc: Erra - 20 Tauri - M45 Sta...
Last seen: 3 months, 9 days
Re: linux file system troubles [Re: monoamine]
    #2710112 - 05/21/04 08:08 AM (13 years, 4 months ago)

I'll give you a quick refference.

/etc

Configuration files and scripts for installed software and also start up and task manager configuration.

/usr/bin ; /usr/local/bin ; /sbin ; /bin ; /home/<user>/bin

Bynaries or executable files (the same as M$ exe files). When you install something, the file should go to any of this folders. It really depends how you install things, working with RPM's is sweet because they put it all inside the correct places. Compiling sources could be more complicated as you should use several parameters (like --prefix and so on) if you don't have a matching installation script for your distro.
If you use RPM and a graphical interface like KDE, try using kpackage. It will give you a complete list of files related to any specific installed software. That way, you'll know where the config files, documentation and bynaries are.

/proc

It has system configuration files, like max files usage, etc. Try looking at /proc/sys/fs or /proc/sys/kernel for the file system configuration.

MAIA


--------------------
Spiritual being, living a human experience ... The Shroomery Mandala



Use, do not abuse; neither abstinence nor excess ever renders man happy.
Voltaire


Post Extras: Print Post  Remind Me! Notify Moderator
Invisiblematts
matts

Registered: 01/28/02
Posts: 3,649
Re: linux file system troubles [Re: MAIA]
    #2710161 - 05/21/04 08:40 AM (13 years, 4 months ago)



Post Extras: Print Post  Remind Me! Notify Moderator
OfflineSeussA
Error: divide byzero

Folding@home Statistics
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 8 months, 9 days
Re: linux file system troubles [Re: matts]
    #2710231 - 05/21/04 09:33 AM (13 years, 4 months ago)

> nah, it's random... absolutely no rhyme or reason

In linux perhaps, but each directory has a specific purpose in SYS-V unix.

For example, anything in /sbin is supposed to be statically linked so that the binaries will work from single user mode without /usr/lib needing to be mounted.


--------------------
Just another spore in the wind.


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineMAIA
World-BridgerKartikeya (DftS)
Male User Gallery

Registered: 04/27/01
Posts: 7,276
Loc: Erra - 20 Tauri - M45 Sta...
Last seen: 3 months, 9 days
Re: linux file system troubles [Re: matts]
    #2710670 - 05/21/04 01:00 PM (13 years, 4 months ago)

Quote:

matts said:
nah, it's random... absolutely no rhyme or reason




Yeap, that's why several distros are working together to create united linux....

MAIA


--------------------
Spiritual being, living a human experience ... The Shroomery Mandala



Use, do not abuse; neither abstinence nor excess ever renders man happy.
Voltaire


Post Extras: Print Post  Remind Me! Notify Moderator
Offlinecb9fl
Senior ChildMolestationExpert
Registered: 06/12/03
Posts: 3,104
Loc: florida
Last seen: 8 years, 1 month
Re: linux file system troubles [Re: MAIA]
    #2712350 - 05/21/04 07:36 PM (13 years, 3 months ago)

www.linuxquestions.org/ is a much better place to go for Linux answers.

I tried redhat for a little bit but hated it. They place their stupid logo on everything and rpm with redhat sucks due to dependency hell. You try installing one rpm and just get error messages not stating exactly which other rpms you need. Not saying redhat is bad I just personally really disliked it.

Slackware is really nice and uses tgz packages but isn't quite as popular among the Linux masses as some of the others.

Also read http://www.icon.co.za/~psheer/book/index.html for an excellent guide on Linux.

Quite often the program you're going to install will have an INSTALL file that states where files will be placed and other important information.


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineAhronZombi
AhronZombi

Registered: 04/06/04
Posts: 1,265
Loc: NY
Last seen: 3 years, 4 months
Re: linux file system troubles [Re: monoamine]
    #2713849 - 05/22/04 03:51 AM (13 years, 3 months ago)

it all depends on the developer and builder really. technicly any file can go anywhere as long as you configure your settings and file premisions right. i suggest going to a source based distro or building linux your self from scratch, thats the best way to understand the most about this OS in the shortest amount of time. it may be allot harder than say a distro with a installer but trust me its worth it


--------------------
[url=http://kratom.tcotu.net Low Priced, High Quality Kratom[/url]


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineAhronZombi
AhronZombi

Registered: 04/06/04
Posts: 1,265
Loc: NY
Last seen: 3 years, 4 months
Re: linux file system troubles [Re: cb9fl]
    #2713856 - 05/22/04 03:55 AM (13 years, 3 months ago)

( www.linuxquestions.org/ is a much better place to go for Linux answers.

I tried redhat for a little bit but hated it. They place their stupid logo on everything and rpm with redhat sucks due to dependency hell. You try installing one rpm and just get error messages not stating exactly which other rpms you need. Not saying redhat is bad I just personally really disliked it.

Slackware is really nice and uses tgz packages but isn't quite as popular among the Linux masses as some of the others.

Also read http://www.icon.co.za/~psheer/book/index.html for an excellent guide on Linux.

Quite often the program you're going to install will have an INSTALL file that states where files will be placed and other important information. )

Redhat was kinda bad for deps but now that its 100% free and called fedora they have intigrated a apt like package installer called yum that clears up allot of dep issue, but its still not perfect( but what is perfect?)


--------------------
[url=http://kratom.tcotu.net Low Priced, High Quality Kratom[/url]


Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

General Interest >> Science and Technology

Similar ThreadsPosterViewsRepliesLast post
* OS with support for encrypted file systems? OJK 951 9 07/06/06 08:07 AM
by OJK
* Mac OS X file system ---> XP or Linux?
( 1 2 all )
Boom 2,318 27 04/11/07 09:01 AM
by Boom
* Changing file systems.... Le_Canard 540 4 03/30/04 06:14 PM
by Yrtlzmo
* LInux program install trouble monoamine 979 9 09/11/04 03:10 PM
by monoamine
* annoying linux file permissions issue wilshire 707 6 02/12/06 10:29 PM
by Gijith
* What's a good Linux Operating system for a beginner Cracka_X 997 16 06/27/07 08:20 PM
by lIllIIIllIlIIlIlIIllIllIIl
* Best Linux/Unix Distribution? *DELETED*
( 1 2 3 all )
T0aD 4,370 52 07/06/04 05:48 PM
by tomu
* Former Gentoo Linux Architect Moves to Microsoft ivi 1,558 19 06/24/05 05:42 PM
by automan

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Lana, trendal, automan
787 topic views. 0 members, 4 guests and 4 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Avalon Magic Plants
Please support our sponsors.

Copyright 1997-2017 Mind Media. Some rights reserved.

Generated in 0.021 seconds spending 0.003 seconds on 19 queries.