MNAMELEN
mntbuf[j].f_mntfromname, MNAMELEN))
if (strncmp(name, sfp[i].f_mntonname, MNAMELEN) == 0 &&
static char nam[MNAMELEN + 1];
static char nam[MNAMELEN + 1];
MNAMELEN) &&
MNAMELEN);
char f_mntonname[MNAMELEN]; /* directory on which mounted */
char f_mntfromname[MNAMELEN]; /* mounted file system */
char mtype[MNAMELEN];
memcpy(p->fsg_mount, s32p->fsg_mount, MNAMELEN);
memcpy(s32p->fsg_mount, p->fsg_mount, MNAMELEN);
char fsg_mount[MNAMELEN]; /* Mount point of file system */
char f_mntonname[MNAMELEN]; /* directory on which mounted */
char f_mntfromname[MNAMELEN]; /* mounted file system */
memcpy(fsg50->fsg_mount, sc->sc_mntname, MNAMELEN);
memcpy(fsg50->fsg_mount, sc->sc_mntname, MNAMELEN);
memcpy(fsg->fsg_mount, sc->sc_mntname, MNAMELEN);
memcpy(fsg->fsg_mount, sc->sc_mntname, MNAMELEN);
memcpy(sc->sc_mntname, sc->sc_mount->mnt_stat.f_mntonname, MNAMELEN);
char sc_mntname[MNAMELEN]; /* Mount point */
char fsg_mount[MNAMELEN]; /* Mount point of file system */
char fsg_mount[MNAMELEN]; /* Mount point of file system */
error = copyinstr(args.hostname, hst, MNAMELEN - 1, &hstlen);
bzero(&hst[hstlen], MNAMELEN - hstlen);
bcopy(args.hostname, hst, MNAMELEN);
hst[MNAMELEN - 1] = '\0';
bcopy(args.hostname, hst, MNAMELEN);
hst[MNAMELEN - 1] = '\0';
bcopy(hst, mp->mnt_stat.f_mntfromname, MNAMELEN);
bcopy(nfs_diskless.root_hostnam, nfsv3_diskless.root_hostnam, MNAMELEN);
bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN);
bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN);
char nam[MNAMELEN + 1];
if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) {
char hst[MNAMELEN];
strlcpy(path, p, MNAMELEN);
strncpy(nd3->root_hostnam, cp, MNAMELEN - 1);
strncpy(nd->root_hostnam, cp, MNAMELEN - 1);
char nmcom_hostname[MNAMELEN]; /* server's name */
char root_hostnam[MNAMELEN]; /* Host name for mount pt */
char root_hostnam[MNAMELEN]; /* Host name for mount pt */
char servername[MNAMELEN];
len = MNAMELEN - len;
len = MNAMELEN - len;
if (len >= (MNAMELEN-10)) {
(MNAMELEN-10));
#if BP_FILE_LEN > MNAMELEN
#define BOOTFILELEN MNAMELEN
char pathname[MNAMELEN];
MNAMELEN);
char rootserver[MNAMELEN];
aprint_normal("nfs_boot: root=%.*s\n", MNAMELEN,
pth = malloc(MNAMELEN, M_TEMP, M_WAITOK);
error = copyinstr(path, pth, MNAMELEN - 1, &len);
memset(&pth[len], 0, MNAMELEN - len);
hst = malloc(MNAMELEN, M_TEMP, M_WAITOK);
error = copyinstr(args->hostname, hst, MNAMELEN - 1, &len);
memset(&hst[len], 0, MNAMELEN - len);
char ndm_host[MNAMELEN]; /* server:pathname */
char nd_bootfile[MNAMELEN]; /* Boot file */
(void)copystr(mp->mnt_stat.f_mntonname, fs->fs_fsmnt, MNAMELEN - 1, 0);
u_char dlfs_fsmnt[MNAMELEN]; /* 232: name mounted on */
u_char dlfs_fsmnt[MNAMELEN]; /* 312: name mounted on */
(void) copystr(mp->mnt_stat.f_mntonname, fs->fs_fsmnt, MNAMELEN - 1, 0);
char mntonname[MNAMELEN];
MNAMELEN);
char s[MNAMELEN];
char s2[MNAMELEN];
char af_mountpoint[MNAMELEN];
char dev[MNAMELEN + 1];