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.10 netbsd-11-base:1.9 netbsd-10-1-RELEASE:1.9 perseant-exfatfs-base-20240630:1.9 perseant-exfatfs:1.9.0.8 perseant-exfatfs-base:1.9 netbsd-8-3-RELEASE:1.8 netbsd-9-4-RELEASE:1.8 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.6 netbsd-10-base:1.9 netbsd-9-3-RELEASE:1.8 cjep_sun2x-base1:1.9 cjep_sun2x:1.9.0.4 cjep_sun2x-base:1.9 cjep_staticlib_x-base1:1.9 netbsd-9-2-RELEASE:1.8 cjep_staticlib_x:1.9.0.2 cjep_staticlib_x-base:1.9 netbsd-9-1-RELEASE:1.8 phil-wifi-20200421:1.8 phil-wifi-20200411:1.8 is-mlppp:1.8.0.90 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.88 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.86 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.84 pgoyette-compat-base:1.8 netbsd-7-1-1-RELEASE:1.8 matt-nb8-mediatek:1.8.0.82 matt-nb8-mediatek-base:1.8 perseant-stdc-iso10646:1.8.0.80 perseant-stdc-iso10646-base:1.8 netbsd-8:1.8.0.78 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.76 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.74 netbsd-7-1-RELEASE:1.8 netbsd-7-1-RC2:1.8 netbsd-7-nhusb-base-20170116:1.8 bouyer-socketcan:1.8.0.72 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.70 netbsd-7-nhusb-base:1.8 pgoyette-localcount-20160806:1.8 pgoyette-localcount-20160726:1.8 pgoyette-localcount:1.8.0.68 pgoyette-localcount-base:1.8 netbsd-7-0-1-RELEASE:1.8 netbsd-7-0:1.8.0.66 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.64 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.62 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.56 riastradh-drm2-base:1.8 netbsd-6-1:1.8.0.60 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.58 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.54 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.52 netbsd-6-0-RELEASE:1.8 netbsd-6-0-RC2:1.8 tls-maxphys:1.8.0.50 tls-maxphys-base:1.8 matt-nb6-plus:1.8.0.48 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.46 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.44 yamt-pagecache-base:1.8 cherry-xenmp:1.8.0.42 cherry-xenmp-base:1.8 bouyer-quota2-nbase:1.8 bouyer-quota2:1.8.0.40 bouyer-quota2-base:1.8 matt-mips64-premerge-20101231:1.8 matt-nb5-mips64-premerge-20101231:1.8 matt-nb5-pq3:1.8.0.38 matt-nb5-pq3-base:1.8 netbsd-5-1:1.8.0.36 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.34 netbsd-5-0-1-RELEASE:1.8 jym-xensuspend-nbase:1.8 netbsd-5-0:1.8.0.32 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.30 jym-xensuspend-base:1.8 netbsd-5-0-RC1:1.8 netbsd-5:1.8.0.28 netbsd-5-base:1.8 matt-mips64-base2:1.8 matt-mips64:1.8.0.26 netbsd-4-0-1-RELEASE:1.8 wrstuden-revivesa-base-3:1.8 wrstuden-revivesa-base-2:1.8 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.24 wrstuden-revivesa-base:1.8 yamt-pf42:1.8.0.22 yamt-pf42-base:1.8 mjf-devfs2:1.8.0.20 mjf-devfs2-base:1.8 keiichi-mipv6:1.8.0.18 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.16 netbsd-4-0-RELEASE:1.8 cube-autoconf:1.8.0.14 cube-autoconf-base:1.8 mjf-devfs:1.8.0.12 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.10 matt-armv6-base:1.8 matt-mips64-base:1.8 hpcarm-cleanup:1.8.0.8 hpcarm-cleanup-base:1.8 netbsd-3-1-1-RELEASE:1.7 netbsd-3-0-3-RELEASE:1.7 wrstuden-fixsa:1.8.0.6 wrstuden-fixsa-base:1.8 abandoned-netbsd-4-base:1.8 abandoned-netbsd-4:1.8.0.2 netbsd-3-1:1.7.0.6 netbsd-3-1-RELEASE:1.7 netbsd-3-0-2-RELEASE:1.7 netbsd-3-1-RC4:1.7 netbsd-3-1-RC3:1.7 netbsd-3-1-RC2:1.7 netbsd-3-1-RC1:1.7 netbsd-4:1.8.0.4 netbsd-4-base:1.8 netbsd-3-0-1-RELEASE:1.7 netbsd-3-0:1.7.0.4 netbsd-3-0-RELEASE:1.7 netbsd-3-0-RC6:1.7 netbsd-3-0-RC5:1.7 netbsd-3-0-RC4:1.7 netbsd-3-0-RC3:1.7 netbsd-3-0-RC2:1.7 netbsd-3-0-RC1:1.7 netbsd-2-0-3-RELEASE:1.6 netbsd-2-1:1.6.0.6 netbsd-2-1-RELEASE:1.6 netbsd-2-1-RC6:1.6 netbsd-2-1-RC5:1.6 netbsd-2-1-RC4:1.6 netbsd-2-1-RC3:1.6 netbsd-2-1-RC2:1.6 netbsd-2-1-RC1:1.6 netbsd-2-0-2-RELEASE:1.6 netbsd-3:1.7.0.2 netbsd-3-base:1.7 netbsd-2-0-1-RELEASE:1.6 netbsd-2:1.6.0.4 netbsd-2-base:1.6 netbsd-2-0-RELEASE:1.6 netbsd-2-0-RC5:1.6 netbsd-2-0-RC4:1.6 netbsd-2-0-RC3:1.6 netbsd-2-0-RC2:1.6 netbsd-2-0-RC1:1.6 netbsd-2-0:1.6.0.2 netbsd-2-0-base:1.6 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.5 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.2 netbsd-1-6-base:1.3 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH002:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-5-BETA2:1.2 netbsd-1-5-BETA:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-5-ALPHA2:1.2 netbsd-1-5:1.2.0.10 netbsd-1-5-base:1.2 minoura-xpg4dl:1.2.0.8 minoura-xpg4dl-base:1.2 netbsd-1-4-PATCH002:1.2 wrstuden-devbsize-19991221:1.2 wrstuden-devbsize:1.2.0.6 wrstuden-devbsize-base:1.2 comdex-fall-1999:1.2.0.4 comdex-fall-1999-base:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-4:1.2.0.2 netbsd-1-4-base:1.2; locks; strict; comment @# @; 1.9 date 2020.07.26.08.20.22; author mlelstv; state Exp; branches; next 1.8; commitid J0uUiQRMa2kg5zhC; 1.8 date 2005.06.27.01.00.05; author christos; state Exp; branches; next 1.7; 1.7 date 2005.02.05.14.55.44; author xtraeme; state Exp; branches; next 1.6; 1.6 date 2003.03.22.12.43.59; author jdolecek; state Exp; branches; next 1.5; 1.5 date 2002.09.21.18.43.34; author christos; state Exp; branches; next 1.4; 1.4 date 2002.08.19.10.16.57; author lukem; state Exp; branches; next 1.3; 1.3 date 2000.10.30.20.56.59; author jdolecek; state Exp; branches; next 1.2; 1.2 date 98.08.14.14.36.52; author mark; state Exp; branches; next 1.1; 1.1 date 98.08.14.03.38.51; author mark; state Exp; branches; next ; desc @@ 1.9 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.8 2005/06/27 01:00:05 christos Exp $ # # Makefile 1.0 1998/6/26 .include PROG= mount_filecore SRCS= mount_filecore.c fattr.c pathadj.c MAN= mount_filecore.8 MOUNT= ${NETBSDSRCDIR}/sbin/mount CPPFLAGS+= -I${MOUNT} .PATH: ${MOUNT} DPADD+=${LIBUTIL} LDADD+=-lutil .include @ 1.8 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.7 2005/02/05 14:55:44 xtraeme Exp $ d8 1 a8 1 SRCS= mount_filecore.c fattr.c @ 1.7 log @Kill __P(), use ANSI function declarations; WARNS=3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2003/03/22 12:43:59 jdolecek Exp $ a10 2 WARNS= 3 @ 1.6 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.5 2002/09/21 18:43:34 christos Exp $ d11 2 @ 1.5 log @MNT_GETARGS support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2002/08/19 10:16:57 lukem Exp $ d8 1 a8 1 SRCS= mount_filecore.c getmntopts.c fattr.c @ 1.4 log @Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2000/10/30 20:56:59 jdolecek Exp $ d14 3 @ 1.3 log @make the code includable into other programs: * make static all symbols which do not need to be exported * rename main() to mount_FOO() * new main() now just calls mount_FOO(), main() is only compiled in if MOUNT_NOMAIN is not defined * a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local versions removed @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 1998/08/14 14:36:52 mark Exp $ d5 2 d11 1 a11 1 MOUNT= ${.CURDIR}/../mount @ 1.2 log @Add man page for mount_filecore. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 1998/08/14 03:38:51 mark Exp $ d6 1 a6 1 SRCS= mount_filecore.c getmntopts.c d11 1 a11 1 .PATH: ${MOUNT} @ 1.1 log @Initial commit of mount_filecore used for mounting filecorefs partitions. @ text @d1 1 a1 1 # $NetBSD$ d7 1 a7 2 #MAN= mount_filecore.8 NOMAN= @