head 1.14; access; symbols netbsd-11-0-RC4:1.14 netbsd-11-0-RC3:1.14 netbsd-11-0-RC2:1.14 netbsd-11-0-RC1:1.14 perseant-exfatfs-base-20250801:1.14 netbsd-11:1.14.0.10 netbsd-11-base:1.14 netbsd-10-1-RELEASE:1.14 perseant-exfatfs-base-20240630:1.14 perseant-exfatfs:1.14.0.8 perseant-exfatfs-base:1.14 netbsd-8-3-RELEASE:1.13 netbsd-9-4-RELEASE:1.13 netbsd-10-0-RELEASE:1.14 netbsd-10-0-RC6:1.14 netbsd-10-0-RC5:1.14 netbsd-10-0-RC4:1.14 netbsd-10-0-RC3:1.14 netbsd-10-0-RC2:1.14 netbsd-10-0-RC1:1.14 netbsd-10:1.14.0.6 netbsd-10-base:1.14 netbsd-9-3-RELEASE:1.13 cjep_sun2x-base1:1.14 cjep_sun2x:1.14.0.4 cjep_sun2x-base:1.14 cjep_staticlib_x-base1:1.14 netbsd-9-2-RELEASE:1.13 cjep_staticlib_x:1.14.0.2 cjep_staticlib_x-base:1.14 netbsd-9-1-RELEASE:1.13 phil-wifi-20200421:1.13 phil-wifi-20200411:1.13 is-mlppp:1.13.0.90 is-mlppp-base:1.13 phil-wifi-20200406:1.13 netbsd-8-2-RELEASE:1.13 netbsd-9-0-RELEASE:1.13 netbsd-9-0-RC2:1.13 netbsd-9-0-RC1:1.13 phil-wifi-20191119:1.13 netbsd-9:1.13.0.88 netbsd-9-base:1.13 phil-wifi-20190609:1.13 netbsd-8-1-RELEASE:1.13 netbsd-8-1-RC1:1.13 pgoyette-compat-merge-20190127:1.13 pgoyette-compat-20190127:1.13 pgoyette-compat-20190118:1.13 pgoyette-compat-1226:1.13 pgoyette-compat-1126:1.13 pgoyette-compat-1020:1.13 pgoyette-compat-0930:1.13 pgoyette-compat-0906:1.13 netbsd-7-2-RELEASE:1.13 pgoyette-compat-0728:1.13 netbsd-8-0-RELEASE:1.13 phil-wifi:1.13.0.86 phil-wifi-base:1.13 pgoyette-compat-0625:1.13 netbsd-8-0-RC2:1.13 pgoyette-compat-0521:1.13 pgoyette-compat-0502:1.13 pgoyette-compat-0422:1.13 netbsd-8-0-RC1:1.13 pgoyette-compat-0415:1.13 pgoyette-compat-0407:1.13 pgoyette-compat-0330:1.13 pgoyette-compat-0322:1.13 pgoyette-compat-0315:1.13 netbsd-7-1-2-RELEASE:1.13 pgoyette-compat:1.13.0.84 pgoyette-compat-base:1.13 netbsd-7-1-1-RELEASE:1.13 matt-nb8-mediatek:1.13.0.82 matt-nb8-mediatek-base:1.13 perseant-stdc-iso10646:1.13.0.80 perseant-stdc-iso10646-base:1.13 netbsd-8:1.13.0.78 netbsd-8-base:1.13 prg-localcount2-base3:1.13 prg-localcount2-base2:1.13 prg-localcount2-base1:1.13 prg-localcount2:1.13.0.76 prg-localcount2-base:1.13 pgoyette-localcount-20170426:1.13 bouyer-socketcan-base1:1.13 pgoyette-localcount-20170320:1.13 netbsd-7-1:1.13.0.74 netbsd-7-1-RELEASE:1.13 netbsd-7-1-RC2:1.13 netbsd-7-nhusb-base-20170116:1.13 bouyer-socketcan:1.13.0.72 bouyer-socketcan-base:1.13 pgoyette-localcount-20170107:1.13 netbsd-7-1-RC1:1.13 pgoyette-localcount-20161104:1.13 netbsd-7-0-2-RELEASE:1.13 localcount-20160914:1.13 netbsd-7-nhusb:1.13.0.70 netbsd-7-nhusb-base:1.13 pgoyette-localcount-20160806:1.13 pgoyette-localcount-20160726:1.13 pgoyette-localcount:1.13.0.68 pgoyette-localcount-base:1.13 netbsd-7-0-1-RELEASE:1.13 netbsd-7-0:1.13.0.66 netbsd-7-0-RELEASE:1.13 netbsd-7-0-RC3:1.13 netbsd-7-0-RC2:1.13 netbsd-7-0-RC1:1.13 netbsd-5-2-3-RELEASE:1.13 netbsd-5-1-5-RELEASE:1.13 netbsd-6-0-6-RELEASE:1.13 netbsd-6-1-5-RELEASE:1.13 netbsd-7:1.13.0.64 netbsd-7-base:1.13 yamt-pagecache-base9:1.13 yamt-pagecache-tag8:1.13 netbsd-6-1-4-RELEASE:1.13 netbsd-6-0-5-RELEASE:1.13 tls-earlyentropy:1.13.0.62 tls-earlyentropy-base:1.13 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13 riastradh-drm2-base3:1.13 netbsd-6-1-3-RELEASE:1.13 netbsd-6-0-4-RELEASE:1.13 netbsd-5-2-2-RELEASE:1.13 netbsd-5-1-4-RELEASE:1.13 netbsd-6-1-2-RELEASE:1.13 netbsd-6-0-3-RELEASE:1.13 netbsd-5-2-1-RELEASE:1.13 netbsd-5-1-3-RELEASE:1.13 netbsd-6-1-1-RELEASE:1.13 riastradh-drm2-base2:1.13 riastradh-drm2-base1:1.13 riastradh-drm2:1.13.0.56 riastradh-drm2-base:1.13 netbsd-6-1:1.13.0.60 netbsd-6-0-2-RELEASE:1.13 netbsd-6-1-RELEASE:1.13 netbsd-6-1-RC4:1.13 netbsd-6-1-RC3:1.13 agc-symver:1.13.0.58 agc-symver-base:1.13 netbsd-6-1-RC2:1.13 netbsd-6-1-RC1:1.13 yamt-pagecache-base8:1.13 netbsd-5-2:1.13.0.54 netbsd-6-0-1-RELEASE:1.13 yamt-pagecache-base7:1.13 netbsd-5-2-RELEASE:1.13 netbsd-5-2-RC1:1.13 matt-nb6-plus-nbase:1.13 yamt-pagecache-base6:1.13 netbsd-6-0:1.13.0.52 netbsd-6-0-RELEASE:1.13 netbsd-6-0-RC2:1.13 tls-maxphys:1.13.0.50 tls-maxphys-base:1.13 matt-nb6-plus:1.13.0.48 matt-nb6-plus-base:1.13 netbsd-6-0-RC1:1.13 yamt-pagecache-base5:1.13 yamt-pagecache-base4:1.13 netbsd-6:1.13.0.46 netbsd-6-base:1.13 netbsd-5-1-2-RELEASE:1.13 netbsd-5-1-1-RELEASE:1.13 yamt-pagecache-base3:1.13 yamt-pagecache-base2:1.13 yamt-pagecache:1.13.0.44 yamt-pagecache-base:1.13 cherry-xenmp:1.13.0.42 cherry-xenmp-base:1.13 bouyer-quota2-nbase:1.13 bouyer-quota2:1.13.0.40 bouyer-quota2-base:1.13 matt-mips64-premerge-20101231:1.13 matt-nb5-mips64-premerge-20101231:1.13 matt-nb5-pq3:1.13.0.38 matt-nb5-pq3-base:1.13 netbsd-5-1:1.13.0.36 netbsd-5-1-RELEASE:1.13 netbsd-5-1-RC4:1.13 matt-nb5-mips64-k15:1.13 netbsd-5-1-RC3:1.13 netbsd-5-1-RC2:1.13 netbsd-5-1-RC1:1.13 netbsd-5-0-2-RELEASE:1.13 matt-nb5-mips64-premerge-20091211:1.13 matt-premerge-20091211:1.13 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13 matt-nb4-mips64-k7-u2a-k9b:1.13 matt-nb5-mips64-u1-k1-k5:1.13 matt-nb5-mips64:1.13.0.34 netbsd-5-0-1-RELEASE:1.13 jym-xensuspend-nbase:1.13 netbsd-5-0:1.13.0.32 netbsd-5-0-RELEASE:1.13 netbsd-5-0-RC4:1.13 netbsd-5-0-RC3:1.13 netbsd-5-0-RC2:1.13 jym-xensuspend:1.13.0.30 jym-xensuspend-base:1.13 netbsd-5-0-RC1:1.13 netbsd-5:1.13.0.28 netbsd-5-base:1.13 matt-mips64-base2:1.13 matt-mips64:1.13.0.26 netbsd-4-0-1-RELEASE:1.13 wrstuden-revivesa-base-3:1.13 wrstuden-revivesa-base-2:1.13 wrstuden-fixsa-newbase:1.13 wrstuden-revivesa-base-1:1.13 yamt-pf42-base4:1.13 yamt-pf42-base3:1.13 hpcarm-cleanup-nbase:1.13 yamt-pf42-baseX:1.13 yamt-pf42-base2:1.13 wrstuden-revivesa:1.13.0.24 wrstuden-revivesa-base:1.13 yamt-pf42:1.13.0.22 yamt-pf42-base:1.13 mjf-devfs2:1.13.0.20 mjf-devfs2-base:1.13 keiichi-mipv6:1.13.0.18 keiichi-mipv6-base:1.13 matt-armv6-nbase:1.13 matt-armv6-prevmlocking:1.13 wrstuden-fixsa-base-1:1.13 netbsd-4-0:1.13.0.16 netbsd-4-0-RELEASE:1.13 cube-autoconf:1.13.0.14 cube-autoconf-base:1.13 mjf-devfs:1.13.0.12 mjf-devfs-base:1.13 netbsd-4-0-RC5:1.13 netbsd-4-0-RC4:1.13 netbsd-4-0-RC3:1.13 netbsd-4-0-RC2:1.13 netbsd-4-0-RC1:1.13 matt-armv6:1.13.0.10 matt-armv6-base:1.13 matt-mips64-base:1.13 hpcarm-cleanup:1.13.0.8 hpcarm-cleanup-base:1.13 netbsd-3-1-1-RELEASE:1.12 netbsd-3-0-3-RELEASE:1.12 wrstuden-fixsa:1.13.0.6 wrstuden-fixsa-base:1.13 abandoned-netbsd-4-base:1.13 abandoned-netbsd-4:1.13.0.2 netbsd-3-1:1.12.0.6 netbsd-3-1-RELEASE:1.12 netbsd-3-0-2-RELEASE:1.12 netbsd-3-1-RC4:1.12 netbsd-3-1-RC3:1.12 netbsd-3-1-RC2:1.12 netbsd-3-1-RC1:1.12 netbsd-4:1.13.0.4 netbsd-4-base:1.13 netbsd-3-0-1-RELEASE:1.12 netbsd-3-0:1.12.0.4 netbsd-3-0-RELEASE:1.12 netbsd-3-0-RC6:1.12 netbsd-3-0-RC5:1.12 netbsd-3-0-RC4:1.12 netbsd-3-0-RC3:1.12 netbsd-3-0-RC2:1.12 netbsd-3-0-RC1:1.12 netbsd-2-0-3-RELEASE:1.11 netbsd-2-1:1.11.0.6 netbsd-2-1-RELEASE:1.11 netbsd-2-1-RC6:1.11 netbsd-2-1-RC5:1.11 netbsd-2-1-RC4:1.11 netbsd-2-1-RC3:1.11 netbsd-2-1-RC2:1.11 netbsd-2-1-RC1:1.11 netbsd-2-0-2-RELEASE:1.11 netbsd-3:1.12.0.2 netbsd-3-base:1.12 netbsd-2-0-1-RELEASE:1.11 netbsd-2:1.11.0.4 netbsd-2-base:1.11 netbsd-2-0-RELEASE:1.11 netbsd-2-0-RC5:1.11 netbsd-2-0-RC4:1.11 netbsd-2-0-RC3:1.11 netbsd-2-0-RC2:1.11 netbsd-2-0-RC1:1.11 netbsd-2-0:1.11.0.2 netbsd-2-0-base:1.11 netbsd-1-6-PATCH002-RELEASE:1.9 netbsd-1-6-PATCH002:1.9 netbsd-1-6-PATCH002-RC4:1.9 netbsd-1-6-PATCH002-RC3:1.9 netbsd-1-6-PATCH002-RC2:1.9 netbsd-1-6-PATCH002-RC1:1.9 netbsd-1-6-PATCH001:1.9 netbsd-1-6-PATCH001-RELEASE:1.9 netbsd-1-6-PATCH001-RC3:1.9 netbsd-1-6-PATCH001-RC2:1.9 netbsd-1-6-PATCH001-RC1:1.9 fvdl_fs64_base:1.10 netbsd-1-6-RELEASE:1.9 netbsd-1-6-RC3:1.9 netbsd-1-6-RC2:1.9 netbsd-1-6-RC1:1.9 netbsd-1-6:1.9.0.14 netbsd-1-6-base:1.9 netbsd-1-5-PATCH003:1.9 netbsd-1-5-PATCH002:1.9 netbsd-1-5-PATCH001:1.9 netbsd-1-5-RELEASE:1.9 netbsd-1-5-BETA2:1.9 netbsd-1-5-BETA:1.9 netbsd-1-4-PATCH003:1.9 netbsd-1-5-ALPHA2:1.9 netbsd-1-5:1.9.0.12 netbsd-1-5-base:1.9 minoura-xpg4dl:1.9.0.10 minoura-xpg4dl-base:1.9 netbsd-1-4-PATCH002:1.9 wrstuden-devbsize-19991221:1.9 wrstuden-devbsize:1.9.0.8 wrstuden-devbsize-base:1.9 comdex-fall-1999:1.9.0.6 comdex-fall-1999-base:1.9 netbsd-1-4-PATCH001:1.9 netbsd-1-4-RELEASE:1.9 netbsd-1-4:1.9.0.4 netbsd-1-4-base:1.9 netbsd-1-3-PATCH003:1.9 netbsd-1-3-PATCH003-CANDIDATE2:1.9 netbsd-1-3-PATCH003-CANDIDATE1:1.9 netbsd-1-3-PATCH003-CANDIDATE0:1.9 netbsd-1-3-PATCH002:1.9 netbsd-1-3-PATCH001:1.9 netbsd-1-3-RELEASE:1.9 netbsd-1-3-BETA:1.9 netbsd-1-3:1.9.0.2 netbsd-1-3-base:1.9 lite-2:1.1.1.1 netbsd-1-2-PATCH001:1.6 netbsd-1-2-RELEASE:1.6 netbsd-1-2-BETA:1.6 netbsd-1-2:1.6.0.6 netbsd-1-2-base:1.6 netbsd-1-1-PATCH001:1.6 netbsd-1-1-RELEASE:1.6 netbsd-1-1:1.6.0.2 netbsd-1-1-base:1.6 netbsd-1-0-PATCH06:1.4 netbsd-1-0-PATCH05:1.4 netbsd-1-0-PATCH04:1.4 netbsd-1-0-PATCH03:1.4 netbsd-1-0-PATCH02:1.4 netbsd-1-0-PATCH1:1.4 netbsd-1-0-PATCH0:1.4 netbsd-1-0-RELEASE:1.4 netbsd-1-0:1.4.0.2 netbsd-1-0-base:1.4 lite-1:1.1.1.1 CSRG:1.1.1 netbsd-0-9-RELEASE:1.1.2.2 netbsd-0-9-BETA:1.1.2.2 netbsd-0-9-ALPHA2:1.1.2.2 netbsd-0-9-ALPHA:1.1.2.2 netbsd-0-9:1.1.0.2 netbsd-0-9-base:1.1 netbsd-0-8:1.1 netbsd-alpha-1:1.1; locks; strict; comment @# @; 1.14 date 2020.07.26.08.20.22; author mlelstv; state Exp; branches; next 1.13; commitid J0uUiQRMa2kg5zhC; 1.13 date 2005.06.27.01.00.05; author christos; state Exp; branches; next 1.12; 1.12 date 2005.02.05.14.53.03; author xtraeme; state Exp; branches; next 1.11; 1.11 date 2003.03.22.12.43.58; author jdolecek; state Exp; branches; next 1.10; 1.10 date 2002.08.19.10.16.56; author lukem; state Exp; branches; next 1.9; 1.9 date 97.10.10.19.49.31; author christos; state Exp; branches; next 1.8; 1.8 date 97.05.08.21.11.16; author gwr; state Exp; branches; next 1.7; 1.7 date 97.05.06.20.45.09; author gwr; state Exp; branches; next 1.6; 1.6 date 95.03.18.14.57.17; author cgd; state Exp; branches; next 1.5; 1.5 date 94.12.22.10.46.02; author cgd; state Exp; branches; next 1.4; 1.4 date 94.06.08.19.11.36; author mycroft; state Exp; branches; next 1.3; 1.3 date 94.01.12.19.01.00; author cgd; state Exp; branches; next 1.2; 1.2 date 93.07.30.01.00.27; author mycroft; state Exp; branches; next 1.1; 1.1 date 93.03.28.03.19.38; author cgd; state Exp; branches 1.1.1.1 1.1.2.1; next ; 1.1.1.1 date 94.06.13.22.49.09; author mycroft; state Exp; branches; next ; 1.1.2.1 date 93.07.19.23.49.13; author cgd; state Exp; branches; next 1.1.2.2; 1.1.2.2 date 93.07.20.02.34.39; author cgd; state Exp; branches; next ; desc @@ 1.14 log @Refactor remaining mount_* commands to use the common pathadj() function for resolving paths. Make pathadj() no longer warn about symlinks. Symlinks in /dev are regularly used in several places like LVM . The warning was also only visible when calling a mount_* command directly as mount(8) itself would resolve the path witout warning before passing it to a mount_* command. @ text @# $NetBSD: Makefile,v 1.13 2005/06/27 01:00:05 christos Exp $ # @@(#)Makefile 8.2 (Berkeley) 3/27/94 .include PROG= mount_fdesc SRCS= mount_fdesc.c pathadj.c MAN= mount_fdesc.8 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${MOUNT} .PATH: ${MOUNT} DPADD+=${LIBUTIL} LDADD+=-lutil .include @ 1.13 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.12 2005/02/05 14:53:03 xtraeme Exp $ d7 1 a7 1 SRCS= mount_fdesc.c d10 4 @ 1.12 log @Kill __P(), use ANSI function declarations; WARNS=3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2003/03/22 12:43:58 jdolecek Exp $ a9 2 WARNS= 3 @ 1.11 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.10 2002/08/19 10:16:56 lukem Exp $ d10 2 @ 1.10 log @Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 1997/10/10 19:49:31 christos Exp $ d7 1 a7 1 SRCS= mount_fdesc.c getmntopts.c d10 2 a11 3 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+= -I${MOUNT} .PATH: ${MOUNT} @ 1.9 log @CFLAGS->CPPFLAGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 1997/05/08 21:11:16 gwr Exp $ d4 2 d10 1 a10 1 MOUNT= ${.CURDIR}/../mount @ 1.8 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.7 1997/05/06 20:45:09 gwr Exp $ d9 1 a9 1 CFLAGS+= -I${MOUNT} @ 1.7 log @Use .PATH.c: ... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 1995/03/18 14:57:17 cgd Exp $ d10 1 a10 1 .PATH.c: ${MOUNT} @ 1.6 log @convert to new RCS Id conventions; reduce my headache @ text @d1 1 a1 1 # $NetBSD$ d10 1 a10 1 .PATH: ${MOUNT} @ 1.5 log @specify man pages the new way. @ text @d1 2 a2 2 # from: @@(#)Makefile 8.2 (Berkeley) 3/27/94 # $Id: Makefile,v 1.4 1994/06/08 19:11:36 mycroft Exp $ @ 1.4 log @Update from 4.4-Lite, with local changes. @ text @d2 1 a2 1 # $Id: $ d6 1 a6 1 MAN8= mount_fdesc.0 @ 1.3 log @update from jsp @ text @d1 2 a2 2 # from: @@(#)Makefile 8.1 (Berkeley) 6/5/93 # $Id$ d5 1 d7 4 @ 1.2 log @Merge changes from netbsd-0-9 branch. @ text @d1 2 a2 3 # # $Id: Makefile,v 1.1.2.2 1993/07/20 02:34:39 cgd Exp $ # @ 1.1 log @merged version of mount_fdesc and mount_kernfs @ text @d1 6 a6 5 PROG= mount_miscfs NOMAN= mount_miscfs.0 LINKS= ${BINDIR}/mount_miscfs ${BINDIR}/mount_devfs \ ${BINDIR}/mount_miscfs ${BINDIR}/mount_fdesc \ ${BINDIR}/mount_miscfs ${BINDIR}/mount_kernfs @ 1.1.1.1 log @Import 4.4-Lite version. @ text @d1 5 a5 9 # @@(#)Makefile 8.2 (Berkeley) 3/27/94 PROG= mount_fdesc SRCS= mount_fdesc.c getmntopts.c MAN8= mount_fdesc.0 MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} .PATH: ${MOUNT} @ 1.1.2.1 log @add man pages for mount_fdesc and mount_kernfs. after things settle down, i've decided that these should be broken out into their component programs again; combining them was a mistake... @ text @d2 3 a4 3 MAN8= mount_kernfs.0 mount_fdesc.0 LINKS= ${BINDIR}/mount_miscfs ${BINDIR}/mount_fdesc \ @ 1.1.2.2 log @break mount_miscfs into mount_kernfs and mount_fdesc @ text @d1 2 a2 3 # # $Id$ # d4 2 a5 2 PROG= mount_fdesc MAN8= mount_fdesc.0 @