mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-02 09:47:03 +03:00
8c1be37e5b
This adds two new APIs to systemd: - loop-util.h is a simple internal API for allocating, setting up and releasing loopback block devices. - dissect-image.h is an internal API for taking apart disk images and figuring out what the purpose of each partition is. Both APIs are basically refactored versions of similar code in nspawn. This rework should permit us to reuse this in other places than just nspawn in the future. Specifically: to implement RootImage= in the service image, similar to RootDirectory=, but operating on a disk image; to unify the gpt-auto-discovery generator code with the discovery logic in nspawn; to add new API to machined for determining the OS version of a disk image (i.e. not just running containers). This PR does not make any such changes however, it just provides the new reworked API. The reworked code is also slightly more powerful than the nspawn original one. When pointing it to an image or block device with a naked file system (i.e. no partition table) it will simply make it the root device.
312 lines
4.8 KiB
Plaintext
312 lines
4.8 KiB
Plaintext
*.a
|
|
*.cache
|
|
*.gch
|
|
*.la
|
|
*.lo
|
|
*.log
|
|
*.o
|
|
*.plist
|
|
*.stamp
|
|
*.swp
|
|
*.trs
|
|
*~
|
|
.config.args
|
|
.deps/
|
|
.dirstamp
|
|
.libs/
|
|
/*.gcda
|
|
/*.gcno
|
|
/*.tar.bz2
|
|
/*.tar.gz
|
|
/*.tar.xz
|
|
/GPATH
|
|
/GRTAGS
|
|
/GSYMS
|
|
/GTAGS
|
|
/Makefile
|
|
/TAGS
|
|
/ata_id
|
|
/bootctl
|
|
/build-aux
|
|
/busctl
|
|
/cdrom_id
|
|
/collect
|
|
/coredumpctl
|
|
/coverage/
|
|
/defined
|
|
/exported
|
|
/exported-*
|
|
/hostnamectl
|
|
/image.raw
|
|
/install-tree
|
|
/journalctl
|
|
/libtool
|
|
/linuxx64.efi.stub
|
|
/localectl
|
|
/loginctl
|
|
/machinectl
|
|
/mtd_probe
|
|
/networkctl
|
|
/scsi_id
|
|
/systemctl
|
|
/systemd
|
|
/systemd-ac-power
|
|
/systemd-analyze
|
|
/systemd-ask-password
|
|
/systemd-backlight
|
|
/systemd-binfmt
|
|
/systemd-bootx64.efi
|
|
/systemd-cat
|
|
/systemd-cgls
|
|
/systemd-cgroups-agent
|
|
/systemd-cgtop
|
|
/systemd-coredump
|
|
/systemd-cryptsetup
|
|
/systemd-cryptsetup-generator
|
|
/systemd-dbus1-generator
|
|
/systemd-debug-generator
|
|
/systemd-delta
|
|
/systemd-detect-virt
|
|
/systemd-escape
|
|
/systemd-export
|
|
/systemd-firstboot
|
|
/systemd-fsck
|
|
/systemd-fstab-generator
|
|
/systemd-getty-generator
|
|
/systemd-gpt-auto-generator
|
|
/systemd-hibernate-resume
|
|
/systemd-hibernate-resume-generator
|
|
/systemd-hostnamed
|
|
/systemd-hwdb
|
|
/systemd-import
|
|
/systemd-importd
|
|
/systemd-inhibit
|
|
/systemd-initctl
|
|
/systemd-journal-gatewayd
|
|
/systemd-journal-remote
|
|
/systemd-journal-upload
|
|
/systemd-journald
|
|
/systemd-localed
|
|
/systemd-logind
|
|
/systemd-machine-id-setup
|
|
/systemd-machined
|
|
/systemd-modules-load
|
|
/systemd-mount
|
|
/systemd-networkd
|
|
/systemd-networkd-wait-online
|
|
/systemd-notify
|
|
/systemd-nspawn
|
|
/systemd-path
|
|
/systemd-pull
|
|
/systemd-quotacheck
|
|
/systemd-random-seed
|
|
/systemd-rc-local-generator
|
|
/systemd-remount-fs
|
|
/systemd-reply-password
|
|
/systemd-resolve
|
|
/systemd-resolved
|
|
/systemd-rfkill
|
|
/systemd-run
|
|
/systemd-shutdown
|
|
/systemd-sleep
|
|
/systemd-socket-activate
|
|
/systemd-socket-proxyd
|
|
/systemd-stdio-bridge
|
|
/systemd-sysctl
|
|
/systemd-system-update-generator
|
|
/systemd-sysusers
|
|
/systemd-sysv-generator
|
|
/systemd-timedated
|
|
/systemd-timesyncd
|
|
/systemd-tmpfiles
|
|
/systemd-tty-ask-password-agent
|
|
/systemd-udevd
|
|
/systemd-update-done
|
|
/systemd-update-utmp
|
|
/systemd-user-sessions
|
|
/systemd-vconsole-setup
|
|
/tags
|
|
/test-acd
|
|
/test-acl-util
|
|
/test-af-list
|
|
/test-alloc-util
|
|
/test-architecture
|
|
/test-arphrd-list
|
|
/test-ask-password-api
|
|
/test-async
|
|
/test-audit-type
|
|
/test-barrier
|
|
/test-bitmap
|
|
/test-boot-timestamps
|
|
/test-btrfs
|
|
/test-bus-benchmark
|
|
/test-bus-chat
|
|
/test-bus-cleanup
|
|
/test-bus-creds
|
|
/test-bus-error
|
|
/test-bus-gvariant
|
|
/test-bus-introspect
|
|
/test-bus-kernel
|
|
/test-bus-kernel-bloom
|
|
/test-bus-marshal
|
|
/test-bus-match
|
|
/test-bus-objects
|
|
/test-bus-policy
|
|
/test-bus-server
|
|
/test-bus-signature
|
|
/test-bus-track
|
|
/test-bus-zero-copy
|
|
/test-calendarspec
|
|
/test-cap-list
|
|
/test-capability
|
|
/test-catalog
|
|
/test-cgroup
|
|
/test-cgroup-mask
|
|
/test-cgroup-util
|
|
/test-clock
|
|
/test-compress
|
|
/test-compress-benchmark
|
|
/test-condition
|
|
/test-conf-files
|
|
/test-conf-parser
|
|
/test-copy
|
|
/test-coredump-vacuum
|
|
/test-cpu-set-util
|
|
/test-daemon
|
|
/test-date
|
|
/test-device-nodes
|
|
/test-dnssec-complex
|
|
/test-dhcp-client
|
|
/test-dhcp-option
|
|
/test-dhcp-server
|
|
/test-dhcp6-client
|
|
/test-dissect-image
|
|
/test-dns-domain
|
|
/test-dns-packet
|
|
/test-dnssec
|
|
/test-efi-disk.img
|
|
/test-ellipsize
|
|
/test-engine
|
|
/test-env-util
|
|
/test-escape
|
|
/test-event
|
|
/test-execute
|
|
/test-extract-word
|
|
/test-fd-util
|
|
/test-fdset
|
|
/test-fileio
|
|
/test-firewall-util
|
|
/test-fs-util
|
|
/test-fstab-util
|
|
/test-glob-util
|
|
/test-hashmap
|
|
/test-hexdecoct
|
|
/test-hostname
|
|
/test-hostname-util
|
|
/test-id128
|
|
/test-inhibit
|
|
/test-install
|
|
/test-install-root
|
|
/test-io-util
|
|
/test-ipcrm
|
|
/test-ipv4ll
|
|
/test-ipv4ll-manual
|
|
/test-job-type
|
|
/test-journal
|
|
/test-journal-enum
|
|
/test-journal-flush
|
|
/test-journal-init
|
|
/test-journal-interleaving
|
|
/test-journal-match
|
|
/test-journal-send
|
|
/test-journal-stream
|
|
/test-journal-syslog
|
|
/test-journal-verify
|
|
/test-keymap-util
|
|
/test-libsystemd-sym*
|
|
/test-libudev
|
|
/test-libudev-sym*
|
|
/test-list
|
|
/test-lldp
|
|
/test-local-addresses
|
|
/test-locale-util
|
|
/test-log
|
|
/test-login
|
|
/test-login-shared
|
|
/test-login-tables
|
|
/test-loopback
|
|
/test-machine-tables
|
|
/test-mmap-cache
|
|
/test-namespace
|
|
/test-ndisc-rs
|
|
/test-netlink
|
|
/test-netlink-manual
|
|
/test-networkd-conf
|
|
/test-network
|
|
/test-network-tables
|
|
/test-ns
|
|
/test-nss
|
|
/test-parse-util
|
|
/test-patch-uid
|
|
/test-path
|
|
/test-path-lookup
|
|
/test-path-util
|
|
/test-prioq
|
|
/test-proc-cmdline
|
|
/test-process-util
|
|
/test-pty
|
|
/test-qcow2
|
|
/test-ratelimit
|
|
/test-replace-var
|
|
/test-resolve
|
|
/test-resolve-tables
|
|
/test-ring
|
|
/test-rlimit-util
|
|
/test-sched-prio
|
|
/test-seccomp
|
|
/test-selinux
|
|
/test-set
|
|
/test-sizeof
|
|
/test-sigbus
|
|
/test-signal-util
|
|
/test-siphash24
|
|
/test-sleep
|
|
/test-socket-util
|
|
/test-stat-util
|
|
/test-strbuf
|
|
/test-string-util
|
|
/test-strip-tab-ansi
|
|
/test-strv
|
|
/test-strxcpyx
|
|
/test-tables
|
|
/test-terminal-util
|
|
/test-time
|
|
/test-tmpfiles
|
|
/test-udev
|
|
/test-uid-range
|
|
/test-unaligned
|
|
/test-unit-file
|
|
/test-unit-name
|
|
/test-user-util
|
|
/test-utf8
|
|
/test-util
|
|
/test-verbs
|
|
/test-watchdog
|
|
/test-web-util
|
|
/test-xattr-util
|
|
/test-xml
|
|
/timedatectl
|
|
/udevadm
|
|
/undefined
|
|
/v4l_id
|
|
Makefile.in
|
|
__pycache__/
|
|
*.py[co]
|
|
aclocal.m4
|
|
config.h
|
|
config.h.in
|
|
config.log
|
|
config.status
|
|
configure
|
|
stamp-*
|