.slice Systemd unit file
Tekst & broncode
| MIME-type | text/x-systemd-unit |
|---|---|
| Beschrijving | Systemd unit file |
| Categorie | Tekst & 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 op | text/plain |
| Andere extensies | .automount, .device, .mount, .path, .scope, .service, .socket, .swap, .target, .timer |
Veelgestelde vragen
Wat is een .slice-bestand?
Een .slice-bestand is een formaat van het type „Systemd unit file” (MIME-type text/x-systemd-unit).
Waarmee open ik een .slice-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 .slice-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.slice het werkelijke type, los van de extensie.
Op welk formaat is .slice gebaseerd?
Technisch is een .slice-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 .slice?
Het MIME-type is text/x-systemd-unit. In de Apache-webserver: AddType text/x-systemd-unit .slice; in nginx: types { text/x-systemd-unit slice; }.