LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2016, 01:37 PM   #1
Devyn
Member
 
Registered: Oct 2004
Posts: 98

Rep: Reputation: 15
make menuconfig: saves a larger file then original after save done when no changes made.


I'm wondering why the .config file size is different when I save after using .config? I made no changes to the .config file. I would then expect it to be saved with same size. The options selected in the generated config file is not what I picked. Doesn't seem menuconfig uses the .config file I copied, but a copy from elsewhere:

Quote:
2332 -rw-r--r--. 1 root root 107139 Mar 22 18:45 .config.old
2442 -rw-r--r--. 1 root root 139490 Apr 10 14:32 .config
Anyway to change this and ensure menuconfig uses the .config I copied in?

Cheers,
DH
 
Old 04-10-2016, 03:21 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
If the old menuconfig file yoh copied is from a different kernel version the new menuconfig will have slightlt differernt options, and hence a slightly different size.
 
Old 04-10-2016, 06:20 PM   #3
Devyn
Member
 
Registered: Oct 2004
Posts: 98

Original Poster
Rep: Reputation: 15
It's the same version. I'm recompiling a custom one off the same Kernel version base.

Cheers,
DH
 
Old 04-11-2016, 04:27 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
try using diff on the two versions to see where the changes are
 
Old 04-11-2016, 06:58 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,657
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
It is always a good idea to make backup copies of the hidden .config file, "dated and stored, say, in /root/linux_configs," so that you can always and immediately see what the changes are, and to revert to previous known-good copies.
 
Old 04-11-2016, 06:39 PM   #6
Devyn
Member
 
Registered: Oct 2004
Posts: 98

Original Poster
Rep: Reputation: 15
I did run a diff, even though I copy the .config to the folder I'm running make menuconfig from, then despite making NO changes to the configuration, on save the resultant file is 300KB bigger then the original file. diff is pages and pages long but I made no changes in menuconfig, I just saved it as a test to show changes roll in that have not been made.

So where is it getting the config file from?

Cheers,
DH
 
Old 04-15-2016, 03:40 PM   #7
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Not seeing what the diff shows, I would guess at extra comments...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to automatically use alternative config file for make menuconfig? AustinMarton Linux - Kernel 5 08-15-2013 03:10 PM
[SOLVED] My make menuconfig need libncurses5-dev file install Angela Wu Linux - Kernel 3 06-05-2013 12:23 AM
Using DD: Image file becomes larger than original SFS drive from SC101 rodyz Linux - Software 2 08-13-2009 03:41 PM
Running make menuconfig results in text file is busy. jerel4565 Linux - Kernel 2 07-18-2009 10:40 PM
/var file space too low need to make it larger hoodman10 Linux - Newbie 1 11-25-2002 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration