LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 10-20-2009, 12:34 AM   #1
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Rep: Reputation: 16
FSCK auto disk check on boot and read-only FS


Hi

I have a read-only system set up.. atleast i *thought* it was read-only. But suddenly one day on boot I got that line "Disk has been mounted 30 times without being checked, disk check forced". My question, is how could the system have saved/updated the counter on disk that records how many times a disk has been mounted, if my system is supposed to be readonly? :/

Any help appreciated,
thanks.
 
Old 10-20-2009, 05:41 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello coffeecoffee,

the fsck information, how often the disk is checked, is written to the disk in the moment when the filesystem is created. So it may be there long before you can tell the disk that it is read-only. One can say that the data which are stored on the disk are read-only, but the filesystem itself has nothing to do with the permissions of the stored data.

Markus
 
Old 10-29-2009, 05:05 PM   #3
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by markush View Post
Hello coffeecoffee,

the fsck information, how often the disk is checked, is written to the disk in the moment when the filesystem is created. So it may be there long before you can tell the disk that it is read-only. One can say that the data which are stored on the disk are read-only, but the filesystem itself has nothing to do with the permissions of the stored data.

Markus
Hi Markus,

Thanks for the reply. How then do I get the kernel to boot without modifying the disk? I am using storage that has a write-limit.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fsck checks SATA disk on every boot. aaargh486 Ubuntu 5 07-18-2007 02:04 PM
Boot problem : auto detect devices (check BIOS?) broknindarkagain Linux - Newbie 3 07-03-2006 11:47 PM
fsck times out while trying to check parallel port disk timgiffney Linux - Software 1 10-24-2004 06:33 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
How to disable auto fsck during boot for specific volumes mansonmuni Linux - General 5 12-21-2003 09:54 PM


All times are GMT -5. The time now is 01:22 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