In Linux, everything is a file.
All Linux devices are listed in /dev/.
All partitions are usually mounted in /madia/$USER/ or /media/. The old mount directory was /mnt/ which is still there. These directories are called mount points. When a device or a partition is mounted, you browse the files in these specific directories. There are some special mount points such as /proc/ or /run/:
http://www.h-online.com/open/news/item/L...19006.html
http://www.tldp.org/LDP/Linux-Filesystem.../proc.html
https://www.linux.com/news/discover-poss...-directory
See the info about the /proc directory and you will understand the power of this system and how amazing Linux is.
You will get a better understanding of the file system if you look at this: http://www.tldp.org/LDP/intro-linux/html...03_01.html
For example.
There are some differences though. All of this depends on the Linux distribution. Or the partition file system itself. Like the btrfs which can span across multiple devices. See this: http://www.zdnet.com/article/btrfs-hands...le-system/
It will give you just an idea how a file system should work.
All Linux devices are listed in /dev/.
All partitions are usually mounted in /madia/$USER/ or /media/. The old mount directory was /mnt/ which is still there. These directories are called mount points. When a device or a partition is mounted, you browse the files in these specific directories. There are some special mount points such as /proc/ or /run/:
http://www.h-online.com/open/news/item/L...19006.html
http://www.tldp.org/LDP/Linux-Filesystem.../proc.html
https://www.linux.com/news/discover-poss...-directory
See the info about the /proc directory and you will understand the power of this system and how amazing Linux is.
You will get a better understanding of the file system if you look at this: http://www.tldp.org/LDP/intro-linux/html...03_01.html
For example.
There are some differences though. All of this depends on the Linux distribution. Or the partition file system itself. Like the btrfs which can span across multiple devices. See this: http://www.zdnet.com/article/btrfs-hands...le-system/
It will give you just an idea how a file system should work.