What is the difference between partitions and volumes




















Example2: You try to open the file with an audio player, then it will for example try to put 12 bits together to get one amplitude in the played audio. Storage Device : A device is a physical storage where you can store data. These are often accessible in a 'Random Access' fashion, e. Examples for these devices are: hard disk drives, solid state disks, usb sticks, CDs, DVD, but also Memory of your computer. These two things are all you need: 1. Rules on how to handle the data. Example: Let's say you would copy a binary to the beginning of your hdd and tell your computer to boot from this hdd.

The computer will read the first command and execute it, and then read the next command and so on. This is what a bootloader does. At this early stage there are no filesystems, partitions, etc. At the beginning of software development you didn't 'open a File', you 'read bytes to ' and work with this data maybe the 80 bytes are a string or audio data. Working with numbers got annoying Where does my string start?

Was it 40? How long was it again? Which string is this? Filesystem : A Filesystem is just a Layer in order to get some meaning to the bytes.

A file in the filesystem is just the information where data starts, how long it is, and a simpler way to address it 'diary. Paths and the tree view is just a thing to make it more convenient to find and organize files. So basically the Filesystem uses data and interprets it as a filesystem. Furthermore it allows the user or other applications to access chunks of this data in an easy way.

The filesystem does not care where the data is stored, it may come from any device. You can also create a. Example: Filesystem gets data [Data] , handles it, and allows to access chunks [D] of the data. Since a file is just data received from a filesystem, you can install a filesystem in a file.

No problem:. These are the main concepts in my opinion. You talked about some other things like partitions, logical volumes, volume groups, encryption container, etc. Don't get confused by these things, these are just other layers in order to organize data. On a closer look you will see that these are basically filesystems. Let's take partitions: A partition contains the information where in the underlying data it starts, how long it is, and a way to address it e.

Sounds familiar? So, what is the Java Developer view on this? Most of the time you will be accessing data through File. I think the best approach is: Use the data source which fits your application best:. Icons source: vector. Disk or drive : The physical device used to store data. Drive seems more generic than disk which is related to the storage technology, e. Disks are divided into sectors , each sector contains the same number of bytes. Sectors have a sector number which can be used to reference them individually.

Image credit: avaragado from Cambridge. By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. Here Are 12 Fixes. Affiliate Disclosure: Make Tech Easier may earn commission on products purchased through our links, which supports the work we do for our readers. Is this article useful? Yes No. Never Miss Out Receive updates of our latest tutorials. Sign up for all newsletters. I would like to receive newsletters via email.

We will not share your data and you can unsubscribe at any time. Comments are closed. Facebook Tweet. Popular Posts Instagram Not Working? Here Are 10 Ways to Fix it. How to Login to your Hotmail Account. A volume can also span partitions on multiple physical and virtual devices. The volume can be comprised of drawers in different filing cabinets. Get answers from your peers along with millions of IT pros who visit Spiceworks.

Does a volume have something to do with something similar to LVM in Linux? Popular Topics in General Windows. Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ». Peter Action1 This person is a verified professional. Verify your account to enable IT peers to see that you are a professional. Justin This person is a verified professional.



0コメント

  • 1000 / 1000