head 1.1; access; symbols netbsd-11-0-RC6:1.1 netbsd-11-0-RC5:1.1 netbsd-11-0-RC4:1.1 netbsd-11-0-RC3:1.1 netbsd-11-0-RC2:1.1 netbsd-11-0-RC1:1.1 perseant-exfatfs-base-20250801:1.1 netbsd-11:1.1.0.6 netbsd-11-base:1.1 netbsd-10-1-RELEASE:1.1 perseant-exfatfs-base-20240630:1.1 perseant-exfatfs:1.1.0.4 perseant-exfatfs-base:1.1 netbsd-10-0-RELEASE:1.1 netbsd-10-0-RC6:1.1 netbsd-10-0-RC5:1.1 netbsd-10-0-RC4:1.1 netbsd-10-0-RC3:1.1 netbsd-10-0-RC2:1.1 netbsd-10-0-RC1:1.1 netbsd-10:1.1.0.2 netbsd-10-base:1.1; locks; strict; comment @# @; 1.1 date 2022.02.07.09.33.26; author mrg; state Exp; branches; next ; commitid clfEmUjrmKROtFrD; desc @@ 1.1 log @convert my fdiscard-stuff.c into blkdiscard.c and give it a UI that matches the linux-util version. comes in two forms: blkdiscard equivalent, and the (almost) original interface i used (the "-s" option is conflicting and i've switched to only the not yet implemented secure erase option.) the only real difference is that "fdiscard" mode requires the -R flag to do something, vs blkdiscard needs the -n flag to not do anything. not yet hooked into the build or sets. would like more testing on it to be performed before doing that (but soon.) @ text @# $NetBSD: Makefile,v 1.5 2006/08/27 21:07:39 martin Exp $ PROG= blkdiscard MAN= blkdiscard.8 LINKS= ${BINDIR}/blkdiscard ${BINDIR}/fdiscard MLINKS= blkdiscard.8 fdiscard.8 .include @