~kris/9p

9hist

7151c253e5d08e242c034560a12a8de8b8b3e956 — David du Colombier 29 years ago 0af3c15
Plan 9 from Bell Labs 1997-08-12
3 files changed, 6 insertions(+), 6 deletions(-)

M boot/boot.c
M boot/dosboot.c
M pc/devata.c
M boot/boot.c => boot/boot.c +2 -2
@@ 116,9 116,9 @@ boot(int argc, char *argv[])
	 *  create the name space, mount the root fs
	 */
	if(bind("/", "/", MREPL) < 0)
		fatal("bind");
		fatal("bind /");
	if(mount(fd, "/", MAFTER|MCREATE, "") < 0)
		fatal("mount");
		fatal("mount /");
	close(fd);

	/*

M boot/dosboot.c => boot/dosboot.c +2 -2
@@ 29,11 29,11 @@ dosboot(void)
	 *  pick a floppy and mount it as root
	 */
	if(bind("/", "/", MREPL) < 0)
		fatal("bind");
		fatal("bind /");
	if(mount(fd, "/", MAFTER|MCREATE, "#f/fd0disk") < 0)
		if(mount(fd, "/", MAFTER|MCREATE, "#f/fd1disk") < 0)
			if(mount(fd, "/", MAFTER|MCREATE, "#H/hd0dos") < 0)
				fatal("mount");
				fatal("mount /");
	close(fd);

	settime(1);

M pc/devata.c => pc/devata.c +2 -2
@@ 190,7 190,7 @@ static int defirq[NCtlr] = {
};

static void	ataintr(Ureg*, void*);
static long	ataxfer(Drive*, Partition*, int, long, long, uchar*);
static long	ataxfer(Drive*, Partition*, int, ulong, long, uchar*);
static void	ataident(Drive*);
static void	atafeature(Drive*, uchar);
static void	ataparams(Drive*);


@@ 820,7 820,7 @@ atasleep(Controller *cp, int ms)
 *  parts.
 */
static long
ataxfer(Drive *dp, Partition *pp, int cmd, long start, long len, uchar *buf)
ataxfer(Drive *dp, Partition *pp, int cmd, ulong start, long len, uchar *buf)
{
	Controller *cp;
	long lblk;