FreeBSD Bugzilla – Attachment 7551 Details for
Bug 16320
fstat -f confuses some partitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 929 bytes, created by
krentel
on 2000-01-24 01:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
krentel
Created:
2000-01-24 01:40:00 UTC
Size:
929 bytes
patch
obsolete
>--- fstat.c.orig Sun Aug 29 11:28:06 1999 >+++ fstat.c Sat Jan 22 16:10:12 2000 >@@ -441,7 +441,7 @@ > return; > } > if (nflg) >- (void)printf(" %2d,%-2d", major(fst.fsid), minor(fst.fsid)); >+ (void)printf(" %2d,%-2d", major(fst.fsid), minor(fst.fsid & 0xffff)); > else > (void)printf(" %-8s", getmnton(vn.v_mount)); > if (nflg) >@@ -487,7 +487,7 @@ > (void *)VTOI(vp), Pid); > return 0; > } >- fsp->fsid = inode.i_dev & 0xffff; >+ fsp->fsid = inode.i_dev; > fsp->fileid = (long)inode.i_number; > fsp->mode = (mode_t)inode.i_mode; > fsp->size = (u_long)inode.i_size; >@@ -765,7 +765,7 @@ > devs = cur; > > cur->ino = statbuf.st_ino; >- cur->fsid = statbuf.st_dev & 0xffff; >+ cur->fsid = statbuf.st_dev; > cur->name = filename; > return(1); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16320
: 7551