.scope Systemd-Einheitendatei

Text & Quellcode

MIME-Typtext/x-systemd-unit
BeschreibungSystemd-Einheitendatei
KategorieText & Quellcode
Signatur (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].)
Basiert auftext/plain
Weitere Endungen.automount, .device, .mount, .path, .service, .slice, .socket, .swap, .target, .timer

Häufige Fragen

Was ist eine .scope-Datei?

Eine .scope-Datei ist ein Format vom Typ „Systemd-Einheitendatei“ (MIME-Typ text/x-systemd-unit).

Womit öffne ich eine .scope-Datei?

Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.

Woran erkennt man eine echte .scope-Datei?

Am Dateianfang, der sogenannten Signatur (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].) und 0A 5B 4D 6F 75 6E 74 5D 0A (.[Mount].). Unter Linux und macOS prüft file --mime-type example.scope den tatsächlichen Typ unabhängig von der Endung.

Auf welchem Format basiert .scope?

Technisch ist eine .scope-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.

Welcher MIME-Typ gehört zu .scope?

Der MIME-Typ ist text/x-systemd-unit. Im Apache-Webserver: AddType text/x-systemd-unit .scope; in nginx: types { text/x-systemd-unit scope; }.

Benachbarte Einträge