NL

.path Systemd unit file

Tekst & broncode

MIME-typetext/x-systemd-unit
BeschrijvingSystemd unit file
CategorieTekst & broncode
Signatuur (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].)
Gebaseerd optext/plain
Andere extensies.automount, .device, .mount, .scope, .service, .slice, .socket, .swap, .target, .timer

Veelgestelde vragen

Wat is een .path-bestand?

Een .path-bestand is een formaat van het type „Systemd unit file” (MIME-type text/x-systemd-unit).

Waarmee open ik een .path-bestand?

Met elke teksteditor – bijvoorbeeld Notepad++, Visual Studio Code of onder Linux gedit en vim. Het bestand bevat leesbare tekst, mogelijk broncode of configuratie.

Hoe herken je een echt .path-bestand?

Aan het begin van het bestand, de zogenaamde signatuur (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].) en 0A 5B 4D 6F 75 6E 74 5D 0A (.[Mount].). Onder Linux en macOS controleert file --mime-type example.path het werkelijke type, los van de extensie.

Op welk formaat is .path gebaseerd?

Technisch is een .path-bestand een subtype van „Plain text document” (text/plain). Programma’s voor dat basisformaat kunnen het bestand daarom vaak ook lezen.

Welk MIME-type hoort bij .path?

Het MIME-type is text/x-systemd-unit. In de Apache-webserver: AddType text/x-systemd-unit .path; in nginx: types { text/x-systemd-unit path; }.

Naburige items