From 7ea98b2be330b178090c27d4394ec01535dbf93d Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Fri, 9 Mar 2001 13:45:31 +0000 Subject: [PATCH] Allow the config file to specify a root filesystem filename. --- sys/ia64/ia64/sscdisk.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/ia64/ia64/sscdisk.c b/sys/ia64/ia64/sscdisk.c index 9d322621a2d0..cb3c93cfd9c0 100644 --- a/sys/ia64/ia64/sscdisk.c +++ b/sys/ia64/ia64/sscdisk.c @@ -12,6 +12,7 @@ #include "opt_mfs.h" /* We have adopted some tasks from MFS */ #include "opt_md.h" +#include "opt_ski.h" #include #include @@ -33,6 +34,10 @@ #include #include +#ifndef SKI_ROOT_FILESYSTEM +#define SKI_ROOT_FILESYSTEM "ia64-root.fs" +#endif + #define SSC_OPEN 50 #define SSC_CLOSE 51 #define SSC_READ 52 @@ -255,7 +260,7 @@ ssccreate(int unit) &ssc_cdevsw, &sscdisk_cdevsw); sc->dev->si_drv1 = sc; sc->nsect = SSC_NSECT; - sc->fd = ssc(ia64_tpa((u_int64_t) "/vol/v7/dfr/moo.fs"), + sc->fd = ssc(ia64_tpa((u_int64_t) SKI_ROOT_FILESYSTEM), 1, 0, 0, SSC_OPEN); if (sc->unit == 0) sscrootready = 1;