util.c | 1205 * If mountpt is nonempty, the caller should unmount that 1214 char url[STRSIZE], tmpf[PATH_MAX], mountpt[PATH_MAX]; local in function:entropy_get_file 1223 mountpt[0] = 0; 1277 strcpy(mountpt, "/tmp/ent-mnt.XXXXXX"); 1278 dir = mkdtemp(mountpt); 1281 sprintf(path, "%s/%s", mountpt, entropy_file); 1284 nfs_host, nfs_dir, mountpt) == 0) { 1288 "umount %s", mountpt); 1289 rmdir(mountpt); 1302 strcpy(mountpt, "/tmp/ent-mnt.XXXXXX") [all...] |