Richard W.M. Jones
533082e282
daemon: Change ln, ln-f (hard-link) APIs to use link(2) instead of external ln (RHBZ#895905).
...
The reasons to do this are twofold:
(a) It's probably a tiny bit faster.
(b) It lets us capture the real errno if the link(2) syscall fails.
The errno is also passed through guestmount, fixing RHBZ#895905:
+ guestmount -a test1.img -m /dev/sda1:/ -m /dev/sda2:/boot /tmp/mnt
+ touch /tmp/mnt/foo
+ cd /tmp/mnt
+ ln foo boot/foo
ln: failed to create hard link ‘boot/foo’ => ‘foo’: Invalid cross-device link
2013-01-21 14:23:07 +00:00
..
2012-08-30 20:57:07 +01:00
2012-12-10 16:20:34 +00:00
2012-12-10 16:20:34 +00:00
2012-12-08 16:42:37 +00:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-10-10 18:26:18 +01:00
2012-12-10 16:20:34 +00:00
2013-01-21 11:14:56 +00:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-12-07 15:24:06 +00:00
2012-03-14 19:30:46 +00:00
2012-08-30 20:57:07 +01:00
2012-12-14 16:58:05 +00:00
2012-08-30 20:57:07 +01:00
2013-01-16 11:30:07 +00:00
2012-10-08 20:04:47 +01:00
2012-08-30 20:57:07 +01:00
2012-10-17 11:12:07 +01:00
2012-08-30 20:57:07 +01:00
2011-11-08 14:43:07 +00:00
2012-08-30 20:57:07 +01:00
2012-07-19 16:11:47 +01:00
2012-12-16 18:38:41 +00:00
2012-03-14 19:30:46 +00:00
2012-09-17 16:25:53 +01:00
2012-08-17 16:08:14 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-03-08 14:30:10 +00:00
2012-08-02 14:05:54 +01:00
2012-08-30 20:57:07 +01:00
2012-12-14 16:21:58 +00:00
2012-10-03 08:55:24 +01:00
2012-03-14 19:30:46 +00:00
2012-03-14 19:30:46 +00:00
2012-12-10 16:20:34 +00:00
2012-10-09 09:45:42 +01:00
2012-08-30 20:57:07 +01:00
2012-12-27 18:08:55 +00:00
2012-01-21 21:31:50 +00:00
2011-11-08 14:43:07 +00:00
2012-11-29 17:07:39 +00:00
2012-08-30 20:57:07 +01:00
2012-12-11 15:20:19 +00:00
2013-01-21 14:23:07 +00:00
2012-08-30 20:57:07 +01:00
2012-09-17 13:37:06 +01:00
2013-01-18 07:13:54 +00:00
2012-12-17 19:27:12 +00:00
2012-12-11 15:20:19 +00:00
2012-12-08 16:42:38 +00:00
2012-10-10 18:26:18 +01:00
2012-12-10 16:20:34 +00:00
2012-10-17 11:12:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-12-18 11:52:41 +00:00
2011-11-08 14:43:07 +00:00
2012-09-24 09:46:24 +01:00
2012-03-13 08:23:56 +00:00
2012-12-10 16:20:34 +00:00
2012-08-30 20:57:07 +01:00
2012-08-30 20:57:07 +01:00
2012-12-10 16:20:34 +00:00
2012-09-15 12:35:59 +01:00
2011-11-08 14:43:07 +00:00
2012-08-17 16:08:13 +01:00
2011-11-08 14:43:07 +00:00
2012-03-14 19:30:46 +00:00
2012-08-30 20:57:07 +01:00
2012-07-02 21:13:21 +01:00
2012-12-08 16:42:37 +00:00
2012-03-14 19:30:46 +00:00
2011-11-08 14:43:07 +00:00
2012-03-14 19:30:46 +00:00
2011-12-08 11:39:58 +00:00
2012-07-30 15:16:45 +01:00
2012-03-14 19:30:46 +00:00
2012-12-10 16:20:34 +00:00
2012-12-08 16:42:38 +00:00
2012-11-20 10:44:10 +00:00
2012-08-30 20:57:07 +01:00