Commit Graph

6 Commits

Author SHA1 Message Date
Poul-Henning Kamp
99d432b90c Dike out another kvm indiscretion. 2005-03-16 10:24:16 +00:00
David Malone
1e925017b3 1) ANSIfy.
2) Use %p to print a pointer.
3) Use longs for fileids and ino to avoid comparing signed and unsigned.
4) Make the KVM_READ macro a little more cranky.
5) Set WARNS while I'm here.
2004-06-29 21:28:09 +00:00
John-Mark Gurney
ab1897e943 fix this code properly. msdosfs can't have device nodes on them.
comment how to read device nodes from ufs (if an adventurous soul wants
to fix it!).

Reviewed by:	bde
2003-06-24 08:18:18 +00:00
David E. O'Brien
e026a48c34 Consistently use FBSDID 2002-06-30 05:25:07 +00:00
David Malone
b628b0dce5 Anding the fsid with 0xffff was causing aliasing problems.
PR:		17405, 16320
Submitted by:	Mark W. Krentel <krentel@dreamscape.com>
Submitted by:	Peter Edwards <peter.edwards@ireland.com>
MFC after:	2 weeks
2001-11-05 20:40:24 +00:00
Brian Feldman
06e88916ef Support more filesystems in fstat(1): now you can use fstat(1) to
find out if files on msdosfs and cd9660 filestores are open.
There was also a movement of some common things to a header, a
small cleanup.

PR:	bin/16364 bin/7043
Submitted by:	Peter Edwards <peter.edwards@openet-telecom.com>
2000-03-16 02:02:34 +00:00