head 1.8; access; symbols netbsd-11-0-RC4:1.8 netbsd-11-0-RC3:1.8 netbsd-11-0-RC2:1.8 netbsd-11-0-RC1:1.8 perseant-exfatfs-base-20250801:1.8 netbsd-11:1.8.0.74 netbsd-11-base:1.8 netbsd-10-1-RELEASE:1.8 perseant-exfatfs-base-20240630:1.8 perseant-exfatfs:1.8.0.72 perseant-exfatfs-base:1.8 netbsd-8-3-RELEASE:1.8 netbsd-9-4-RELEASE:1.8 netbsd-10-0-RELEASE:1.8 netbsd-10-0-RC6:1.8 netbsd-10-0-RC5:1.8 netbsd-10-0-RC4:1.8 netbsd-10-0-RC3:1.8 netbsd-10-0-RC2:1.8 netbsd-10-0-RC1:1.8 netbsd-10:1.8.0.70 netbsd-10-base:1.8 netbsd-9-3-RELEASE:1.8 cjep_sun2x-base1:1.8 cjep_sun2x:1.8.0.68 cjep_sun2x-base:1.8 cjep_staticlib_x-base1:1.8 netbsd-9-2-RELEASE:1.8 cjep_staticlib_x:1.8.0.66 cjep_staticlib_x-base:1.8 netbsd-9-1-RELEASE:1.8 phil-wifi-20200421:1.8 phil-wifi-20200411:1.8 is-mlppp:1.8.0.64 is-mlppp-base:1.8 phil-wifi-20200406:1.8 netbsd-8-2-RELEASE:1.8 netbsd-9-0-RELEASE:1.8 netbsd-9-0-RC2:1.8 netbsd-9-0-RC1:1.8 phil-wifi-20191119:1.8 netbsd-9:1.8.0.62 netbsd-9-base:1.8 phil-wifi-20190609:1.8 netbsd-8-1-RELEASE:1.8 netbsd-8-1-RC1:1.8 pgoyette-compat-merge-20190127:1.8 pgoyette-compat-20190127:1.8 pgoyette-compat-20190118:1.8 pgoyette-compat-1226:1.8 pgoyette-compat-1126:1.8 pgoyette-compat-1020:1.8 pgoyette-compat-0930:1.8 pgoyette-compat-0906:1.8 netbsd-7-2-RELEASE:1.8 pgoyette-compat-0728:1.8 netbsd-8-0-RELEASE:1.8 phil-wifi:1.8.0.60 phil-wifi-base:1.8 pgoyette-compat-0625:1.8 netbsd-8-0-RC2:1.8 pgoyette-compat-0521:1.8 pgoyette-compat-0502:1.8 pgoyette-compat-0422:1.8 netbsd-8-0-RC1:1.8 pgoyette-compat-0415:1.8 pgoyette-compat-0407:1.8 pgoyette-compat-0330:1.8 pgoyette-compat-0322:1.8 pgoyette-compat-0315:1.8 netbsd-7-1-2-RELEASE:1.8 pgoyette-compat:1.8.0.58 pgoyette-compat-base:1.8 netbsd-7-1-1-RELEASE:1.8 matt-nb8-mediatek:1.8.0.56 matt-nb8-mediatek-base:1.8 perseant-stdc-iso10646:1.8.0.54 perseant-stdc-iso10646-base:1.8 netbsd-8:1.8.0.52 netbsd-8-base:1.8 prg-localcount2-base3:1.8 prg-localcount2-base2:1.8 prg-localcount2-base1:1.8 prg-localcount2:1.8.0.50 prg-localcount2-base:1.8 pgoyette-localcount-20170426:1.8 bouyer-socketcan-base1:1.8 pgoyette-localcount-20170320:1.8 netbsd-7-1:1.8.0.48 netbsd-7-1-RELEASE:1.8 netbsd-7-1-RC2:1.8 netbsd-7-nhusb-base-20170116:1.8 bouyer-socketcan:1.8.0.46 bouyer-socketcan-base:1.8 pgoyette-localcount-20170107:1.8 netbsd-7-1-RC1:1.8 pgoyette-localcount-20161104:1.8 netbsd-7-0-2-RELEASE:1.8 localcount-20160914:1.8 netbsd-7-nhusb:1.8.0.44 netbsd-7-nhusb-base:1.8 pgoyette-localcount-20160806:1.8 pgoyette-localcount-20160726:1.8 pgoyette-localcount:1.8.0.42 pgoyette-localcount-base:1.8 netbsd-7-0-1-RELEASE:1.8 netbsd-7-0:1.8.0.40 netbsd-7-0-RELEASE:1.8 netbsd-7-0-RC3:1.8 netbsd-7-0-RC2:1.8 netbsd-7-0-RC1:1.8 netbsd-5-2-3-RELEASE:1.8 netbsd-5-1-5-RELEASE:1.8 netbsd-6-0-6-RELEASE:1.8 netbsd-6-1-5-RELEASE:1.8 netbsd-7:1.8.0.38 netbsd-7-base:1.8 yamt-pagecache-base9:1.8 yamt-pagecache-tag8:1.8 netbsd-6-1-4-RELEASE:1.8 netbsd-6-0-5-RELEASE:1.8 tls-earlyentropy:1.8.0.36 tls-earlyentropy-base:1.8 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8 riastradh-drm2-base3:1.8 netbsd-6-1-3-RELEASE:1.8 netbsd-6-0-4-RELEASE:1.8 netbsd-5-2-2-RELEASE:1.8 netbsd-5-1-4-RELEASE:1.8 netbsd-6-1-2-RELEASE:1.8 netbsd-6-0-3-RELEASE:1.8 netbsd-5-2-1-RELEASE:1.8 netbsd-5-1-3-RELEASE:1.8 netbsd-6-1-1-RELEASE:1.8 riastradh-drm2-base2:1.8 riastradh-drm2-base1:1.8 riastradh-drm2:1.8.0.30 riastradh-drm2-base:1.8 netbsd-6-1:1.8.0.34 netbsd-6-0-2-RELEASE:1.8 netbsd-6-1-RELEASE:1.8 netbsd-6-1-RC4:1.8 netbsd-6-1-RC3:1.8 agc-symver:1.8.0.32 agc-symver-base:1.8 netbsd-6-1-RC2:1.8 netbsd-6-1-RC1:1.8 yamt-pagecache-base8:1.8 netbsd-5-2:1.8.0.28 netbsd-6-0-1-RELEASE:1.8 yamt-pagecache-base7:1.8 netbsd-5-2-RELEASE:1.8 netbsd-5-2-RC1:1.8 matt-nb6-plus-nbase:1.8 yamt-pagecache-base6:1.8 netbsd-6-0:1.8.0.26 netbsd-6-0-RELEASE:1.8 netbsd-6-0-RC2:1.8 tls-maxphys:1.8.0.24 tls-maxphys-base:1.8 matt-nb6-plus:1.8.0.22 matt-nb6-plus-base:1.8 netbsd-6-0-RC1:1.8 yamt-pagecache-base5:1.8 yamt-pagecache-base4:1.8 netbsd-6:1.8.0.20 netbsd-6-base:1.8 netbsd-5-1-2-RELEASE:1.8 netbsd-5-1-1-RELEASE:1.8 yamt-pagecache-base3:1.8 yamt-pagecache-base2:1.8 yamt-pagecache:1.8.0.18 yamt-pagecache-base:1.8 cherry-xenmp:1.8.0.16 cherry-xenmp-base:1.8 bouyer-quota2-nbase:1.8 bouyer-quota2:1.8.0.14 bouyer-quota2-base:1.8 matt-mips64-premerge-20101231:1.8 matt-nb5-mips64-premerge-20101231:1.8 matt-nb5-pq3:1.8.0.12 matt-nb5-pq3-base:1.8 netbsd-5-1:1.8.0.10 netbsd-5-1-RELEASE:1.8 netbsd-5-1-RC4:1.8 matt-nb5-mips64-k15:1.8 netbsd-5-1-RC3:1.8 netbsd-5-1-RC2:1.8 netbsd-5-1-RC1:1.8 netbsd-5-0-2-RELEASE:1.8 matt-nb5-mips64-premerge-20091211:1.8 matt-premerge-20091211:1.8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.8 matt-nb4-mips64-k7-u2a-k9b:1.8 matt-nb5-mips64-u1-k1-k5:1.8 matt-nb5-mips64:1.8.0.8 netbsd-5-0-1-RELEASE:1.8 jym-xensuspend-nbase:1.8 netbsd-5-0:1.8.0.6 netbsd-5-0-RELEASE:1.8 netbsd-5-0-RC4:1.8 netbsd-5-0-RC3:1.8 netbsd-5-0-RC2:1.8 jym-xensuspend:1.8.0.4 jym-xensuspend-base:1.8 netbsd-5-0-RC1:1.8 netbsd-5:1.8.0.2 netbsd-5-base:1.8 matt-mips64-base2:1.8 matt-mips64:1.7.0.26 netbsd-4-0-1-RELEASE:1.7 wrstuden-revivesa-base-3:1.8 wrstuden-revivesa-base-2:1.8 wrstuden-fixsa-newbase:1.7 wrstuden-revivesa-base-1:1.7 yamt-pf42-base4:1.7 yamt-pf42-base3:1.7 hpcarm-cleanup-nbase:1.7 yamt-pf42-baseX:1.7 yamt-pf42-base2:1.7 wrstuden-revivesa:1.7.0.24 wrstuden-revivesa-base:1.7 yamt-pf42:1.7.0.22 yamt-pf42-base:1.7 mjf-devfs2:1.7.0.20 mjf-devfs2-base:1.8 keiichi-mipv6:1.7.0.18 keiichi-mipv6-base:1.7 matt-armv6-nbase:1.7 matt-armv6-prevmlocking:1.7 wrstuden-fixsa-base-1:1.7 netbsd-4-0:1.7.0.16 netbsd-4-0-RELEASE:1.7 cube-autoconf:1.7.0.14 cube-autoconf-base:1.7 mjf-devfs:1.7.0.12 mjf-devfs-base:1.7 netbsd-4-0-RC5:1.7 netbsd-4-0-RC4:1.7 netbsd-4-0-RC3:1.7 netbsd-4-0-RC2:1.7 netbsd-4-0-RC1:1.7 matt-armv6:1.7.0.10 matt-armv6-base:1.7 matt-mips64-base:1.7 hpcarm-cleanup:1.7.0.8 hpcarm-cleanup-base:1.7 netbsd-3-1-1-RELEASE:1.6 netbsd-3-0-3-RELEASE:1.6 wrstuden-fixsa:1.7.0.6 wrstuden-fixsa-base:1.7 abandoned-netbsd-4-base:1.7 abandoned-netbsd-4:1.7.0.2 netbsd-3-1:1.6.0.6 netbsd-3-1-RELEASE:1.6 netbsd-3-0-2-RELEASE:1.6 netbsd-3-1-RC4:1.6 netbsd-3-1-RC3:1.6 netbsd-3-1-RC2:1.6 netbsd-3-1-RC1:1.6 netbsd-4:1.7.0.4 netbsd-4-base:1.7 netbsd-3-0-1-RELEASE:1.6 netbsd-3-0:1.6.0.4 netbsd-3-0-RELEASE:1.6 netbsd-3-0-RC6:1.6 netbsd-3-0-RC5:1.6 netbsd-3-0-RC4:1.6 netbsd-3-0-RC3:1.6 netbsd-3-0-RC2:1.6 netbsd-3-0-RC1:1.6 netbsd-2-0-3-RELEASE:1.5 netbsd-2-1:1.5.0.6 netbsd-2-1-RELEASE:1.5 netbsd-2-1-RC6:1.5 netbsd-2-1-RC5:1.5 netbsd-2-1-RC4:1.5 netbsd-2-1-RC3:1.5 netbsd-2-1-RC2:1.5 netbsd-2-1-RC1:1.5 netbsd-2-0-2-RELEASE:1.5 netbsd-3:1.6.0.2 netbsd-3-base:1.6 netbsd-2-0-1-RELEASE:1.5 netbsd-2:1.5.0.4 netbsd-2-base:1.5 netbsd-2-0-RELEASE:1.5 netbsd-2-0-RC5:1.5 netbsd-2-0-RC4:1.5 netbsd-2-0-RC3:1.5 netbsd-2-0-RC2:1.5 netbsd-2-0-RC1:1.5 netbsd-2-0:1.5.0.2 netbsd-2-0-base:1.5 netbsd-1-6-PATCH002-RELEASE:1.3 netbsd-1-6-PATCH002:1.3 netbsd-1-6-PATCH002-RC4:1.3 netbsd-1-6-PATCH002-RC3:1.3 netbsd-1-6-PATCH002-RC2:1.3 netbsd-1-6-PATCH002-RC1:1.3 netbsd-1-6-PATCH001:1.3 netbsd-1-6-PATCH001-RELEASE:1.3 netbsd-1-6-PATCH001-RC3:1.3 netbsd-1-6-PATCH001-RC2:1.3 netbsd-1-6-PATCH001-RC1:1.3 fvdl_fs64_base:1.4 netbsd-1-6-RELEASE:1.3 netbsd-1-6-RC3:1.3 netbsd-1-6-RC2:1.3 netbsd-1-6-RC1:1.3 netbsd-1-6:1.3.0.12 netbsd-1-6-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH002:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-5-BETA2:1.3 netbsd-1-5-BETA:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-5-ALPHA2:1.3 netbsd-1-5:1.3.0.10 netbsd-1-5-base:1.3 minoura-xpg4dl:1.3.0.8 minoura-xpg4dl-base:1.3 netbsd-1-4-PATCH002:1.3 wrstuden-devbsize-19991221:1.3 wrstuden-devbsize:1.3.0.6 wrstuden-devbsize-base:1.3 comdex-fall-1999:1.3.0.4 comdex-fall-1999-base:1.3 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-4:1.3.0.2 netbsd-1-4-base:1.3 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH003-CANDIDATE2:1.2 netbsd-1-3-PATCH003-CANDIDATE1:1.2 netbsd-1-3-PATCH003-CANDIDATE0:1.2 netbsd-1-3-PATCH002:1.2 netbsd-1-3-PATCH001:1.2 netbsd-1-3-RELEASE:1.2 netbsd-1-3-BETA:1.2 netbsd-1-3:1.2.0.2 netbsd-1-3-base:1.2; locks; strict; comment @# @; 1.8 date 2008.08.05.20.57.45; author pooka; state Exp; branches; next 1.7; 1.7 date 2005.06.27.01.00.05; author christos; state Exp; branches 1.7.20.1 1.7.24.1; next 1.6; 1.6 date 2005.02.05.14.51.16; author xtraeme; state Exp; branches; next 1.5; 1.5 date 2003.03.22.12.43.58; author jdolecek; state Exp; branches; next 1.4; 1.4 date 2002.08.19.10.16.56; author lukem; state Exp; branches; next 1.3; 1.3 date 98.01.09.08.04.01; author perry; state Exp; branches; next 1.2; 1.2 date 97.10.10.19.49.21; author christos; state Exp; branches; next 1.1; 1.1 date 97.06.11.11.21.42; author bouyer; state Exp; branches; next ; 1.7.20.1 date 2008.09.28.11.17.12; author mjf; state Exp; branches; next ; 1.7.24.1 date 2008.09.18.04.28.26; author wrstuden; state Exp; branches; next ; desc @@ 1.8 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.7 2005/06/27 01:00:05 christos Exp $ # # $OpenBSD: Makefile,v 1.1 1996/06/27 07:20:28 downsj Exp $ .include PROG= mount_ext2fs SRCS= mount_ext2fs.c pathadj.c MAN= mount_ext2fs.8 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+=-I${MOUNT} .PATH: ${MOUNT} DPADD+=${LIBUTIL} LDADD+=-lutil .include @ 1.7 log @Move WARNS=3 to the Makefile.inc, and add a little const to the remaining programs that did not compile before. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2005/02/05 14:51:16 xtraeme Exp $ d8 1 a8 1 SRCS= mount_ext2fs.c d11 4 @ 1.7.20.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 SRCS= mount_ext2fs.c pathadj.c a10 4 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+=-I${MOUNT} .PATH: ${MOUNT} @ 1.7.24.1 log @Sync with wrstuden-revivesa-base-2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2005/06/27 01:00:05 christos Exp $ d8 1 a8 1 SRCS= mount_ext2fs.c pathadj.c a10 4 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+=-I${MOUNT} .PATH: ${MOUNT} @ 1.6 log @Kill __P(), use ANSI function declarations; WARNS=3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2003/03/22 12:43:58 jdolecek Exp $ a10 2 WARNS= 3 @ 1.5 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.4 2002/08/19 10:16:56 lukem Exp $ d11 2 @ 1.4 log @Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1998/01/09 08:04:01 perry Exp $ d8 1 a8 1 SRCS= mount_ext2fs.c getmntopts.c d11 2 a12 3 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+= -I${MOUNT} .PATH: ${MOUNT} @ 1.3 log @RCS Id Police. @ text @d1 1 a1 1 # $NetBSD$ d5 2 d11 1 a11 1 MOUNT= ${.CURDIR}/../mount @ 1.2 log @CFLAGS->CPPFLAGS @ text @d1 2 @ 1.1 log @Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs. @ text @d8 1 a8 1 CFLAGS+= -I${MOUNT} @