diff options
author | Mike Smith <msmith@FreeBSD.org> | 2000-05-31 00:57:48 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 2000-05-31 00:57:48 +0000 |
commit | 07b10285799fe952a854b1d8175acb1187fdb0d6 (patch) | |
tree | 4bbedb5579703c87c94480a0ba76d5614605d2fc /usr.sbin/sade/install.c | |
parent | ad3a8d908d0eec9616a0dfc33d0e5a7ad4aca92a (diff) | |
download | src-07b10285799fe952a854b1d8175acb1187fdb0d6.tar.gz src-07b10285799fe952a854b1d8175acb1187fdb0d6.zip |
Finish the /dev/rXXX removal job. With the libdisk fixes, this should
actually work again.
Notes
Notes:
svn path=/head/; revision=61102
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r-- | usr.sbin/sade/install.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index db3a99066360..655991d85b18 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -938,7 +938,7 @@ installFilesystems(dialogMenuItem *self) if (rootdev && RunningAsInit) { /* Next, create and/or mount the root device */ - sprintf(dname, "/dev/r%s", rootdev->name); + sprintf(dname, "/dev/%s", rootdev->name); if (!Fake && (!MakeDevChunk(rootdev, "/dev") || !file_readable(dname))) { msgConfirm("Unable to make device node for %s in /dev!\n" "The creation of filesystems will be aborted.", dname); @@ -1010,9 +1010,9 @@ installFilesystems(dialogMenuItem *self) continue; if (tmp->newfs && (!upgrade || !msgYesNo("You are upgrading - are you SURE you want to newfs /dev/%s?", c2->name))) - command_shell_add(tmp->mountpoint, "%s %s/dev/r%s", tmp->newfs_cmd, RunningAsInit ? "/mnt" : "", c2->name); + command_shell_add(tmp->mountpoint, "%s %s/dev/%s", tmp->newfs_cmd, RunningAsInit ? "/mnt" : "", c2->name); else - command_shell_add(tmp->mountpoint, "fsck -y %s/dev/r%s", RunningAsInit ? "/mnt" : "", c2->name); + command_shell_add(tmp->mountpoint, "fsck -y %s/dev/%s", RunningAsInit ? "/mnt" : "", c2->name); command_func_add(tmp->mountpoint, Mount, c2->name); } else if (c2->type == part && c2->subtype == FS_SWAP) { |