Razlika između inačica stranice Direktorij (struktura)

Izvor: HrOpenWiki
Skoči na: orijentacija, traži
(Nova stranica: Struktura direktorija Linux operativnog sustava je standardizirana FHS (Filesystem Hierarchy Standard) standardu. Prema tom standardu unutar Linux operativnog sustava mora postojati ...)
 
Redak 5: Redak 5:
 
Izgled i značenja pojedinih direktorija u stablu predočena su u ovoj tabeli:
 
Izgled i značenja pojedinih direktorija u stablu predočena su u ovoj tabeli:
  
{| class="wikitable" style="vertical-align: top; width: 100%" summary="A description of the hierarchy specified in the FHS."
+
{| class="wikitable" style="vertical-align: top; width: 100%" summary="Opis hijerarhije prema FHS-u."
 
|-
 
|-
!Directory
+
!Direktorij
!Description
+
!Opis
 
|-
 
|-
 
|<span style="color: #039">/</span>
 
|<span style="color: #039">/</span>
|<span style="color: #06F">''Primary hierarchy''</span> root and [[root directory]] of the entire file system hierarchy.
+
|<span style="color: #06F">''Primarna hijerarhija''</span> root direktorij od cijelokupne hijerarhije sistema.
 
|-
 
|-
 
|<span style="color: #06F">/bin/</span>
 
|<span style="color: #06F">/bin/</span>
|Essential command [[executable|binaries]] that need to be available in [[single user mode]]; for all users (e.g., [[cat (Unix)|cat]], [[ls]], [[cp (Unix)|cp]]).
+
|Datoeke bitnih naredbi na nivou ''Single user moda'', za sve korisnike (npr. cat, ls, cp).
 
|-
 
|-
 
|/boot/
 
|/boot/
|[[Boot loader]] files (e.g., [[Kernel (computer science)|kernel]]s, [[initrd]]). Often a separate partition.
+
|[[Boot loader]] datoteke (npr. kernel, GRUB datoteke).Često na posebnoj particiji.
 
|-
 
|-
 
|/dev/
 
|/dev/
|Essential [[device file|devices]] (e.g., [[:/dev/null]]).
+
|Specijalne datoteke uređaja).
 
|-
 
|-
 
|/etc/
 
|/etc/
<!-- Please see the talk page before changing this -->
+
|Konfiguracijske datoteke sistema
|Host-specific system-wide [[configuration file]]s (the name comes from ''[[et cetera]]'').
+
 
|-
 
|-
 
|
 
|
 
:/etc/opt/
 
:/etc/opt/
|Configuration files for /opt/.
+
|Konfiguracijske datoteke za /opt/.
 
|-
 
|-
 
|
 
|
 
:/etc/X11/
 
:/etc/X11/
|Configuration files for the [[X Window System]], version 11.
+
|Konfiguracijske datoteke za [[X Window System]].
 
|-
 
|-
 
|
 
|
 
:/etc/sgml/
 
:/etc/sgml/
|Configuration files for [[SGML]].
+
|Konfiguracijske datoteke za SGML.
 
|-
 
|-
 
|
 
|
 
:/etc/xml/
 
:/etc/xml/
|Configuration files for [[XML]].
+
|Konfiguracijske datoteke za XML.
 
|-
 
|-
 
|/home/
 
|/home/
|Users' [[home directory|home directories]] - containing saved files, personal settings etc. Often a separate partition.
+
|Korisnički [[home direktorij|home direktoriji]] - sadrže korisničke privatne podatke i podešenja. Često na posebnoj particiji.
 
|-
 
|-
 
|<span style="color: #06F">/lib/</span>
 
|<span style="color: #06F">/lib/</span>
|[[Library (computer science)|Libraries]] essential for the [[binaries]] in /bin/ and /sbin/.
+
|Bitne biblioteke za programe iz /bin/ i /sbin/.
 
|-
 
|-
 
|/media/
 
|/media/
|Mount points for removable media such as [[CD-ROM]]s (appeared in FHS-2.3).
+
|Točke montiranja za izmjenjljive medije kao npr. CD-ROM (od  FHS-2.3).
 
|-
 
|-
 
|/mnt/
 
|/mnt/
|Temporarily [[mount (computing)|mounted]] filesystems.
+
|Privremeno [[Mount|montirani]] [[Datotečni sustav|datotečni sustavi]].
 
|-
 
|-
 
|/opt/
 
|/opt/
|Optional [[application software]] [[Software package (installation)|packages]].
+
|Neobavezni aplikacijski paketi.
 
|-
 
|-
 
|/proc/
 
|/proc/
|Virtual [[filesystem]] documenting [[Kernel (computers)|kernel]] and [[process (computing)|process]] status as text files (e.g., uptime, network).
+
|Virtualni datotečni sustav za prikaz rada kernela i procesa u obliku tekstualnih datoteka
 
|-
 
|-
 
|/root/
 
|/root/
|[[Home directory]] for the [[superuser|root]] user.
+
|[[Home direktorij]] od root korisnika.
 
|-
 
|-
 
|<span style="color: #06F">/sbin/</span>
 
|<span style="color: #06F">/sbin/</span>
|Essential system binaries (e.g., init, route, ifup).
+
|Bitne sistemske datoteke (npr., init, route, ifup).
 
|-
 
|-
 
|/srv/
 
|/srv/
|Site-specific [[data]] which is served by the system.
+
|Specifični podaci posluženi od strane sistema..
 
|-
 
|-
 
|/tmp/
 
|/tmp/
|Temporary files (see also /var/tmp). Often not preserved between system reboots.
+
|Privremeni podaci, koji obično ne opstaju nakon reboota računala.
 
|-
 
|-
 
|<span style="color: #090">/usr/</span>
 
|<span style="color: #090">/usr/</span>
<!-- ##### Please SEE THE TALK PAGE before changing this ##### -->
+
|<span style="color: #090">''Sekundarna hijerarhija''</span> za korisničke podatke; sadrži glavninu više korisničkih alata i aplikacija.
|<span style="color: #090">''Secondary hierarchy''</span> for user data; contains the majority of ([[multi-user|multi-]])user utilities and applications.<ref>Should be shareable and read-only, cf. http://www.pathname.com/fhs/pub/fhs-2.3.html.</ref>
+
 
<!-- ##### /usr is NOT anything but the above. This has been rehashed plenty of times before and reverting misled souls like yourself is taking up roughly a third of every edit on this page (another third being the edits of misled souls such as yourself). This time, Wikipedia is right. ##### -->
 
<!-- ##### /usr is NOT anything but the above. This has been rehashed plenty of times before and reverting misled souls like yourself is taking up roughly a third of every edit on this page (another third being the edits of misled souls such as yourself). This time, Wikipedia is right. ##### -->
 
|-
 
|-
 
|
 
|
 
:<span style="color: #090">/usr/bin/</span>
 
:<span style="color: #090">/usr/bin/</span>
|Non-essential command [[executable|binaries]] (not needed in [[single user mode]]); for all users.
+
|Manje bitne naredbe (nepotrebne u ''Single user modu''); za sve korisnike.
 
|-
 
|-
 
|
 
|
 
:<span style="color: #090">/usr/include/</span>
 
:<span style="color: #090">/usr/include/</span>
|Standard [[header file|include files]].
+
|Standardne ''include'' datoteke .
 
|-
 
|-
 
|
 
|
 
:<span style="color: #090">/usr/lib/</span>
 
:<span style="color: #090">/usr/lib/</span>
|[[Library (computer science)|Libraries]] for the [[binaries]] in /usr/bin/ and /usr/sbin/.  
+
|Biblioteke od programa u /usr/bin/ i /usr/sbin/.  
 
|-
 
|-
 
|
 
|
 
:<span style="color: #090">/usr/sbin/</span>
 
:<span style="color: #090">/usr/sbin/</span>
|Non-essential system binaries (e.g. [[Daemon (computer software)|daemons]] for various [[network-services]]).
+
|Manje bitne sistemske datoteke (npr. [[Daemon|daemoni]]za različite servise.
 
|-
 
|-
 
|
 
|
 
:<span style="color: #090">/usr/share/</span>
 
:<span style="color: #090">/usr/share/</span>
|Architecture-independent (shared) data.
+
|Arhitekturno-neovisne (dijeljene) datoteke.
 
|-
 
|-
 
|
 
|
 
:<span style="color: #090">/usr/src/</span>
 
:<span style="color: #090">/usr/src/</span>
|[[Source code]] (e.g. the kernel source code with its header files).
+
|Datoteke izvornog koda (npr. kernelov izvorni kod).
 
|-
 
|-
 
|
 
|
 
:<span style="color: #090">/usr/X11R6/</span>
 
:<span style="color: #090">/usr/X11R6/</span>
|[[X Window System]], Version 11, Release 6.
+
|[[X Window System]], Verzija 11, izdanje 6.
 
|-
 
|-
 
|
 
|
 
:<span style="color: #F90">/usr/local/</span>
 
:<span style="color: #F90">/usr/local/</span>
|<span style="color: #F90">''Tertiary hierarchy''</span> for local data, specific to this host. Typically has further subdirectories, eg. bin/, lib/, share/.<ref>Historically and strictly according to the standard, /usr/local/ is for data that must be stored on the local host (as opposed to /usr/, which may be mounted across a network. Most of the time /usr/local/ is used for installing software/data that is ''not'' part of the standard operating system distribution (in such case, /usr/ would only contain software/data that ''is'' part of the standard operating system distribution). It is possible that the FHS standard may in the future be changed to reflect this de-facto convention).</ref>
+
|<span style="color: #F90">''Tercijalna hijerarhija''</span> za lokalne podatke. Strogo prema standardu, /usr/local/ služi za podatke koji moraju biti pohranjeni na lokalnom računalu (suprotno od /usr/, koji mogu biti montirani preko mreže.
 
|-
 
|-
 
|/var/
 
|/var/
|Variable files, such as logs, spool files, and temporary e-mail files.
+
|Promjenjljive datoteke kao što su log-ovi, spool-ovi isl.
 
|-
 
|-
 
|
 
|
 
:/var/lib/
 
:/var/lib/
|State information. Persistent data modified by programs as they run (e.g. databases, packaging system metadata etc.).
+
|Podaci koji se mijenjaju pripadajućim programima (npr. baze podataka).
 
|-
 
|-
 
|
 
|
 
:/var/lock/
 
:/var/lock/
|Lock filesFiles keeping track of resources currently in use.
+
|Zaključane datotekeDatoteke koje drže tragove o programima koji se izvršavaju.
 
|-
 
|-
 
|
 
|
 
:/var/log/
 
:/var/log/
|Log files.  Various logs.
+
|Log datoteke.
 
|-
 
|-
 
|
 
|
 
:/var/mail/
 
:/var/mail/
|Users' [[e-mail|mail]]boxes.
+
|Korisnički e-mail sandučići.
 
|-
 
|-
 
|
 
|
 
:/var/run/
 
:/var/run/
|Information about the running system since last boot (e.g. currently logged-in users and running [[daemons]]).
+
|Informacije o sistemu od zadnjeg pokretanja.
 
|-
 
|-
 
|
 
|
 
:/var/spool/
 
:/var/spool/
|[[Spooling|Spool]] for tasks waiting to be processed (e.g. print queues and unread mail).
+
|Spool za zadatke koji trebaju tek biti učinjeni.
|-
+
|
+
:/var/spool/mail/
+
|[[Deprecated]] location for users' mailboxes.
+
 
|-
 
|-
 
|
 
|
 
:/var/tmp/
 
:/var/tmp/
|Temporary files to be preserved between reboots.
+
|Privremene datoteke koje trebaju preživjeti reboot računala.
 
|-
 
|-
 
|}
 
|}
  
 
[[Kategorija:Rječnik_pojmova]]
 
[[Kategorija:Rječnik_pojmova]]

Inačica od 17:06, 23. prosinca 2008.

Struktura direktorija Linux operativnog sustava je standardizirana FHS (Filesystem Hierarchy Standard) standardu.

Prema tom standardu unutar Linux operativnog sustava mora postojati vrlo unificirano "stablo" direktorija čija imena predstavljaju određeni dio samog operativnog sustava.

Izgled i značenja pojedinih direktorija u stablu predočena su u ovoj tabeli:

Direktorij Opis
/ Primarna hijerarhija root direktorij od cijelokupne hijerarhije sistema.
/bin/ Datoeke bitnih naredbi na nivou Single user moda, za sve korisnike (npr. cat, ls, cp).
/boot/ Boot loader datoteke (npr. kernel, GRUB datoteke).Često na posebnoj particiji.
/dev/ Specijalne datoteke uređaja).
/etc/ Konfiguracijske datoteke sistema
/etc/opt/
Konfiguracijske datoteke za /opt/.
/etc/X11/
Konfiguracijske datoteke za X Window System.
/etc/sgml/
Konfiguracijske datoteke za SGML.
/etc/xml/
Konfiguracijske datoteke za XML.
/home/ Korisnički home direktoriji - sadrže korisničke privatne podatke i podešenja. Često na posebnoj particiji.
/lib/ Bitne biblioteke za programe iz /bin/ i /sbin/.
/media/ Točke montiranja za izmjenjljive medije kao npr. CD-ROM (od FHS-2.3).
/mnt/ Privremeno montirani datotečni sustavi.
/opt/ Neobavezni aplikacijski paketi.
/proc/ Virtualni datotečni sustav za prikaz rada kernela i procesa u obliku tekstualnih datoteka
/root/ Home direktorij od root korisnika.
/sbin/ Bitne sistemske datoteke (npr., init, route, ifup).
/srv/ Specifični podaci posluženi od strane sistema..
/tmp/ Privremeni podaci, koji obično ne opstaju nakon reboota računala.
/usr/ Sekundarna hijerarhija za korisničke podatke; sadrži glavninu više korisničkih alata i aplikacija.
/usr/bin/
Manje bitne naredbe (nepotrebne u Single user modu); za sve korisnike.
/usr/include/
Standardne include datoteke .
/usr/lib/
Biblioteke od programa u /usr/bin/ i /usr/sbin/.
/usr/sbin/
Manje bitne sistemske datoteke (npr. daemoniza različite servise.
/usr/share/
Arhitekturno-neovisne (dijeljene) datoteke.
/usr/src/
Datoteke izvornog koda (npr. kernelov izvorni kod).
/usr/X11R6/
X Window System, Verzija 11, izdanje 6.
/usr/local/
Tercijalna hijerarhija za lokalne podatke. Strogo prema standardu, /usr/local/ služi za podatke koji moraju biti pohranjeni na lokalnom računalu (suprotno od /usr/, koji mogu biti montirani preko mreže.
/var/ Promjenjljive datoteke kao što su log-ovi, spool-ovi isl.
/var/lib/
Podaci koji se mijenjaju pripadajućim programima (npr. baze podataka).
/var/lock/
Zaključane datoteke. Datoteke koje drže tragove o programima koji se izvršavaju.
/var/log/
Log datoteke.
/var/mail/
Korisnički e-mail sandučići.
/var/run/
Informacije o sistemu od zadnjeg pokretanja.
/var/spool/
Spool za zadatke koji trebaju tek biti učinjeni.
/var/tmp/
Privremene datoteke koje trebaju preživjeti reboot računala.