head 1.9; access; symbols netbsd-11-0-RC4:1.9 netbsd-11-0-RC3:1.9 netbsd-11-0-RC2:1.9 netbsd-11-0-RC1:1.9 perseant-exfatfs-base-20250801:1.9 netbsd-11:1.9.0.74 netbsd-11-base:1.9 netbsd-10-1-RELEASE:1.9 perseant-exfatfs-base-20240630:1.9 perseant-exfatfs:1.9.0.72 perseant-exfatfs-base:1.9 netbsd-8-3-RELEASE:1.9 netbsd-9-4-RELEASE:1.9 netbsd-10-0-RELEASE:1.9 netbsd-10-0-RC6:1.9 netbsd-10-0-RC5:1.9 netbsd-10-0-RC4:1.9 netbsd-10-0-RC3:1.9 netbsd-10-0-RC2:1.9 netbsd-10-0-RC1:1.9 netbsd-10:1.9.0.70 netbsd-10-base:1.9 netbsd-9-3-RELEASE:1.9 cjep_sun2x-base1:1.9 cjep_sun2x:1.9.0.68 cjep_sun2x-base:1.9 cjep_staticlib_x-base1:1.9 netbsd-9-2-RELEASE:1.9 cjep_staticlib_x:1.9.0.66 cjep_staticlib_x-base:1.9 netbsd-9-1-RELEASE:1.9 phil-wifi-20200421:1.9 phil-wifi-20200411:1.9 is-mlppp:1.9.0.64 is-mlppp-base:1.9 phil-wifi-20200406:1.9 netbsd-8-2-RELEASE:1.9 netbsd-9-0-RELEASE:1.9 netbsd-9-0-RC2:1.9 netbsd-9-0-RC1:1.9 phil-wifi-20191119:1.9 netbsd-9:1.9.0.62 netbsd-9-base:1.9 phil-wifi-20190609:1.9 netbsd-8-1-RELEASE:1.9 netbsd-8-1-RC1:1.9 pgoyette-compat-merge-20190127:1.9 pgoyette-compat-20190127:1.9 pgoyette-compat-20190118:1.9 pgoyette-compat-1226:1.9 pgoyette-compat-1126:1.9 pgoyette-compat-1020:1.9 pgoyette-compat-0930:1.9 pgoyette-compat-0906:1.9 netbsd-7-2-RELEASE:1.9 pgoyette-compat-0728:1.9 netbsd-8-0-RELEASE:1.9 phil-wifi:1.9.0.60 phil-wifi-base:1.9 pgoyette-compat-0625:1.9 netbsd-8-0-RC2:1.9 pgoyette-compat-0521:1.9 pgoyette-compat-0502:1.9 pgoyette-compat-0422:1.9 netbsd-8-0-RC1:1.9 pgoyette-compat-0415:1.9 pgoyette-compat-0407:1.9 pgoyette-compat-0330:1.9 pgoyette-compat-0322:1.9 pgoyette-compat-0315:1.9 netbsd-7-1-2-RELEASE:1.9 pgoyette-compat:1.9.0.58 pgoyette-compat-base:1.9 netbsd-7-1-1-RELEASE:1.9 matt-nb8-mediatek:1.9.0.56 matt-nb8-mediatek-base:1.9 perseant-stdc-iso10646:1.9.0.54 perseant-stdc-iso10646-base:1.9 netbsd-8:1.9.0.52 netbsd-8-base:1.9 prg-localcount2-base3:1.9 prg-localcount2-base2:1.9 prg-localcount2-base1:1.9 prg-localcount2:1.9.0.50 prg-localcount2-base:1.9 pgoyette-localcount-20170426:1.9 bouyer-socketcan-base1:1.9 pgoyette-localcount-20170320:1.9 netbsd-7-1:1.9.0.48 netbsd-7-1-RELEASE:1.9 netbsd-7-1-RC2:1.9 netbsd-7-nhusb-base-20170116:1.9 bouyer-socketcan:1.9.0.46 bouyer-socketcan-base:1.9 pgoyette-localcount-20170107:1.9 netbsd-7-1-RC1:1.9 pgoyette-localcount-20161104:1.9 netbsd-7-0-2-RELEASE:1.9 localcount-20160914:1.9 netbsd-7-nhusb:1.9.0.44 netbsd-7-nhusb-base:1.9 pgoyette-localcount-20160806:1.9 pgoyette-localcount-20160726:1.9 pgoyette-localcount:1.9.0.42 pgoyette-localcount-base:1.9 netbsd-7-0-1-RELEASE:1.9 netbsd-7-0:1.9.0.40 netbsd-7-0-RELEASE:1.9 netbsd-7-0-RC3:1.9 netbsd-7-0-RC2:1.9 netbsd-7-0-RC1:1.9 netbsd-5-2-3-RELEASE:1.9 netbsd-5-1-5-RELEASE:1.9 netbsd-6-0-6-RELEASE:1.9 netbsd-6-1-5-RELEASE:1.9 netbsd-7:1.9.0.38 netbsd-7-base:1.9 yamt-pagecache-base9:1.9 yamt-pagecache-tag8:1.9 netbsd-6-1-4-RELEASE:1.9 netbsd-6-0-5-RELEASE:1.9 tls-earlyentropy:1.9.0.36 tls-earlyentropy-base:1.9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9 riastradh-drm2-base3:1.9 netbsd-6-1-3-RELEASE:1.9 netbsd-6-0-4-RELEASE:1.9 netbsd-5-2-2-RELEASE:1.9 netbsd-5-1-4-RELEASE:1.9 netbsd-6-1-2-RELEASE:1.9 netbsd-6-0-3-RELEASE:1.9 netbsd-5-2-1-RELEASE:1.9 netbsd-5-1-3-RELEASE:1.9 netbsd-6-1-1-RELEASE:1.9 riastradh-drm2-base2:1.9 riastradh-drm2-base1:1.9 riastradh-drm2:1.9.0.30 riastradh-drm2-base:1.9 netbsd-6-1:1.9.0.34 netbsd-6-0-2-RELEASE:1.9 netbsd-6-1-RELEASE:1.9 netbsd-6-1-RC4:1.9 netbsd-6-1-RC3:1.9 agc-symver:1.9.0.32 agc-symver-base:1.9 netbsd-6-1-RC2:1.9 netbsd-6-1-RC1:1.9 yamt-pagecache-base8:1.9 netbsd-5-2:1.9.0.28 netbsd-6-0-1-RELEASE:1.9 yamt-pagecache-base7:1.9 netbsd-5-2-RELEASE:1.9 netbsd-5-2-RC1:1.9 matt-nb6-plus-nbase:1.9 yamt-pagecache-base6:1.9 netbsd-6-0:1.9.0.26 netbsd-6-0-RELEASE:1.9 netbsd-6-0-RC2:1.9 tls-maxphys:1.9.0.24 tls-maxphys-base:1.9 matt-nb6-plus:1.9.0.22 matt-nb6-plus-base:1.9 netbsd-6-0-RC1:1.9 yamt-pagecache-base5:1.9 yamt-pagecache-base4:1.9 netbsd-6:1.9.0.20 netbsd-6-base:1.9 netbsd-5-1-2-RELEASE:1.9 netbsd-5-1-1-RELEASE:1.9 yamt-pagecache-base3:1.9 yamt-pagecache-base2:1.9 yamt-pagecache:1.9.0.18 yamt-pagecache-base:1.9 cherry-xenmp:1.9.0.16 cherry-xenmp-base:1.9 bouyer-quota2-nbase:1.9 bouyer-quota2:1.9.0.14 bouyer-quota2-base:1.9 matt-mips64-premerge-20101231:1.9 matt-nb5-mips64-premerge-20101231:1.9 matt-nb5-pq3:1.9.0.12 matt-nb5-pq3-base:1.9 netbsd-5-1:1.9.0.10 netbsd-5-1-RELEASE:1.9 netbsd-5-1-RC4:1.9 matt-nb5-mips64-k15:1.9 netbsd-5-1-RC3:1.9 netbsd-5-1-RC2:1.9 netbsd-5-1-RC1:1.9 netbsd-5-0-2-RELEASE:1.9 matt-nb5-mips64-premerge-20091211:1.9 matt-premerge-20091211:1.9 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.9 matt-nb4-mips64-k7-u2a-k9b:1.9 matt-nb5-mips64-u1-k1-k5:1.9 matt-nb5-mips64:1.9.0.8 netbsd-5-0-1-RELEASE:1.9 jym-xensuspend-nbase:1.9 netbsd-5-0:1.9.0.6 netbsd-5-0-RELEASE:1.9 netbsd-5-0-RC4:1.9 netbsd-5-0-RC3:1.9 netbsd-5-0-RC2:1.9 jym-xensuspend:1.9.0.4 jym-xensuspend-base:1.9 netbsd-5-0-RC1:1.9 netbsd-5:1.9.0.2 netbsd-5-base:1.9 matt-mips64-base2:1.9 matt-mips64:1.8.0.38 netbsd-4-0-1-RELEASE:1.8 wrstuden-revivesa-base-3:1.9 wrstuden-revivesa-base-2:1.9 wrstuden-fixsa-newbase:1.8 wrstuden-revivesa-base-1:1.8 yamt-pf42-base4:1.8 yamt-pf42-base3:1.8 hpcarm-cleanup-nbase:1.8 yamt-pf42-baseX:1.8 yamt-pf42-base2:1.8 wrstuden-revivesa:1.8.0.36 wrstuden-revivesa-base:1.8 yamt-pf42:1.8.0.34 yamt-pf42-base:1.8 mjf-devfs2:1.8.0.32 mjf-devfs2-base:1.9 keiichi-mipv6:1.8.0.30 keiichi-mipv6-base:1.8 matt-armv6-nbase:1.8 matt-armv6-prevmlocking:1.8 wrstuden-fixsa-base-1:1.8 netbsd-4-0:1.8.0.28 netbsd-4-0-RELEASE:1.8 cube-autoconf:1.8.0.26 cube-autoconf-base:1.8 mjf-devfs:1.8.0.24 mjf-devfs-base:1.8 netbsd-4-0-RC5:1.8 netbsd-4-0-RC4:1.8 netbsd-4-0-RC3:1.8 netbsd-4-0-RC2:1.8 netbsd-4-0-RC1:1.8 matt-armv6:1.8.0.22 matt-armv6-base:1.8 matt-mips64-base:1.8 hpcarm-cleanup:1.8.0.20 hpcarm-cleanup-base:1.8 netbsd-3-1-1-RELEASE:1.8 netbsd-3-0-3-RELEASE:1.8 wrstuden-fixsa:1.8.0.18 wrstuden-fixsa-base:1.8 abandoned-netbsd-4-base:1.8 abandoned-netbsd-4:1.8.0.12 netbsd-3-1:1.8.0.14 netbsd-3-1-RELEASE:1.8 netbsd-3-0-2-RELEASE:1.8 netbsd-3-1-RC4:1.8 netbsd-3-1-RC3:1.8 netbsd-3-1-RC2:1.8 netbsd-3-1-RC1:1.8 netbsd-4:1.8.0.16 netbsd-4-base:1.8 netbsd-3-0-1-RELEASE:1.8 netbsd-3-0:1.8.0.10 netbsd-3-0-RELEASE:1.8 netbsd-3-0-RC6:1.8 netbsd-3-0-RC5:1.8 netbsd-3-0-RC4:1.8 netbsd-3-0-RC3:1.8 netbsd-3-0-RC2:1.8 netbsd-3-0-RC1:1.8 netbsd-2-0-3-RELEASE:1.8 netbsd-2-1:1.8.0.8 netbsd-2-1-RELEASE:1.8 netbsd-2-1-RC6:1.8 netbsd-2-1-RC5:1.8 netbsd-2-1-RC4:1.8 netbsd-2-1-RC3:1.8 netbsd-2-1-RC2:1.8 netbsd-2-1-RC1:1.8 netbsd-2-0-2-RELEASE:1.8 netbsd-3:1.8.0.6 netbsd-3-base:1.8 netbsd-2-0-1-RELEASE:1.8 netbsd-2:1.8.0.4 netbsd-2-base:1.8 netbsd-2-0-RELEASE:1.8 netbsd-2-0-RC5:1.8 netbsd-2-0-RC4:1.8 netbsd-2-0-RC3:1.8 netbsd-2-0-RC2:1.8 netbsd-2-0-RC1:1.8 netbsd-2-0:1.8.0.2 netbsd-2-0-base:1.8 netbsd-1-6-PATCH002-RELEASE:1.6 netbsd-1-6-PATCH002:1.6 netbsd-1-6-PATCH002-RC4:1.6 netbsd-1-6-PATCH002-RC3:1.6 netbsd-1-6-PATCH002-RC2:1.6 netbsd-1-6-PATCH002-RC1:1.6 netbsd-1-6-PATCH001:1.6 netbsd-1-6-PATCH001-RELEASE:1.6 netbsd-1-6-PATCH001-RC3:1.6 netbsd-1-6-PATCH001-RC2:1.6 netbsd-1-6-PATCH001-RC1:1.6 fvdl_fs64_base:1.7 netbsd-1-6-RELEASE:1.6 netbsd-1-6-RC3:1.6 netbsd-1-6-RC2:1.6 netbsd-1-6-RC1:1.6 netbsd-1-6:1.6.0.16 netbsd-1-6-base:1.6 netbsd-1-5-PATCH003:1.6 netbsd-1-5-PATCH002:1.6 perseant-lfsv2:1.6.0.14 perseant-lfsv2-base:1.6 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.6 netbsd-1-5-BETA2:1.6 netbsd-1-5-BETA:1.6 netbsd-1-4-PATCH003:1.6 netbsd-1-5-ALPHA2:1.6 netbsd-1-5:1.6.0.12 netbsd-1-5-base:1.6 minoura-xpg4dl:1.6.0.10 minoura-xpg4dl-base:1.6 netbsd-1-4-PATCH002:1.6 wrstuden-devbsize-19991221:1.6 wrstuden-devbsize:1.6.0.8 wrstuden-devbsize-base:1.6 comdex-fall-1999:1.6.0.6 comdex-fall-1999-base:1.6 netbsd-1-4-PATCH001:1.6 netbsd-1-4-RELEASE:1.6 netbsd-1-4:1.6.0.4 netbsd-1-4-base:1.6 netbsd-1-3-PATCH003:1.6 netbsd-1-3-PATCH003-CANDIDATE2:1.6 netbsd-1-3-PATCH003-CANDIDATE1:1.6 netbsd-1-3-PATCH003-CANDIDATE0:1.6 netbsd-1-3-PATCH002:1.6 netbsd-1-3-PATCH001:1.6 netbsd-1-3-RELEASE:1.6 netbsd-1-3-BETA:1.6 netbsd-1-3:1.6.0.2 netbsd-1-3-base:1.6 lite-2:1.1.1.1 netbsd-1-2-PATCH001:1.3 netbsd-1-2-RELEASE:1.3 netbsd-1-2-BETA:1.3 netbsd-1-2:1.3.0.6 netbsd-1-2-base:1.3 netbsd-1-1-PATCH001:1.3 netbsd-1-1-RELEASE:1.3 netbsd-1-1:1.3.0.2 netbsd-1-1-base:1.3 netbsd-1-0-PATCH06:1.1 netbsd-1-0-PATCH05:1.1 netbsd-1-0-PATCH04:1.1 netbsd-1-0-PATCH03:1.1 netbsd-1-0-PATCH02:1.1 netbsd-1-0-PATCH1:1.1 netbsd-1-0-PATCH0:1.1 netbsd-1-0-RELEASE:1.1 netbsd-1-0:1.1.0.2 netbsd-1-0-base:1.1 lite-1:1.1.1.1 CSRG:1.1.1; locks; strict; comment @# @; 1.9 date 2008.08.05.20.57.45; author pooka; state Exp; branches; next 1.8; 1.8 date 2003.03.22.12.43.59; author jdolecek; state Exp; branches 1.8.32.1 1.8.36.1; next 1.7; 1.7 date 2002.08.19.10.16.57; author lukem; state Exp; branches; next 1.6; 1.6 date 97.10.10.19.50.12; author christos; state Exp; branches; next 1.5; 1.5 date 97.05.08.21.11.19; author gwr; state Exp; branches; next 1.4; 1.4 date 97.05.06.20.45.12; author gwr; state Exp; branches; next 1.3; 1.3 date 95.03.18.14.57.29; author cgd; state Exp; branches; next 1.2; 1.2 date 94.12.22.10.46.06; author cgd; state Exp; branches; next 1.1; 1.1 date 94.06.08.19.15.55; author mycroft; state Exp; branches 1.1.1.1; next ; 1.8.32.1 date 2008.09.28.11.17.13; author mjf; state Exp; branches; next ; 1.8.36.1 date 2008.09.18.04.28.27; author wrstuden; state Exp; branches; next ; 1.1.1.1 date 94.06.13.22.50.50; author mycroft; state Exp; branches; next ; desc @@ 1.9 log @Refactor mount utilities to provide a mount_fs_parseargs() routine. Use this routine both in mount_fs and rump_fs to provide equivalent command line parameters and therefore usage interchangeability. While doing this, combine some common mountgoop to mountprog.h @ text @# $NetBSD: Makefile,v 1.8 2003/03/22 12:43:59 jdolecek Exp $ # @@(#)Makefile 8.2 (Berkeley) 3/27/94 .include PROG= mount_lfs SRCS= mount_lfs.c pathadj.c MAN= mount_lfs.8 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+=-I${MOUNT} -DWANT_CLEANER .PATH: ${MOUNT} DPADD+=${LIBUTIL} LDADD+=-lutil .include @ 1.8 log @move getmntopts(3) to libutil, build and install also it's manpage bump libutil minor adjust individual mount_*/Makefile to use libutil getmntopts(3) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2002/08/19 10:16:57 lukem Exp $ d7 1 a7 1 SRCS= mount_lfs.c d10 4 @ 1.8.32.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD$ d7 1 a7 1 SRCS= mount_lfs.c pathadj.c a9 4 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+=-I${MOUNT} -DWANT_CLEANER .PATH: ${MOUNT} @ 1.8.36.1 log @Sync with wrstuden-revivesa-base-2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2003/03/22 12:43:59 jdolecek Exp $ d7 1 a7 1 SRCS= mount_lfs.c pathadj.c a9 4 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+=-I${MOUNT} -DWANT_CLEANER .PATH: ${MOUNT} @ 1.7 log @Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 1997/10/10 19:50:12 christos Exp $ d7 1 a7 1 SRCS= mount_lfs.c getmntopts.c d10 2 a11 3 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+= -I${MOUNT} .PATH: ${MOUNT} @ 1.6 log @CFLAGS->CPPFLAGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 1997/05/08 21:11:19 gwr Exp $ d4 2 d10 1 a10 1 MOUNT= ${.CURDIR}/../mount @ 1.5 log @Back out the .PATH.c changes. The .depend problem (and others) will be fixed using the new .NOPATH make feature instead. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 1997/05/06 20:45:12 gwr Exp $ d9 1 a9 1 CFLAGS+= -I${MOUNT} @ 1.4 log @Use .PATH.c: ... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1995/03/18 14:57:29 cgd Exp $ d10 1 a10 1 .PATH.c: ${MOUNT} @ 1.3 log @convert to new RCS Id conventions; reduce my headache @ text @d1 1 a1 1 # $NetBSD$ d10 1 a10 1 .PATH: ${MOUNT} @ 1.2 log @specify man pages the new way. @ text @d1 2 a2 2 # from: @@(#)Makefile 8.2 (Berkeley) 3/27/94 # $Id: Makefile,v 1.1 1994/06/08 19:15:55 mycroft Exp $ @ 1.1 log @Update from 4.4-Lite, with local changes. @ text @d2 1 a2 1 # $Id: $ d6 1 a6 1 MAN8= mount_lfs.0 @ 1.1.1.1 log @Import 4.4-Lite version. @ text @d1 2 a2 1 # @@(#)Makefile 8.2 (Berkeley) 3/27/94 @