How is a file stored in Hard drives? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How is a file stored in Hard drives?

Be it any file(image file, text file), how does it get stored in main memory? I mean in which format in computer memory and how does the process right from the creating a file to saving it into ROM happen?

12th Sep 2019, 1:55 PM
Ashish
Ashish - avatar
6 Answers
+ 1
So basically they are stored on hard drives as byte streams. And whatever we write in a file is stored as raw bytes as long as its not stored in memory? Btw what actually happens the time when its been created and not been saved?
12th Sep 2019, 2:55 PM
Ashish
Ashish - avatar
0
Decoding, am i right?
12th Sep 2019, 3:04 PM
Ashish
Ashish - avatar
0
Actually i am as i always interpreted decoding as converting a code into meaningful format
12th Sep 2019, 3:11 PM
Ashish
Ashish - avatar
0
For ex: if we open a text file on notepad, doesn't it decode text file(encoded form) into meaningful data, isn't it true?
12th Sep 2019, 3:13 PM
Ashish
Ashish - avatar
0
Oh! Btw wasn't my above example right?
12th Sep 2019, 3:19 PM
Ashish
Ashish - avatar
0
My bad. I would say i start doubting myself when it comes to understand technical concepts. That's why implying may sometimes doesn't make me feel that I am right.
12th Sep 2019, 3:28 PM
Ashish
Ashish - avatar