Searched refs:Nflag (Results 1 - 25 of 29) sorted by relevance

12

/openbsd-current/sbin/newfs_ext2fs/
H A Dextern.h40 extern int Nflag; /* run mkfs without writing file system */
H A Dnewfs_ext2fs.c92 int Nflag; /* run without writing file system */ variable
154 Nflag = 1;
230 fl = Nflag ? O_RDONLY : O_RDWR;
241 if (!Nflag && fssize > 0)
253 if (!Nflag) {
306 if (Fflag && !Nflag
310 if (Zflag && !Nflag) { /* pre-zero (and de-sparce) the file */
H A Dmke2fs.c543 if (!Nflag) {
579 if (Nflag && verbosity == 3)
601 if (Nflag)
621 if (Nflag) {
634 if (Nflag)
777 if (Nflag)
1383 if (Nflag)
/openbsd-current/gnu/lib/libreadline/examples/
H A Drlcat.c75 int opt, Vflag, Nflag; local
83 vflag = Vflag = Nflag = 0;
98 Nflag = 1;
109 if (isatty(0) == 0 || argc || Nflag)
/openbsd-current/usr.bin/diff/
H A Ddiff.h84 extern int Nflag, Pflag, rflag, sflag, Tflag;
H A Ddiffdir.c84 if (errno == ENOENT && (Nflag || Pflag)) {
96 if (errno == ENOENT && Nflag) {
132 if (Nflag) {
142 if (Nflag || Pflag) {
176 if (!(Nflag || Pflag) || errno != ENOENT) {
186 if (!Nflag || errno != ENOENT) {
H A Ddiff.c39 int Nflag, Pflag, rflag, sflag, Tflag; variable
154 Nflag = 1;
/openbsd-current/sbin/restore/
H A Dutilities.c122 if (!Nflag && rename(from, to) == -1) {
140 if (!Nflag && mkdir(cp, 0777) == -1) {
163 if (!Nflag && rmdir(cp) == -1) {
183 if (!Nflag && unlink(cp) == -1) {
198 if (!Nflag && symlink(existing, new) == -1) {
204 if (!Nflag && linkat(AT_FDCWD, existing, AT_FDCWD, new, 0)
H A Drestore.h48 extern int Nflag; /* do not write the disk */
H A Dmain.c53 int hflag = 1, mflag = 1, Nflag = 0; variable
131 Nflag = 1;
H A Dtape.c596 if (Nflag) {
616 if (Nflag) {
636 if (Nflag) {
755 if (Nflag)
/openbsd-current/sbin/growfs/
H A Dgrowfs.c168 growfs(int fsi, int fso, unsigned int Nflag) argument
192 updjcg(osblock.fs_ncg - 1, utime, fsi, fso, Nflag);
219 initcg(cg, utime, fso, Nflag);
242 updcsloc(utime, fsi, fso, Nflag);
250 (void *)(((char *)fscs) + i), fso, Nflag); local
272 wtfs(sblockloc, (size_t)SBLOCKSIZE, (void *)&sblock, fso, Nflag); local
310 (size_t)SBLOCKSIZE, (void *)&sblock, fso, Nflag); local
321 initcg(u_int cg, time_t utime, int fso, unsigned int Nflag) argument
500 iobuf, fso, Nflag); local
512 (size_t)sblock.fs_bsize, &iobuf[start], fso, Nflag); local
569 cond_bl_upd(daddr_t *block, struct gfs_bpp *field, int fsi, int fso, unsigned int Nflag) argument
601 wtfs(dst, (size_t)sblock.fs_bsize, ibuf, fso, Nflag); local
624 updjcg(u_int cg, time_t utime, int fsi, int fso, unsigned int Nflag) argument
652 (size_t)sblock.fs_cgsize, (void *)&acg, fso, Nflag); local
821 (void *)&acg, fso, Nflag); local
841 updcsloc(time_t utime, int fsi, int fso, unsigned int Nflag) argument
1009 (size_t)sblock.fs_cgsize, (void *)&acg, fso, Nflag); local
1097 (size_t)sblock.fs_cgsize, (void *)&acg, fso, Nflag); local
1326 (size_t)sblock.fs_bsize, (void *)&ablk, fso, Nflag); local
1370 (void *)&acg, fso, Nflag); local
1397 wtfs(daddr_t bno, size_t size, void *bf, int fso, unsigned int Nflag) argument
1703 unsigned int Nflag = 0; local
1879 lastsector, fso, Nflag); local
1957 return_disklabel(int fd, struct disklabel *lp, unsigned int Nflag) argument
2056 updrefs(int cg, ino_t in, struct gfs_bpp *bp, int fsi, int fso, unsigned int Nflag) argument
2119 indirchk(daddr_t blksperindir, daddr_t lbn, daddr_t blkno, daddr_t lastlbn, struct gfs_bpp *bp, int fsi, int fso, unsigned int Nflag) argument
[all...]
/openbsd-current/sbin/tunefs/
H A Dtunefs.c81 int i, ch, Aflag, Fflag, Nflag, openflags; local
87 Aflag = Fflag = Nflag = 0;
105 Nflag = 1;
151 openflags = Nflag ? O_RDONLY : O_RDWR;
212 if (Nflag) {
/openbsd-current/usr.bin/tmux/
H A Dcmd-display-message.c71 int delay = -1, flags, Nflag = args_has(args, 'N'); local
153 status_message_set(tc, delay, 0, Nflag, "%s", msg);
/openbsd-current/usr.bin/cvs/
H A Ddiff.c36 static int Nflag = 0; variable
148 Nflag = 1;
253 if (Nflag == 1)
333 if (Nflag == 0) {
345 if (Nflag == 0) {
394 } else if (Nflag) {
431 } else if (Nflag) {
/openbsd-current/sbin/newfs/
H A Dnewfs.c123 int Nflag; /* run without writing file system */ variable
198 mfs = Nflag = quiet = Oflag = 1;
211 Nflag = 1;
379 if (Nflag) {
514 if (!Nflag && memcmp(pp, &oldpartition, sizeof(oldpartition)))
516 if (!Nflag)
H A Dmkfs.c91 extern int Nflag; /* run mkfs without writing file system */
580 if (Nflag && !mfs)
1040 if (Nflag)
/openbsd-current/usr.bin/rcs/
H A Drlog.c53 static int dflag, hflag, Lflag, lflag, rflag, tflag, Nflag, wflag; variable
105 Nflag = 1;
400 if (Nflag == 0) {
/openbsd-current/bin/pax/
H A Dpax.c79 int Nflag; /* only use numeric uid and gid */ variable
H A Dextern.h205 extern int Nflag;
H A Dtar.c821 if (Nflag || gid_from_group(hd->gname, &(arcn->sb.st_gid)) == -1)
824 if (Nflag || uid_from_user(hd->uname, &(arcn->sb.st_uid)) == -1)
1328 if (!Nflag) {
/openbsd-current/usr.sbin/tcpdump/
H A Dtcpdump.c72 int Nflag; /* remove domains from printed host names */ variable
310 Nflag = 1;
H A Dinterface.h44 extern int Nflag; /* remove domains from printed host names */
H A Daddrtoname.c217 if (Nflag) {
275 if (Nflag) {
/openbsd-current/usr.bin/nc/
H A Dnetcat.c82 int Nflag; /* shutdown() network socket */ variable
244 Nflag = 1;
1180 if (pfd[POLL_NETOUT].fd != -1 && Nflag)
1283 if (pfd[POLL_NETOUT].fd != -1 && Nflag)

Completed in 496 milliseconds

12