FreeBSD Bugzilla – Attachment 32225 Details for
Bug 53341
sysinstall(8): [patch] dump frequency in sysinstall is always the fsck sequence number
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.17 KB, created by
ue
on 2003-06-15 10:30:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
ue
Created:
2003-06-15 10:30:11 UTC
Size:
1.17 KB
patch
obsolete
>Index: config.c >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/sysinstall/config.c,v >retrieving revision 1.210 >diff -u -r1.210 config.c >--- config.c 31 May 2003 11:28:28 -0000 1.210 >+++ config.c 15 Jun 2003 08:56:52 -0000 >@@ -172,6 +172,21 @@ > return 0; > } > >+static int >+dump_freq(Chunk *c1) >+{ >+ if (c1->type == part && c1->subtype != FS_SWAP) { >+ if (rootdev_is_od == 0 && strncmp(c1->name, "od", 2) == 0) >+ return 0; >+ else if (strncmp(mount_point(c1), "/home", 5) == 0) >+ return 7; >+ else >+ return 28; >+ } >+ return 0; >+} >+ >+ > int > configFstab(dialogMenuItem *self) > { >@@ -233,7 +248,7 @@ > fprintf(fstab, "# Device\t\tMountpoint\tFStype\tOptions\t\tDump\tPass#\n"); > for (i = 0; i < nchunks; i++) > fprintf(fstab, "/dev/%s\t\t%s\t\t%s\t%s\t\t%d\t%d\n", name_of(chunk_list[i]), mount_point(chunk_list[i]), >- fstype(chunk_list[i]), fstype_short(chunk_list[i]), seq_num(chunk_list[i]), seq_num(chunk_list[i])); >+ fstype(chunk_list[i]), fstype_short(chunk_list[i]), dump_freq(chunk_list[i]), seq_num(chunk_list[i])); > > /* Now look for the CDROMs */ > devs = deviceFind(NULL, DEVICE_TYPE_CDROM);
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 53341
: 32225