Commit Graph

68 Commits

Author SHA1 Message Date
christos
17e1e1af49 c99 initializer 2006-10-16 03:10:59 +00:00
christos
52bdc9cda3 need getdiskinfo. 2006-08-27 01:37:28 +00:00
mrg
9bf1d4a9b8 work around some GCC4 internal problems on m68000 platform.
document the hack, and update another GCC4 list.
2006-06-24 05:21:11 +00:00
christos
e70330c76d Coverity CID 3656,3655: Plug memory leak. 2006-05-19 14:50:32 +00:00
mrg
aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
skrll
7ba7efe154 Don't use cast expressions as lvalues as newer versions of gcc warn. 2006-04-21 15:00:49 +00:00
christos
c4ee9f6d2e 64 bit inode changes 2005-08-19 02:07:18 +00:00
lukem
700088dc7f appease gcc -Wuninitialized 2005-06-02 00:38:41 +00:00
wiz
85e66d6bf6 Macro improvement. 2005-05-25 10:01:34 +00:00
snj
1a2d0da769 Grammar fix, from Jeff Ito in PR bin/30320. While here, fix a typo
and use .Dq for quotes.
2005-05-25 00:02:49 +00:00
xtraeme
e4e811215a Kill __P(); 2005-02-05 14:26:05 +00:00
xtraeme
76500fc2f9 WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz) 2005-01-20 16:39:22 +00:00
xtraeme
d4a0de51f8 Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 20:19:04 +00:00
yamt
22ce35857e fix blks command.
- use 64-bit variables for lbns.
- correct file block offsets in the case of absent indirect blocks.
2004-09-17 12:18:55 +00:00
wiz
71839f7f61 Standardize flags display in usage. 2004-01-04 00:13:00 +00:00
wiz
d78a474461 Bump date for new -F. Standardise flags display in SYNOPSIS. 2004-01-04 00:12:04 +00:00
dbj
efbd5db673 add -F option, similar to fsck/newfs/dumpfs
correctly handle negative results from fsck's setup routine
handle uid and gid in FS_42INODEFMT inodes
2004-01-03 19:57:42 +00:00
itojun
0e4dc5229d use bounded string op 2003-07-13 08:16:15 +00:00
wiz
6dd6d12d66 Add Ns. 2003-06-27 23:06:50 +00:00
jmc
c9bb642d58 Fix typo 2003-05-09 23:05:53 +00:00
bouyer
e43e53604e Add a findblk command, which list the inode(s) owning the disk sector(s)
passed as argument.
2003-04-26 08:42:49 +00:00
fvdl
bbc00e975a Fix reverse test for UFS2 in the blks command. 2003-04-08 14:46:21 +00:00
fvdl
42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
wiz
2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
dbj
43395bd5a8 Add support for the Apple UFS variation on ffs
This is the bulk of PR #17345

The general approach is to use a run time deteriminable value
for DIRBLKSIZ.  Additional allowances are included for using
MAXSYMLINKLEN with FS_42INODEFMT and a shift in the cylinder group
cluster summary count array.  Support is added for managing
the Apple UFS volume label.
2002-09-28 20:11:05 +00:00
lukem
7360d7b6ae Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 10:16:51 +00:00
grant
6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
thorpej
26ba84d1e5 Cast 3rd arg to el_parse() to deal with const'ification of
libedit.
2002-03-18 20:04:49 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
80d1ff493a Sort sections. 2001-11-16 11:21:37 +00:00
wiz
4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
wiz
73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd
8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
christos
566662ba06 remove redundant declarations 2001-02-04 21:25:54 +00:00
lukem
f7650338ca use %ll_ instead of the less standard %q_ 2001-01-05 02:02:57 +00:00
is
9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
bouyer
4656cdfb18 Add a [-n] option, which allows to examine a fs without altering it.
Add a 'blks' command, which lists the blocks address of a file.
1999-03-09 16:11:47 +00:00
bouyer
3e3f9c7795 #include machine/bswap.h and remove -lutil. 1999-01-15 13:32:05 +00:00
msaitoh
f8c66df30b sort entries and delete extra periods in SEE also section. 1998-05-22 18:27:50 +00:00
enami
96b575ec0b s/H_SETMAXSIZE/H_SETSIZE/ 1998-05-20 10:01:11 +00:00
christos
1b8cd7e6c1 Adapt to the libedit changes. 1998-05-20 00:58:05 +00:00
kleink
22821b35cd Need <time.h> for ctime() prototype. 1998-04-01 16:08:26 +00:00
kleink
a82d8663e7 Need <time.h> for mktime() prototype. 1998-04-01 16:04:21 +00:00
bouyer
6fe0568e9e Add support for non-native byteorder FFS. 1998-03-18 17:03:15 +00:00
christos
946049095f PR/4257: Jaromir Dolecek: Update for libedit interface change. 1997-10-14 15:06:42 +00:00
veego
f157921771 We don't need the -I. . Pointed out by enami tsugutomo. 1997-10-13 13:35:30 +00:00
veego
2e54e13c3c Add the missing . for -I 1997-10-11 15:47:55 +00:00
christos
e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
mrg
52ff5d8fee make these compile on the alpha after WARNS=1. 1997-09-16 08:37:01 +00:00