Bruce Evans
95242f5a02
Overload the correct errno for attempts to set an in-core label with
...
a raw partition at a nonzero offset (EINVAL should have been EXDEV;
DIOCSDINFO was broken, and DIOCWDINFO was broken because it depended
on DIOCSDINFO).
A zero offset for the raw partition should probably be enforced in
setdisklabel(), and DIOCWDINFO should probably always be handled by
first calling setdisklabel() so that writedisklabel() doesn't need to
enforce it, but this has never been done; dsioctl() has a special
check. Changes in this commit are limited to dsioctl() to preserve
bug for bug compatibility in drivers that don't use the slice code
(notably the ccd driver, which allows setting a bogus label in
DIOCWDINFO and doesn't undo the setting when writedisklabel() fails).
1998-10-17 09:46:42 +00:00
..
1998-09-16 08:25:56 +00:00
1998-06-14 13:53:12 +00:00
1998-10-16 03:55:01 +00:00
1998-10-16 03:55:01 +00:00
1998-10-16 03:55:01 +00:00
1998-10-16 03:55:01 +00:00
1998-10-15 17:09:19 +00:00
1998-08-24 08:32:19 +00:00
1998-06-05 21:44:20 +00:00
1998-10-06 23:17:44 +00:00
1998-07-04 22:30:26 +00:00
1998-07-29 17:38:14 +00:00
1998-10-09 21:21:34 +00:00
1998-10-16 03:55:01 +00:00
1998-06-05 21:44:20 +00:00
1998-09-26 14:25:32 +00:00
1998-10-15 17:12:12 +00:00
1998-10-16 03:55:01 +00:00
1998-07-29 17:38:14 +00:00
1998-08-16 01:21:52 +00:00
1998-08-31 08:41:58 +00:00
1998-10-16 03:55:01 +00:00
1998-06-13 09:30:26 +00:00
1998-08-19 10:50:32 +00:00
1998-07-11 07:46:16 +00:00
1998-06-10 10:28:29 +00:00
1998-06-21 11:33:32 +00:00
1998-07-27 19:16:21 +00:00
1998-09-20 16:50:31 +00:00
1998-09-14 23:25:18 +00:00
1998-08-04 09:21:04 +00:00
1998-08-26 05:27:42 +00:00
1998-10-16 03:55:01 +00:00
1998-10-06 23:17:44 +00:00
1998-06-02 05:39:13 +00:00
1998-06-09 13:10:54 +00:00
1998-08-24 08:39:39 +00:00
1998-05-19 21:11:53 +00:00
1998-10-16 03:45:35 +00:00
1998-10-16 03:55:01 +00:00
1998-10-16 03:55:01 +00:00
1998-10-15 09:50:45 +00:00
1998-06-28 10:01:52 +00:00
1998-06-07 17:13:14 +00:00
1998-06-01 21:54:43 +00:00
1998-10-03 08:55:29 +00:00
1998-07-15 02:32:35 +00:00
1998-10-14 20:44:05 +00:00
1998-10-17 07:49:04 +00:00
1998-08-10 07:22:14 +00:00
1998-10-17 09:46:42 +00:00
1998-06-07 17:13:14 +00:00
1998-10-14 05:07:23 +00:00
1998-07-11 13:06:41 +00:00
1998-09-06 06:25:18 +00:00
1998-09-05 14:30:11 +00:00
1998-08-05 14:06:04 +00:00
1998-10-10 13:37:16 +00:00
1998-08-23 10:16:26 +00:00
1998-08-20 06:10:42 +00:00
1998-09-05 14:30:11 +00:00
1998-10-13 08:24:45 +00:00
1998-07-29 18:41:30 +00:00
1998-06-07 17:13:14 +00:00
1998-08-24 08:32:19 +00:00
1998-08-24 08:29:52 +00:00
1998-10-13 08:24:45 +00:00
1998-06-07 17:13:14 +00:00
1998-06-07 17:13:14 +00:00
1998-08-23 08:26:42 +00:00
1998-08-23 08:26:42 +00:00
1998-06-07 17:13:14 +00:00
1998-07-15 02:32:35 +00:00
1998-08-23 08:26:42 +00:00
1998-08-19 04:01:00 +00:00
1998-07-27 03:59:48 +00:00
1998-08-23 03:07:17 +00:00
1998-09-05 13:24:39 +00:00
1998-09-05 13:24:39 +00:00
1998-08-31 18:07:23 +00:00
1998-08-23 03:07:17 +00:00
1998-07-15 02:32:35 +00:00
1998-08-17 17:28:10 +00:00
1998-10-13 08:24:45 +00:00
1998-09-09 07:41:41 +00:00
1998-09-04 08:06:57 +00:00
1998-09-14 19:56:42 +00:00
1998-07-04 20:45:42 +00:00
1998-10-14 15:05:52 +00:00
1998-09-24 15:02:46 +00:00
1998-10-16 03:55:01 +00:00
1998-06-07 17:13:14 +00:00
1998-09-14 19:56:42 +00:00
1998-10-14 15:05:52 +00:00
1998-09-24 15:02:46 +00:00
1998-06-27 06:43:09 +00:00
1998-07-04 20:45:42 +00:00
1998-07-04 20:45:42 +00:00
1998-09-05 14:13:12 +00:00