b26fa1a2fbcfee7d03b0c8fd15ec3aa64ae70b9f |
|
10-Feb-2016 |
Daniel Mack <daniel@zonque.org> |
tree-wide: remove Emacs lines from all files
This should be handled fine now by .dir-locals.el, so need to carry that
stuff in every file. |
59e73c5b102402ea18aec1f4d69b4daad574e82b |
|
03-Feb-2016 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto: handle errors from blkid more correctly
Let's make sure we don't choke if blkid_probe_lookup_value() returns a NULL string.
Also, make sur we propagate the correct error when blkid_probe_lookup_value() fails. |
cb9712492f94153b7ce6fc03d6dd3fd95c87baa5 |
|
01-Feb-2016 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto: don't log an EIO error if blkid finds something which is not a partition table
Fixes: #2483 |
b4bbcaa9c44260e88402cb8f9a5fb8ac7f35e123 |
|
17-Nov-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tree-wide: group include of libudev.h with sd-* |
cf0fbc49e67b55f8d346fc94de28c90113505297 |
|
16-Nov-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tree-wide: sort includes
Sort the includes accoding to the new coding style. |
e1427b138fbf7b7f13bb61187635b882be3ca2b2 |
|
09-Nov-2015 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: apply errno.cocci
with small manual cleanups for style. |
b5efdb8af40ea759a1ea584c1bc44ecc81dd00ce |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split out allocation calls into alloc-util.[ch] |
4e731273edfe852a3eee2949cd20f49fd5b4f6d7 |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: move /proc/cmdline parsing code to proc-cmdline.[ch] |
8fcde01280adcbd07e8205b91ac52b06305b6208 |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split stat()/statfs()/stavfs() related calls into stat-util.[ch] |
a09561746f15b84da9471b5c4be74e53d19e4f3f |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: introduce dirent-util.[ch] for directory entry calls
Also, move a couple of more path-related functions to path-util.c. |
4349cd7c1d153c4ffa23cf1cff1644e0afa9bcf0 |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: move mount related utility calls to mount-util.[ch] |
6bedfcbb2970e06a4d3280c8fb62083d252ede73 |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split string parsing related calls from util.[ch] into parse-util.[ch] |
3ffd4af22052963e7a29431721ee204e634bea75 |
|
25-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split out fd-related operations into fd-util.[ch]
There are more than enough to deserve their own .c file, hence move them
over. |
07630cea1f3a845c09309f197ac7c4f11edd3b62 |
|
24-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split our string related calls from util.[ch] into its own file string-util.[ch]
There are more than enough calls doing string manipulations to deserve
its own files, hence do something about it.
This patch also sorts the #include blocks of all files that needed to be
updated, according to the sorting suggestions from CODING_STYLE. Since
pretty much every file needs our string manipulation functions this
effectively means that most files have sorted #include blocks now.
Also touches a few unrelated include files. |
42225ff62fe1c2577bbb344d21f1cc5a0afcd2cc |
|
06-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: fix duplicate backing partition check
We shouldn't exit the loop early, otherwise our duplicate backing
partition check won't work. |
0b6b6787e3f0ae8906ce0212bd629edbe931b73d |
|
30-Sep-2015 |
Kay Sievers <kay@vrfy.org> |
gpt-auto-generator: check fstab for /boot entries
We need to prevent the creation of the gpt automount unit, which will not
get overridden by the fstab mount unit.
https://github.com/systemd/systemd/issues/1378 |
158df4b6a63c0d4e4f8de5210581619e7b693fb4 |
|
08-Sep-2015 |
Marius Thesing <marius.thesing@gmail.com> |
gpt-auto: fix ESP options and description
Since 59512f21 the parameters were passed in the wrong order, causing the
options to be interpreted as the description.
Also, while "false" was supposed to be passed for "rw", the ESP should actually
be mounted read-write. It just happened to be "true" since the description char*
was passed for "rw". |
75f86906c52735c98dc0aa7e24b773edb42ee814 |
|
07-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
basic: rework virtualization detection API
Introduce a proper enum, and don't pass around string ids anymore. This
simplifies things quite a bit, and makes virtualization detection more
similar to architecture detection. |
dd2c31bb04776ed8a9e9117028e987762f56c027 |
|
07-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto: minor simplificatin handling the no-auto GPT flag
Let's query the flags only once, and document why we ignore it for the
ESP. |
c6ba0c184d297a454baf387663668db77f79c1b5 |
|
07-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto: try to handle LUKS root partitions better
If the root file system is located on an encrypted root disk, we'll not
find the GPT partition table for it. Let's fix that by following the
slaves/ symlinks in /sys for the device. We only handle devices having
exactly one backing device.
Also see: #1167 |
458a2f85e8ae08c534bf8d030fbeeb791893422b |
|
11-Aug-2015 |
Tom Gundersen <teg@jklm.no> |
gpt-auto-generator: warn on ambiguous blkid probe |
7a1494aa4e4a131d73e866cf1e7eb7b6e47dbab8 |
|
11-Aug-2015 |
Tom Gundersen <teg@jklm.no> |
gpt-auto-generator: don't warn on !ENABLE_EFI
add_automount() was only used on EFI systems, compile it conditionally
to avoid the warning. |
0238d4c660e732dd03ba0cdb54a29ec5870ee849 |
|
11-Aug-2015 |
Kay Sievers <kay@vrfy.org> |
gpt-auto-generator: apply partition-type flags only to specific partition-types
The partition-type flags are defined independently for every partition-type. Apply
them only to the types where they are defined, and not to the ESP, which does not
appear to share the same set of flags.
https://github.com/systemd/systemd/issues/920 |
1ae2285324e01dc3a2d44d7b1711b939261cc756 |
|
04-Aug-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
gpt-auto-generator: remove unused variable |
2fc09a9cdd1ad25bc7c53a23d5301eb952e1ce3d |
|
30-Jul-2015 |
Daniel Mack <daniel@zonque.org> |
tree-wide: use free_and_strdup()
Use free_and_strdup() where appropriate and replace equivalent,
open-coded versions. |
dacd6cee76a08331b8c8616c5f30f70ee49aa2f9 |
|
29-Jul-2015 |
Lennart Poettering <lennart@poettering.net> |
tree-wide: port everything over to fflush_and_check()
Some places invoked fflush() directly with their own manual error
checking, let's unify all that by using fflush_and_check().
This also unifies the general error paths of fflush()+rename() file
writers. |
59512f21d77d984cf1363fb0d1770218c5e17020 |
|
29-Jul-2015 |
Kay Sievers <kay@vrfy.org> |
gpt-auto-generator: merge efi-boot-generator |
4c1fc3e404d648c70bd2f50ac50aeac6ece8872e |
|
07-Jul-2015 |
Daniel Mack <daniel@zonque.org> |
fileio: consolidate write_string_file*()
Merge write_string_file(), write_string_file_no_create() and
write_string_file_atomic() into write_string_file() and provide a flags mask
that allows combinations of atomic writing, newline appending and automatic
file creation. Change all users accordingly. |
e26d6ce517a49c246141ed20528614823c2f5799 |
|
29-May-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
path-util: Change path_is_mount_point() symlink arg from bool to flags
This makes path_is_mount_point() consistent with fd_is_mount_point() wrt.
flags. |
7410616cd9dbbec97cf98d75324da5cda2b2f7a2 |
|
06-May-2015 |
Lennart Poettering <lennart@poettering.net> |
core: rework unit name validation and manipulation logic
A variety of changes:
- Make sure all our calls distuingish OOM from other errors if OOM is
not the only error possible.
- Be much stricter when parsing escaped paths, do not accept trailing or
leading escaped slashes.
- Change unit validation to take a bit mask for allowing plain names,
instance names or template names or an combination thereof.
- Refuse manipulating invalid unit name |
eafe88e34a0698d2f4ebb747ab4911e35d0dfe4c |
|
12-Apr-2015 |
Tobias Hunger <tobias.hunger@gmail.com> |
gpt-generator: Find device on a stateless system
A stateless system has a tmpfs as root file system. That obviously
does not have any block device associated with it. So try falling back
to the device of the /usr filesystem if the root filesystem fails. |
d2a623823f8d83c97c35fcd28f90e8cd59066f8a |
|
15-Mar-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: prefix messages with device name |
a0b1209c4a59754f428894e0485413542da50014 |
|
14-Mar-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: allow type check to fail
add_mount() is OK with unknow file type, but we have to initalize
the variable to NULL not to pass garbage on error. |
d736e4f3e76daca4ab1b1fc444737e5ee20a27cd |
|
13-Mar-2015 |
Mathieu Chevrier <chevrier.mathieu@gmail.com> |
gpt-auto-generator: fix detection of /srv
https://bugs.freedesktop.org/show_bug.cgi?id=89226 |
2eec67acbb00593e414549a7e5b35eb7dd776b1b |
|
23-Feb-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
remove unused includes
This patch removes includes that are not used. The removals were found with
include-what-you-use which checks if any of the symbols from a header is
in use. |
63c372cb9df3bee01e3bf8cd7f96f336bddda846 |
|
03-Feb-2015 |
Lennart Poettering <lennart@poettering.net> |
util: rework strappenda(), and rename it strjoina()
After all it is now much more like strjoin() than strappend(). At the
same time, add support for NULL sentinels, even if they are normally not
necessary. |
f9ac15442e4132f00eca5495d53c17062aae13e0 |
|
12-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: make use of new btrfs-util.h APIs |
4a62c710b62a5a3c7a8a278b810b9d5b5a0c8f4f |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: another round of simplifications
Using the same scripts as in f647962d64e "treewide: yet more log_*_errno
+ return simplifications". |
56f64d95763a799ba4475daf44d8e9f72a1bd474 |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: use log_*_errno whenever %m is in the format string
If the format string contains %m, clearly errno must have a meaningful
value, so we might as well use log_*_errno to have ERRNO= logged.
Using:
find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/'
Plus some whitespace, linewrap, and indent adjustments. |
23bbb0de4e3f85d9704a5c12a5afa2dfa0159e41 |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: more log_*_errno + return simplifications |
da927ba997d68401563b927f92e6e40e021a8e5c |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: no need to negate errno for log_*_errno()
It corrrectly handles both positive and negative errno values. |
0a1beeb64207eaa88ab9236787b1cbc2f704ae14 |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: auto-convert the simple cases to log_*_errno()
As a followup to 086891e5c1 "log: add an "error" parameter to all
low-level logging calls and intrdouce log_error_errno() as log calls
that take error numbers", use sed to convert the simple cases to use
the new macros:
find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/'
Multi-line log_*() invocations are not covered.
And we also should add log_unit_*_errno(). |
8086ffacdb1bfec5ec115d24626538bda6cc372e |
|
24-Nov-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: properly ignore value
A negative return code was treated as a true value. |
b5884878a2874447b2a9f07f324a7cd909d96d48 |
|
07-Nov-2014 |
Lennart Poettering <lennart@poettering.net> |
util: simplify proc_cmdline() to reuse get_process_cmdline()
Also, make all parsing of the kernel cmdline non-fatal. |
d6bc8348d5be8576a475ac8ced2b0146e60fb71f |
|
25-Sep-2014 |
Daniel Buch <boogiewasthere@gmail.com> |
readahead: wipe out readahead |
821b2e792159e237a1e5a1ea4bb6ae2e55d64be5 |
|
16-Sep-2014 |
Lukas Nykryn <lnykryn@redhat.com> |
gpt-auto-generator: fix typo |
8501384436b410cb9f5929ef6873c59fac6254be |
|
19-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
stop complaining about unknown kernel cmdline options
Also stop warning about unknown kernel cmdline options in the various
tools, not just in PID 1 |
8d0cfd6c8858d4f32d1eda122eb5a61e96e6ac54 |
|
13-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: there's no point in looking for a superblock on raw disk, we only care for a partition table |
fa041593fe04b12ffd7e81d8b3598a7a6f313fb3 |
|
13-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: print debug messages when we ignore a block device |
cca1dfddd4ce4357113663532696488427cc54e4 |
|
13-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: honour read-only and no-auto flag from GPT data
Similar to the read-only and no-automount flags of Microsoft Basic Data
Partitions, introduce our own flags. We map them to the same flag bits
as Microsoft's, to keep things simple. |
9c4495ca561624c2f0085507dd1288ed5f1247c5 |
|
12-Mar-2014 |
Tomasz Torcz <tomek@pipebreaker.pl> |
gpt-auto-generator: don't return OOM on parentless devices |
98b2f766b24c84fc49a4df954717b1f96bbce00d |
|
11-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: rename root device node symlink to /dev/gpt-auto-root
Before it was placed in /dev/disk/by-id, which makes it a bit too much
API. However, it's mostly an implementation detail for now, hence move
it out of the stable block device dir. |
1b9e5b126359a2a2ec37de1f94f046093abc74b8 |
|
10-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
nspawn: add --image= switch to boot GPT disk images that follow the Discoverable Partitions Specification |
61331eab0a53cd9b8446eab6d1ebf1a046d8efc1 |
|
08-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: probe only partition table and partitions we are interested in
Instead of iterating through the list of partitions and probing them all
with blkid, simply probe the partition table and use that information to
only probe the partitions we care for. |
73b80ec2d999c45ce13f3e034704249d80829f7e |
|
07-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: automatically find the root disk of the system
When run in an initrd and no root= argument is set (or is set to
root=gpt-auto) we will automatically look for the root partition on the
same disk the EFI ESP is located on.
Since we look for swap, /home and /srv on the disk the root partition is
located on, we hence have a fully discoverable chain:
Firmware discovers the EFI ESP partition → the initrd discovers the
root partition → the host OS discovers swap, /home, and /srv.
Note that this requires an EFI boot loader that sets the
LoaderDevicePartUUID EFI variable, such as Gummiboot. |
6d26dfe11c853d612b84abe858520bbcb62c2e96 |
|
06-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
generators: make automatic discovery generators work correctly when reloading
In addition to checking whether the diestination mount point is
populated, check whether it is already a mount point.
If it is already a mount point, or if it is unpopulated, let's create
the unit. |
c3834f9b881f2b1a68dc7d797c134f0b66b47b57 |
|
06-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
generators: add Documentation= fields that point to the generator man pages |
1ebab691c7749779072741f71865bd0e055b7ecf |
|
06-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generation: set a pretty description string |
1af7211984a8dba3c5ba40fae794c4c55f5e6bd3 |
|
06-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: properly handle LUKS partitions |
6a3f892a23db71544d0439355f96c44350dafa8f |
|
06-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
update TODO |
e48fdd84432bbf9c2ecc339183258c7c33116032 |
|
06-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
generators: rework mount generators
- Add support for finding and mounting /srv based on GPT data, similar
to how we already handly /home.
- Share the fsck logic between GPT, EFI and fstab generators
- Make sure we never run the EFI generator inside containers
- Drop DefaultDependencies=no from EFI mount units
- Other fixes |
b94801803417c23d099cb7e508754181ecd27f9c |
|
11-Jan-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: use EBADSLT code when unable to detect partition type
ENODEV suggests that something is missing, which is be misleading
here. |
843f737ade9c73609a2280dd3dd16e18222a5dcb |
|
11-Jan-2014 |
Łukasz Stelmach <l.stelmach@samsung.com> |
gpt-auto-generator: skip nonexistent devices
The devices we work with have eMMC chips for storage. The chips
provide four "hardware" partitions. The first is /dev/mmcblk0, it
takes almost whole space and holds a GPT with several real partitions
(/dev/mmcblk0p?). Then there are three block devices (mmcblk0boot0,
mmcblk0boot1, rpmb) that are part of the same hardware as mmcblk0 that
are presented by the kernel as children of the latter. That relationship
makes gpt-auto-generator try to peek them but since they are not GPT
partitions blkid_do_safeprobe() returns -2 making verify_gpt_parition()
function return -ENODEV. |
96115cdfe0241ae9b4e7177cd3874c0a93d00b39 |
|
10-Dec-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
fix scan-build issues
The static analyzer scan-build had a few issues with analysing
parts of systemd.
gpt-auto-generator.c:
scan-build could not find blkid.h. Whether it should be blkid.h or
blkid/blkid.h seems to depend on the version used. We already use
blkid/blkid.h in udev-builtin-blkid.c so it seems safe to use that
here too.
Makefile.am:
Moved some -D's from CFLAGS to CPPFLAGS. I also simplified them a
bit and got rid of a left over DBUS_CFLAGS.
test-cgroup-mask.c/test-sched-prio.c
A variable was added to store the replaced TEST_DIR. When wrapped
in an assert_se TEST_DIR was not replaced in the logged error.
While not an issue introduced in this patch we might as well fix
it up while we are here. |
674eb68520107d771e3458287025a73387f938c4 |
|
03-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add generator that turns old dbus1 activation files into .busname + .service units |
4c8bda2442bfc6d84a5deb241dc29efcb81bf3af |
|
19-Oct-2013 |
Thomas Bächler <thomas@archlinux.org> |
gpt-auto-generator: Generate explicit dependencies on systemd-fsck@.service instead of using FsckPassNo
[tomegun: check for OOM] |
14bf2c9d375db6a4670bc0ef0e521e35a939a498 |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
util: allow trailing semicolons on define_trivial_cleanup_func lines
Emacs C indenting really gets confused by these lines if they carry no
trailing semicolon, hence let's make this nicer for good old emacs. The
other macros which define functions already do this too, so let's copy
the scheme here.
Also, let's use an uppercase name for the macro. So far our rough rule
was that macros that are totally not function-like (like this ones,
which define a function) are uppercase. (Well, admittedly it is a rough
rule only, for example function and variable decorators are all
lower-case SINCE THE CONSTANT YELLING IN THE SOURCES WOULD SUCK, and
also they at least got underscore prefixes.) Also, the macros that
define functions that we already have are all uppercase, so let's do the
same here... |
1ca208fb4f93e5869704af1812cbff7130a2fc03 |
|
13-Oct-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Introduce udev object cleanup functions |
b47d419c25ecc735615a1088060c1ec8bef1e41f |
|
13-Oct-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Modernization
Fixes minor leak in error path in device.c. |
9a5cb1371b6d8b0a04bd08665bcf9b06cb40c64c |
|
04-Oct-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: exit immediately if in container
Otherwise we get an ugly warning when running systemd in
a container. |
3db604b907323b8df0fc810216f6112056d26a02 |
|
18-Sep-2013 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: do not assume that /dev/block/%u:%u is useable
The generator might run before udev, and udev sets up the /dev/block/
symlinks, hence we cannot use them from the gpt generator. Instead,
manually translate a major/minor to a device node. |
c51cf05646a11c65daf65c1123c77efb068f4f7b |
|
21-Aug-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Rename F_TYPE_CMP() to F_TYPE_EQUAL() |
091526ab20485492124852dcf629787f35816df8 |
|
21-Aug-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: do not show error for non-GPT disks |
7384146530ac083efbef62b9ef5bb82c56565cd4 |
|
21-Aug-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: use _cleanup_ for blkid_free_probe |
d98cc1c019651b895464161072894a02cc43daab |
|
21-Aug-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
gpt-auto-generator: include device name in error reports |
4b357e15876b730343db08719c877fdb45b6ad42 |
|
16-Aug-2013 |
Michael Marineau <michael.marineau@coreos.com> |
build-sys: Add configure check for linux/btrfs.h
btrfs.h was added to uapi in Linux 3.9. To fix building with older
header versions this adds a configure check for the header and re-adds
btrfs definitions to missing.h which was removed in bed2e820 along with
two other ioctls used by gpt-auto-generator.
[ Apparently, btrfs.h was only added recently:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=55e301fd57a6239ec14b91a1cf2e70b3dd135194
let's re-add it for now -- kay ] |
ee530d8b73246f29781bd54a707ca75c7ef5a6cb |
|
13-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: fix swap unit generation |
4b1b14a6a6acb1640596d5e9542829d32989d385 |
|
13-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: Skip /home mounting if /home is not empty |
1a14a53cfded6e78c6e8dfb73fdff0039971d642 |
|
13-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
gpt-auto-generator: add basic auto-discovery of GPT partitions
This adds a simple generator that is capable of automatically
discovering certain GPT partitions by their type UUID and mount/enable
them. This currently covers swap partitions and /home partitions, but is
expected to grow more features soon.
This currently doesn't handle LUKS encrypted /home.
This enables all swap partitions of type
0657fd6da4ab43c484e50933c84b4f4f, if found.
This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915
as /home, if it is found. |