26-12-2024 - Computer science basics - file management [EN]-[IT]

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@stefano.massari·
0.000 HBD
26-12-2024 - Computer science basics - file management [EN]-[IT]
![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/EpQzjCki5uQbNff6EJquxWeyEGnfoxL2EjJXgjARH5rBgM7o4xaZSMoNwNKJ7J5acsS.png)





---

*~~~ La versione in italiano inizia subito dopo la versione in inglese ~~~*

---


**ENGLISH**
**26-12-2024 - Computer science basics - file management [EN]-[IT]**
With this post I would like to give a brief instruction regarding the topic mentioned in the subject
(code notes: X_79)

***file management***
Inside the computer there must be a structure for file management, this is to create efficiency in the processing of data and information.
The file management module, also known as the file system, is the component of the operating system that deals with the management of information stored on disk and on mass storage devices.

The main operations performed by the file system are listed below:
⎯ store data in mass storage devices,
⎯ retrieve previously stored data,
⎯ identify and catalog existing files,
⎯ manage file operations (such as modify/update/delete/copy)
⎯ assign files to the processes that request them,
⎯ establish protection mechanisms,
⎯ guarantee the correctness and consistency of information,
⎯ manage the allocation of disk areas.

From the user's point of view, a file system is composed of the file and the directory. The first is the elementary logical unit of storage, while the second is a file collector.
The File therefore represents the basic element on which the file system operates.

We can say that the file system of a computer is the component of the operating system that manages the storage, organization and retrieval of data on a storage device, such as a hard disk, an SSD unit or a USB stick.

*Here are some information pills regarding the subject in question.*

**1-dedicated peripheral allocation**
For the dedicated peripheral allocation technique, the peripheral is assigned in a dedicated way to a specific process.

**2-traffic controller**
The management of all I/O operations is entrusted to the traffic controller

**3-Unit Control Block**
The Unit Control Block contains information about the status of the peripheral

**4-Channel Control Block**
The Channel Control Block contains information about the status of the channel

**5-peripheral handler**
The term peripheral handler refers to a program whose task is to create channel programs, initialize the I/O operation, manage interruptions and optimize the transmission process

**6-multiplexed**
The peripheral management technique that introduces a sort of multiprogramming at the I/O level is that of multiplexed channels

**7-driver function**
The Driver performs the following functions:
-manage any conflicts
-make the physical characteristics of each device transparent
-manage the communication of signals to the devices
NOTE: it is not a function of the driver to guide the user in choosing the application

**8-busy-waiting mode**
During the polling, if the peripheral state is in busy-waiting mode, polling continues on the other I/O peripherals

**9-the fetch phase**
During the interrupt protocol, the fetch phase requires the processor to receive the signal and send a further signal to confirm receipt

**10-The DMA (Direct Memory Access) protocol**
The DMA protocol was introduced to avoid the intervention of the CPU in the transfer operations from the peripheral to the CPU and from the CPU to the memory

***Conclusions***
In short, the file system is the system that allows you to create, read, write and delete files and directories.

***Question***
How are you doing with file storage? Are you also a little messy like me or do you keep everything in order?





---

https://images.hive.blog/1536x0/https://files.peakd.com/file/peakd-hive/green77/gGQutTRs-hive-spacer.png

---


**[ITALIAN]**
**26-12-2024 - Basi di informatica - gestione dei file [EN]-[IT]**
Con questo post vorrei dare una breve istruzione a riguardo dell’argomento citato in oggetto
(code notes: X_79)

***gestione dei file***
All'interno del calcolatore ci deve essere una struttura per la gestione dei file, questo per creare efficienza nell'elaborazione dei dati e delle informazioni.
Il modulo di gestione dei file, noto anche con il termine file system, è la componente del sistema operativo che si occupa della gestione delle informazioni memorizzate su disco e sui dispositivi di memoria di massa.

Qui di seguito sono elencate le operazioni principali svolte dal file system:
⎯ memorizzare i dati nelle memorie di massa,
⎯ recuperare i dati precedentemente memorizzati,
⎯ identificare e catalogare i file presenti,
⎯ gestire le operazioni sui file (quali modifica/aggiornamento/eliminazione/copia)
⎯ assegnare i file ai processi che li richiedono,
⎯ stabilire i meccanismi di protezione,
⎯ garantire la correttezza e la coerenza delle informazioni,
⎯ gestire l’allocazione delle aree disco.

Dal punto di vista dell’utente, un file system è composto dal file e dalla directory. Il primo è l’unità logica elementare di memorizzazione, mentre la seconda è un raccoglitore di file.
Il File rappresenta quindi l’elemento base su cui opera il file system.

Possiamo dire che il file system di un calcolatore è il componente del sistema operativo che gestisce l'archiviazione, l'organizzazione e il recupero dei dati su un dispositivo di memoria, come un disco rigido, un'unità SSD o una chiavetta USB.

*Qui di seguito alcune pillole di informazioni a riguardo dell’argomento in oggetto.*

**1-allocazione a periferiche dedicate**
Per la tecnica di allocazione a periferiche dedicate la periferica è assegnata in modo dedicato ad un preciso processo.

**2-controllore del traffico**
La gestione di tutte le operazioni di I/O è affidata al controllore del traffico

**3-Unit Control Block**
La Unit Control Block contiene informazioni relative a stato della periferica

**4-Channel Control Block**
Il Channel Control Block contiene informazioni relative a stato del canale

**5-handler della periferica**
Con il termine handler della periferica si intende un programma il cui compito è quello di creare i programmi di canale, inizializzare l’operazione di I/O, gestire le interruzioni e ottimizzare il processo di trasmissione

**6-multiplexati**
La tecnica di gestione delle periferiche che introduce una sorta di multiprogrammazione a livello di I/O è quella canali multiplexati

**7-funzione del driver**
Il Driver esegue le seguenti funzioni:
-gestire gli eventuali conflitti
-rendere trasparenti le caratteristiche fisiche di ogni dispositivo
-gestire la comunicazione dei segnali verso i dispositivi
NOTA: non è una funzione del driver guidare l'utente nella scelta dell'applicazione
 
**8-modalità busy-waiting**
Durante il polling, se lo stato della periferica è in modalità busy-waiting si continua il polling sulle altre periferiche di I/O

**9-la fase di fetch**
Durante il protocollo di interrupt, la fase di fetch prevede che il processore riceve il segnale e manda un ulteriore segnale di avvenuto ricevimento

**10-Il protocollo DMA(Direct Memory Access)**
Il protocollo DMA è stato introdotto per evitare l’intervento della CPU nelle operazioni di trasferimento dalla periferica alla CPU e dalla CPU alla memoria

***Conclusioni***
In sintesi il file system è il sistema che permette di creare, leggere, scrivere e cancellare file e directory.

***Domanda***
Con l'archiviazione dei file come siete messi? Avete anche voi un poco di disordine come me o tenete tutto in ordine?

**THE END**

👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,