View | Details | Raw Unified | Return to bug 279308
Collapse All | Expand All

(-)b/include/paths.h (+3 lines)
Lines 89-94 Link Here
89
#define	_PATH_SENDMAIL	"/usr/sbin/sendmail"
89
#define	_PATH_SENDMAIL	"/usr/sbin/sendmail"
90
#define	_PATH_SHELLS	"/etc/shells"
90
#define	_PATH_SHELLS	"/etc/shells"
91
#define	_PATH_TTY	"/dev/tty"
91
#define	_PATH_TTY	"/dev/tty"
92
#define	_PATH_TUNEFS	"/sbin/tunefs"
92
#define	_PATH_UNIX	"don't use _PATH_UNIX"
93
#define	_PATH_UNIX	"don't use _PATH_UNIX"
93
#define	_PATH_UFSSUSPEND	"/dev/ufssuspend"
94
#define	_PATH_UFSSUSPEND	"/dev/ufssuspend"
94
#define	_PATH_VI	"/usr/bin/vi"
95
#define	_PATH_VI	"/usr/bin/vi"
Lines 138-143 __END_DECLS Link Here
138
#define	_PATH_REBOOT	"/rescue/reboot"
139
#define	_PATH_REBOOT	"/rescue/reboot"
139
#undef	_PATH_RM
140
#undef	_PATH_RM
140
#define	_PATH_RM	"/rescue/rm"
141
#define	_PATH_RM	"/rescue/rm"
142
#undef	_PATH_TUNEFS
143
#define	_PATH_TUNEFS	"/rescue/tunefs"
141
#undef	_PATH_VI
144
#undef	_PATH_VI
142
#define	_PATH_VI	"/rescue/vi"
145
#define	_PATH_VI	"/rescue/vi"
143
#undef	_PATH_WALL
146
#undef	_PATH_WALL
(-)b/sbin/mdmfs/mdmfs.c (-1 / +8 lines)
Lines 104-110 main(int argc, char **argv) Link Here
104
	bool detach, softdep, autounit, newfs;
104
	bool detach, softdep, autounit, newfs;
105
	const char *mtpoint, *size_arg, *skel, *unitstr;
105
	const char *mtpoint, *size_arg, *skel, *unitstr;
106
	char *p;
106
	char *p;
107
	int ch, idx;
107
	int ch, idx, rv;
108
	void *set;
108
	void *set;
109
	unsigned long ul;
109
	unsigned long ul;
110
110
Lines 357-362 main(int argc, char **argv) Link Here
357
			do_mdconfig_attach(mdconfig_arg, mdtype);
357
			do_mdconfig_attach(mdconfig_arg, mdtype);
358
		if (newfs)
358
		if (newfs)
359
			do_newfs(newfs_arg);
359
			do_newfs(newfs_arg);
360
		if (!softdep) {
361
			rv = run(NULL, "%s %s /dev/%s%d", _PATH_TUNEFS,
362
			    "-n disable", mdname, unit);
363
			if (rv)
364
				errx(1, "tunefs exited %s %d", run_exitstr(rv),
365
				    run_exitnumber(rv));
366
		}
360
		do_mount_md(mount_arg, mtpoint);
367
		do_mount_md(mount_arg, mtpoint);
361
	}
368
	}
362
369

Return to bug 279308