FreeBSD Bugzilla – Attachment 109807 Details for
Bug 150858
[geom] [geom_label] [patch] glabel(8) is not compatible with newfs -r flag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 674 bytes, created by
Konstantin Kukushkin
on 2010-09-22 13:00:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Konstantin Kukushkin
Created:
2010-09-22 13:00:12 UTC
Size:
674 bytes
patch
obsolete
>--- /sys/geom/label/g_label_ufs.c.orig 2010-07-11 23:06:52.000000000 +0400 >+++ /sys/geom/label/g_label_ufs.c 2010-09-22 12:21:23.000000000 +0400 >@@ -83,10 +83,10 @@ > continue; > /* Check for magic and make sure things are the right size */ > if (fs->fs_magic == FS_UFS1_MAGIC && fs->fs_fsize > 0 && >- pp->mediasize / fs->fs_fsize == fs->fs_old_size) { >+ pp->mediasize / fs->fs_fsize >= fs->fs_old_size) { > /* Valid UFS1. */ > } else if (fs->fs_magic == FS_UFS2_MAGIC && fs->fs_fsize > 0 && >- pp->mediasize / fs->fs_fsize == fs->fs_size) { >+ pp->mediasize / fs->fs_fsize >= fs->fs_size) { > /* Valid UFS2. */ > } else { > g_free(fs);
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 150858
: 109807