LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-21-2010, 01:11 PM   #1
Entwicklung
Member
 
Registered: Jun 2005
Location: North Carolina
Distribution: Fedora 19
Posts: 51

Rep: Reputation: 15
E667 Fsync failed


Trying to append /proc/cmdline

Using vim, I add what I need to the end of the line. Since it's read only, I exit with :wq! which gives me:

"/proc/cmdline" E667 Fsync failed
WARNING: Original file may be lost or damaged don't quit the editor until the file is successfully written!
Press ENTER or type command to continue

If I press enter, I see the line appended and the process starts all over with same results. If I just try to quit, with :!q I am able to, but the file reverts back to what it was.

Has anyone encountered this problem before? Or can write-only files simply not be changed? BTW, I am root when doing all this.
 
Old 06-21-2010, 01:20 PM   #2
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
If I am mistaken, please correct me, but aren't files in /proc dynamic (i.e. created and used by the OS and therefore not manually editable)? I'm not sure what you're trying to accomplish by editing /proc/cmdline. Perhaps if you shared your goal with us, we could find an alternate solution?
 
Old 06-21-2010, 02:02 PM   #3
Entwicklung
Member
 
Registered: Jun 2005
Location: North Carolina
Distribution: Fedora 19
Posts: 51

Original Poster
Rep: Reputation: 15
That is it. You are exactly right. It will be appended when I boot and edit the command line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: ext4 vs fsync, my take LXer Syndicated Linux News 0 03-17-2009 01:50 AM
fflush and fsync? power123 Programming 6 11-02-2005 11:04 PM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover Suse/Novell 8 02-22-2005 07:57 AM
fsync() is slow on some systems brian_p_sully Linux - General 0 05-06-2004 09:58 AM
unpacking of archive failed: cpio: read failed-input/output error rafc Linux - Newbie 0 04-21-2004 09:03 AM


All times are GMT -5. The time now is 12:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration