IT

.mount File unità systemd

Testo e codice sorgente

Tipo MIMEtext/x-systemd-unit
DescrizioneFile unità systemd
CategoriaTesto e codice sorgente
Firma (magic bytes)0A 5B 41 75 74 6F 6D 6F 75 6E 74 5D 0A (.[Automount].)
0A 5B 49 6E 73 74 61 6C 6C 5D 0A (.[Install].)
0A 5B 4D 6F 75 6E 74 5D 0A (.[Mount].)
Basato sutext/plain
Altre estensioni.automount, .device, .path, .scope, .service, .slice, .socket, .swap, .target, .timer

Domande frequenti

Che cos’è un file .mount?

Un file .mount è un formato di tipo «File unità systemd» (tipo MIME text/x-systemd-unit).

Come apro un file .mount?

Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.

Come si riconosce un vero file .mount?

Dai byte all’inizio del file, la firma (magic bytes): 0A 5B 41 75 74 6F 6D 6F 75 6E 74 5D 0A (.[Automount].), 0A 5B 49 6E 73 74 61 6C 6C 5D 0A (.[Install].) e 0A 5B 4D 6F 75 6E 74 5D 0A (.[Mount].). Su Linux e macOS, file --mime-type example.mount verifica il tipo reale indipendentemente dall’estensione.

Su quale formato si basa .mount?

Tecnicamente un file .mount è un sottotipo di «Documento in testo semplice» (text/plain), quindi i programmi per quel formato di base spesso riescono a leggerlo.

Quale tipo MIME corrisponde a .mount?

Il tipo MIME è text/x-systemd-unit. Nel server web Apache: AddType text/x-systemd-unit .mount; in nginx: types { text/x-systemd-unit mount; }.

Voci vicine