Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 47) sorted by relevance

12

/systemd-251/docs/
DROOT_STORAGE_DAEMONS.md14 A number of complex storage technologies on Linux (e.g. RAID, volume
15 management, networked storage) require user space services to run while the
16 storage is active and mountable. This requirement becomes tricky as soon as the
17 root file system of the Linux operating system is stored on such storage
24 When complex storage technologies are used as backing for the root file system
30 file systems (and its storage backing) that could not be unmounted as long as
34 first time arbitrary complex stacks of storage technology.
36 Previous attempts to handle root file system setups with complex storage as
37 backing usually tried to maintain the root storage with program code stored on
38 the root storage itself, thus creating a number of dependency loops. Safely
[all …]
DHOME_DIRECTORY.md15 the format used by these home directories, in the context of the storage
34 If the plain directory or `btrfs` subvolume storage mechanism of
35 `systemd-homed` is used (i.e. `--storage=directory` or `--storage=subvolume` on
52 This storage mechanism is mostly identical to the plain directory storage
54 `--storage=fscrypt` on the `homectl` command line.) Key management is
69 In this storage mechanism, the home directory is mounted from a CIFS server and
70 service at login, configured inside the user record. (Use `--storage=cifs` on
76 for all other storage mechanisms it is entirely sufficient if the directories
77 or storage artifacts are placed at the right locations — all information to
82 This is the most advanced and most secure storage mechanism and consists of a
[all …]
DUSER_RECORD.md350 `storage` → A string, one of `classic`, `luks`, `directory`, `subvolume`,
351 `fscrypt`, `cifs`. Indicates the storage mechanism for the user's home
364 disk space in bytes to assign to the user. Depending on the selected storage
370 specifies a fraction of the available disk space on the selected storage medium
409 use. This is generally useful, but particularly when `cifs` is used as storage
414 useful when `cifs` is used as storage mechanism for the user's home directory,
426 or block device to use for storage backing the home directory. If the `luks`
427 storage is used, this refers to the loopback file or block device node to store
452 when the storage mechanism used is `luks` as a file system to use inside the
457 relevant when the storage mechanism used is `luks`.
[all …]
DCONVERTING_TO_HOMED.md108 want to set for your new account. In particular, look at `--storage=` and
110 (the default `luks` storage is recommended).
DBOOT_LOADER_INTERFACE.md92 on multiple systems. Since the EFI variable storage is usually independent
93 (i.e. in physical NVRAM) of the ESP file system storage, and only the latter
DINITRD_INTERFACE.md33 executable in it should be able to detach all complex storage that for
/systemd-251/src/journal/
Djournald-server.c134 static int cache_space_refresh(Server *s, JournalStorage *storage) { in cache_space_refresh() argument
143 metrics = &storage->metrics; in cache_space_refresh()
144 space = &storage->space; in cache_space_refresh()
151 r = determine_path_usage(s, storage->path, &vfs_used, &vfs_avail); in cache_space_refresh()
166 static void patch_min_use(JournalStorage *storage) { in patch_min_use() argument
167 assert(storage); in patch_min_use()
175 storage->metrics.min_use = MAX(storage->metrics.min_use, storage->space.vfs_used); in patch_min_use()
202 void server_space_usage_message(Server *s, JournalStorage *storage) { in server_space_usage_message() argument
205 if (!storage) in server_space_usage_message()
206 storage = server_current_storage(s); in server_space_usage_message()
[all …]
Djournald-server.h137 Storage storage; member
226 void server_space_usage_message(Server *s, JournalStorage *storage);
Dfuzz-journald.c17 .storage = STORAGE_NONE, in dummy_server_init()
Djournald-gperf.gperf22 Journal.Storage, config_parse_storage, 0, offsetof(Server, storage)
/systemd-251/src/shared/
Duser-record-show.c26 UserStorage storage; in user_record_show() local
208 storage = user_record_storage(hr); in user_record_show()
209 …if (storage >= 0) /* Let's be political, and clarify which storage we like, and which we don't. Ab… in user_record_show()
210 printf(" Storage: %s%s\n", user_storage_to_string(storage), in user_record_show()
211 storage == USER_LUKS ? " (strong encryption)" : in user_record_show()
212 storage == USER_FSCRYPT ? " (weak encryption)" : in user_record_show()
213 IN_SET(storage, USER_DIRECTORY, USER_SUBVOLUME) ? " (no encryption)" : ""); in user_record_show()
288 if (storage == USER_LUKS) { in user_record_show()
323 } else if (storage == USER_CIFS) { in user_record_show()
337 if (storage != USER_CLASSIC) in user_record_show()
[all …]
Duser-record.c41 .storage = _USER_STORAGE_INVALID, in user_record_new()
550 UserStorage *storage = userdata, k; in json_dispatch_storage() local
553 *storage = _USER_STORAGE_INVALID; in json_dispatch_storage()
564 *storage = k; in json_dispatch_storage()
1043 …ARIANT_STRING, json_dispatch_storage, offsetof(UserRecord, storage), 0 … in dispatch_binding()
1173 …TRING, json_dispatch_storage, offsetof(UserRecord, storage), … in dispatch_per_machine()
1319 int user_record_build_image_path(UserStorage storage, const char *user_name_and_realm, char **ret) { in user_record_build_image_path() argument
1323 assert(storage >= 0); in user_record_build_image_path()
1327 if (storage == USER_LUKS) in user_record_build_image_path()
1329 else if (IN_SET(storage, USER_DIRECTORY, USER_SUBVOLUME, USER_FSCRYPT)) in user_record_build_image_path()
[all …]
Duser-record.h262 UserStorage storage; member
410 int user_record_build_image_path(UserStorage storage, const char *user_name_and_realm, char **ret);
/systemd-251/src/home/
Duser-record-util.c22 UserStorage storage, in user_record_synthesize() argument
33 assert(IN_SET(storage, USER_LUKS, USER_SUBVOLUME, USER_FSCRYPT, USER_DIRECTORY)); in user_record_synthesize()
91 … JSON_BUILD_PAIR("storage", JSON_BUILD_STRING(user_storage_to_string(storage))), in user_record_synthesize()
102 h->storage = storage; in user_record_synthesize()
271 UserStorage storage, in user_record_add_binding() argument
302 } else if (!h->image_path && storage >= 0) { in user_record_add_binding()
303 … r = user_record_build_image_path(storage, user_record_user_name_and_realm(h), &ip_auto); in user_record_add_binding()
345 …JSON_BUILD_PAIR_CONDITION(storage >= 0, "storage", JSON_BUILD_STRING(user_storage_to_string(storag… in user_record_add_binding()
373 if (storage >= 0) in user_record_add_binding()
374 h->storage = storage; in user_record_add_binding()
[all …]
Duser-record-util.h9 … char *user_name, const char *realm, const char *image_path, UserStorage storage, uid_t uid, gid_t…
27 int user_record_add_binding(UserRecord *h, UserStorage storage, const char *image_path, sd_id128_t …
Dhomed-manager.c659 UserStorage storage, in manager_add_home_by_image() argument
672 assert(storage >= 0); in manager_add_home_by_image()
673 assert(storage < _USER_STORAGE_MAX); in manager_add_home_by_image()
684 same = user_record_storage(h->record) == storage; in manager_add_home_by_image()
714 … IN_SET(storage, USER_SUBVOLUME, USER_DIRECTORY, USER_FSCRYPT) ? image_path : NULL, in manager_add_home_by_image()
724 r = user_record_synthesize(hr, user_name, realm, image_path, storage, uid, (gid_t) uid); in manager_add_home_by_image()
759 if (IN_SET(hr->storage, USER_CLASSIC, USER_SUBVOLUME, USER_DIRECTORY, USER_FSCRYPT)) { in manager_augment_record_with_uid()
862 UserStorage storage; in manager_assess_image() local
894 storage = USER_SUBVOLUME; in manager_assess_image()
907 storage = USER_DIRECTORY; in manager_assess_image()
[all …]
Dhomework.c1247 UserStorage storage = _USER_STORAGE_INVALID; in determine_default_storage() local
1256 storage = user_storage_from_string(e); in determine_default_storage()
1257 if (storage < 0) in determine_default_storage()
1260 … log_info("Using configured default storage '%s'.", user_storage_to_string(storage)); in determine_default_storage()
1261 *ret = storage; in determine_default_storage()
1335 if (h->storage < 0) { in home_create()
1341 if ((h->storage == USER_LUKS || in home_create()
1342 (h->storage < 0 && new_storage == USER_LUKS)) && in home_create()
/systemd-251/rules.d/
Dmeson.build17 '60-persistent-storage.rules',
18 '60-persistent-storage-tape.rules',
D60-persistent-storage-tape.rules3 # persistent storage links: /dev/tape/{by-id,by-path}
/systemd-251/src/basic/
Dhashmap.c159 void *storage; /* where buckets and DIBs are stored */ member
176 uint8_t storage[sizeof(struct indirect_storage)]; member
327 return h->has_indirect ? h->indirect.storage in storage_ptr()
328 : h->direct.storage; in storage_ptr()
763 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets); in reset_direct_storage()
925 free(h->indirect.storage); in _hashmap_clear()
1110 new_storage = realloc(h->has_indirect ? h->indirect.storage : NULL, in resize_buckets()
1117 memcpy(new_storage, h->direct.storage, in resize_buckets()
1130 h->indirect.storage = new_storage; in resize_buckets()
/systemd-251/
DREADME.md9 … Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/systemd.svg)](https://oss-fuzz-…
/systemd-251/units/
Dsystemd-boot-system-token.service19 # actually stored in NVRAM, independent of regular storage.
/systemd-251/test/fuzz/fuzz-udev-rules/
D60-persistent-storage-tape.rules3 # persistent storage links: /dev/tape/{by-id,by-path}
/systemd-251/src/test/
Dtest-tables.c109 test_table(storage, STORAGE); in main()
/systemd-251/hwdb.d/
D20-pci-classes.hwdb18 ID_PCI_CLASS_FROM_DATABASE=Mass storage controller
21 ID_PCI_SUBCLASS_FROM_DATABASE=SCSI storage controller
96 ID_PCI_SUBCLASS_FROM_DATABASE=Mass storage controller

12