Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
xfce:thunar:unix-filesystem [2012/03/02 09:48] – created nickxfce:thunar:unix-filesystem [2022/12/11 11:04] (current) – [Gnome Virtual File System (GVFS)] alexxcons
Line 1: Line 1:
-====== The UNIX File System ======+~~NOTOC~~ 
 +{{ :xfce:xfce.thunar.png?no link|}} 
 +====== Thunar - The UNIX File System ======
  
-While the Thunar file manager does a good job at abstracting the details of the underlying file systemso the user does not need to care about them, it is sometimes useful to understand the basic concepts to get the whole picture. This section tries to give a brief introduction to the concepts of the UNIX file system, which is used today by all incarnations of UNIX, including Linux.+  * **[[#Folders and Paths|Folders and Paths]]** 
 +  * **[[#File Types|File Types]]** 
 +  * **[[#Gnome Virtual File System (GVFS)|Gnome Virtual File System (GVFS)]]** 
 + 
 +---- 
 + 
 +While the Thunar file manager does a good job at abstracting the details of the underlying file system so the user does not need to care about them, it is sometimes useful to understand the basic concepts to get the whole picture. This section tries to give a brief introduction to the concepts of the UNIX file system, which is used today by all incarnations of UNIX, including Linux. 
 + 
 +----
  
 ===== Folders and Paths ===== ===== Folders and Paths =====
  
-In a UNIX file system all folders are arranged in a simple inverted tree structure descending and branching down from a single top level folderwhich is called the root directory (the term directory is often used instead of folder) and displayed as File System in Thunar. This means that you can get from any folder to any other by going up the tree until you reach a common point, then down the tree through the appropriate subfolders until you reach your target.+In a UNIX file systemall folders are arranged in a simple inverted tree structure descending and branching down from a single top-level folder which is called the root directory (the term directory is often used instead of folder) and displayed as {gui>File Systemin Thunar. This means that you can get from any folder to any other by going up the tree until you reach a common point, then down the tree through the appropriate sub-folders until you reach your target
 + 
 +The position of any file or folder in the tree can be described by its path. The path is the list of folders you would have to descend through to get to the target folder or file, starting from the top-level folder. For example ''/home/luke'' is the subfolder ''luke'' of the subfolder ''home'' of the top-level folder, and ''/home/luke/myfile.txt'' is the file ''myfile.txt'' in that sub-folder. The leading ''/'' in these paths represents the top-level folder. 
 + 
 +Every user has his or her own folder to hold personal files and settings. This folder is called the home directory and is displayed in Thunar as a special icon with the user's login name. The folder is similar to the ''My Files'' folder in Windows. The home directories of the various users in a system are usually located below the ''/home'' folder. For example ''/home/luke'' would be the home directory of the user with the login name luke, while ''/home/jane'' would be the home directory for the user with the login name jane. 
 + 
 +[[|Back To Top]] 
 +---- 
 + 
 +===== File Types ===== 
 + 
 +You may have already heard that everything in UNIX is a file. This is true for most objects present in UNIX systems today. In fact, even devices are represented as special files. While this may not make sense at first sight, it is one of the strengths of UNIX and its derivatives and has helped it to maintain a simple core over the years where other operating systems had to introduce new concepts for every new technology. 
 + 
 +These are the four most important types of files in the UNIX file system: 
 + 
 +?Ordinary Files 
 +!An ordinary file may contain text, a program or other data. This includes image files, audio files, office documents and video files. The term file is often used to refer to an ordinary file. 
 + 
 +?Folder Files 
 +!Folders are also files in the UNIX file system. To be exact, a folder is a special file which contains a mapping of file names to file references for every file contained within this folder. 
 + 
 +?Symbolic Link Files 
 +!A Symbolic link (often called a //symlink//) is a special file that contains a path to another file in the file system. Symbolic link files therefore do not contain any useful information themselves, but just refer to other files. 
 + 
 +?Device Files 
 +!As mentioned earlier, (most) devices are also accessed through the file system. These special device files are usually located in the ''/dev'' folder. For example the special file ''/dev/hda'' represents the first IDE disk on a Linux system.  
 + 
 +[[|Back To Top]] 
 +----  
 + 
 +===== Gnome Virtual File System (GVFS)  ===== 
 +Some thunar features, like **support for trash**, **removable media**, **folder specific settings**, **file highlight** and **remote file systems** only can be used if the [[https://wiki.gnome.org/Projects/gvfs|gvfs]] packages provided by your distribution are installed 
 + 
 +E.g. For Debian and its derivatives, the packages "gvfs-backends" and "gvfs-fuse" are required.
  
-The position of any file or folder in the tree can be described by its path. The path is the list of folders you would have to descend through to get to the target folder or file, starting from the top level folder. For example ''/home/luke'' is the subfolder luke of the subfolder home of the top level folder, and ''/home/luke/myfile.txt'' is the file myfile.txt in that subfolder. The leading ''/'' in these paths represents the top level folder.+Dependent on which gvfs-backends you want to use, further packages will need to be installed.
  
-Every user has their own folder to hold their personal files and settingsThis folder is called the home directory and is displayed in Thunar as special icon with the users login nameThe folder is similar to the My Files folder known from WindowsThe home directories of the various users in a system are usually located below the /home folderFor example ''/home/luke'' would be the home directory of the user with the login name luke, while ''/home/jane'' would be the home directory for the user with the login name jane. +Gvfs allows mounting new drives without the need to be rootYou can e.guse the GUI Tool [[https://goodies.xfce.org/projects/applications/gigolo|gigolo]] to do so.
-File Types+
  
-You may have already heard that everything is a file in UNIXThis is true for most objects present in UNIX systems todayIn fact even devices are represented as a special files. While this may not make sense at first sight, it is one of the strengths of UNIX and its derivatives, and has helped it to maintain a simple core over the years where other operating systems had to introduce new concepts for every new technology.+Best check the [[https://wiki.gnome.org/Projects/gvfs/backends|gvfs-backends documentation]] for details.
  
-These are the four most important types of files in the UNIX file system.+=== Remote File Systems  ===
  
-===== Ordinary Files =====+In addition to the local filesystem thunar is able to display content of remote filesystems via different remote protocols.
  
-An ordinary file may contain text, a program or other dataThis includes image files, audio files, office documents and video filesThe term file is often used to refer to an ordinary file.+Here are some example locations to enter into the location selectorPlease check the [[https://wiki.gnome.org/Projects/gvfs|gvfs documentation]] for a complete list.
  
-===== Folder Files =====+== Access via Secure file transfer program == 
 +  sftp://johndoe@myRemoteHost/home/johndoe
  
-Folders are also files in the UNIX file system. To be exact a folder is a special file, which contains a mapping of file names to file references for every file contained within this folder. 
  
-===== Symbolic Link Files =====+== Access to Windows file systems via Samba == 
 +  smb://myRemoteHost/johndoe
  
-A Symbolic link (often called a //symlink//) is a special file that contains a path to another file in the file system. Symbolic link files therefore do not contain any useful information themselves, but just refer to other files.+== Access to Apple file systems via Apple Filing Protocol == 
 +  afp://myRemoteHost/johndoe
  
-===== Device Files =====+<note tip>If you want to permanently store passphrases of remote filesystem locations, you have to install the [[https://wiki.gnome.org/action/show/Projects/GnomeKeyring?action=show&redirect=GnomeKeyring|GNOME Keyring]] package provided by your linux distribution.</note>
  
-As mentioned earlier (most) devices are also accessed through the file system. These special device files are usually located in the ''/dev'' folder. For example the special file ''/dev/hda'' represents the first IDE disk on Linux. +[[|Back To Top]] 
 +---- 
 +[[:xfce:thunar:|Back to Thunar documentation page]]