From: Shawn Landen
/etc/localtime -> /usr/share/zoneinfo/...
or
/etc/localtime -> ../usr/share/zoneinfo/...
(note, ../usr is not the same if /etc is a symlink, as this isn't
using canonicalize_file_name())
keep other method for now, consider dropping later.
Supporting relative links here are
only syscalls set errno
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
---
Makefile.am |2 +-
man/{timezone.xml => localtime.xml} | 49 +++
units/systemd-timedated.service.in |2 +-
3 files changed, 28 insertions(+), 25 deletions(-)
rename man/{timezone.xml => localtime.xml} (59%)
diff --git a/Makef
From: Shawn Landen
/etc/localtime -> /usr/share/zoneinfo/...
or
/etc/localtime -> ../usr/share/zoneinfo/...
(note, ../usr is not the same if /etc is a symlink, as this isn't
using canonicalize_file_name())
keep other method for now, consider dropping later.
Supporting relative links here are
From: Shawn Landen
unlike symlink_or_copy_atomic(), this function creates a symlink even if the
oldname and newname (from and to) are on differn't devices. (stat.st_dev)
---
src/shared/util.c | 19 +--
src/shared/util.h |1 +
2 files changed, 18 insertions(+), 2 deletions(-
udev has supported this since 172, so it should be a safe (and welcome)
addition for users of GPT partitioned disks.
---
and fwiw, util-linux will support reading these as of 2.22 as well.
src/shared/util.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/shared/util.c b/src/shared/u
Since this is purely duplicated logic, separate it out into a small
static function.
---
ugly patch. thanks git.
src/shared/util.c | 53 -
1 file changed, 20 insertions(+), 33 deletions(-)
diff --git a/src/shared/util.c b/src/shared/util.c
inde
'Twas brillig, and Lennart Poettering at 10/08/12 13:44 did gyre and gimble:
> On Thu, 09.08.12 21:59, Colin Guthrie (gm...@colin.guthr.ie) wrote:
>
>>
>> Hi,
>>
>> 'Twas brillig, and Lennart Poettering at 09/08/12 11:32 did gyre and gimble:
>>> http://www.freedesktop.org/software/systemd/systemd-
'Twas brillig, and Lennart Poettering at 10/08/12 13:44 did gyre and gimble:
> On Thu, 09.08.12 21:59, Colin Guthrie (gm...@colin.guthr.ie) wrote:
>
>>
>> Hi,
>>
>> 'Twas brillig, and Lennart Poettering at 09/08/12 11:32 did gyre and gimble:
>>> http://www.freedesktop.org/software/systemd/systemd-