From ffbeed76c9e52d4ea4dd37c7f8782619ddec180f Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 24 Aug 2021 14:37:56 +0200 Subject: Revert "rumpdisk: Use raw uncached character device rwdXd" This reverts commit 517edb7fe7c614a683e18671afc52de8cabe8fdf. It seems to be actually breaking access to the disk. --- rumpdisk/block-rump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rumpdisk') diff --git a/rumpdisk/block-rump.c b/rumpdisk/block-rump.c index 5477d886..398289fb 100644 --- a/rumpdisk/block-rump.c +++ b/rumpdisk/block-rump.c @@ -86,12 +86,12 @@ search_bd (char *name) return NULL; } -/* BSD name of whole disk device is /dev/rwdXd +/* BSD name of whole disk device is /dev/wdXd * but we will receive wdX as the name */ static void translate_name (char *output, int len, char *name) { - snprintf (output, len - 1, "/dev/r%sd", name); + snprintf (output, len - 1, "/dev/%sd", name); } static boolean_t -- cgit v1.2.3