diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-10-18 08:16:29 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-10-18 08:16:29 +0000 |
commit | 28c94285c23a468c8bd694dd6f1771227f3d414f (patch) | |
tree | a7679eaac2007c5eddbcee480279e4083cd7583c /usr.sbin/config | |
parent | 2ca2c11464006888dc64cac806834fa4e4445df6 (diff) | |
download | src-28c94285c23a468c8bd694dd6f1771227f3d414f.tar.gz src-28c94285c23a468c8bd694dd6f1771227f3d414f.zip |
Added a slot in the swap-dev-table for NFS-diskless to abuse.
Notes
Notes:
svn path=/head/; revision=3691
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/mkswapconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/config/mkswapconf.c b/usr.sbin/config/mkswapconf.c index 3cbef69cb8dc..f94bca6e3ec4 100644 --- a/usr.sbin/config/mkswapconf.c +++ b/usr.sbin/config/mkswapconf.c @@ -104,6 +104,7 @@ do_swap(fl) swap->f_swapsize, swap->f_fn); swap = swap->f_next; } while (swap && swap->f_type == SWAPSPEC); + fprintf(fp, "\t{ NODEV, 0, 0 },\t/* for NFS diskless */\n"); fprintf(fp, "\t{ NODEV, 0, 0 }\n"); fprintf(fp, "};\n"); fclose(fp); |