diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-24 14:37:56 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-24 14:38:01 +0200 |
commit | ffbeed76c9e52d4ea4dd37c7f8782619ddec180f (patch) | |
tree | a95a8f7a9a2ea4cacbf90492bcb4882a2be9dc01 /rumpdisk | |
parent | c2a38a627251956e80826496e958b3c80a24837e (diff) | |
download | hurd-ffbeed76c9e52d4ea4dd37c7f8782619ddec180f.tar.gz hurd-ffbeed76c9e52d4ea4dd37c7f8782619ddec180f.tar.bz2 hurd-ffbeed76c9e52d4ea4dd37c7f8782619ddec180f.zip |
Revert "rumpdisk: Use raw uncached character device rwdXd"
This reverts commit 517edb7fe7c614a683e18671afc52de8cabe8fdf.
It seems to be actually breaking access to the disk.
Diffstat (limited to 'rumpdisk')
-rw-r--r-- | rumpdisk/block-rump.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |