Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6361929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:50:28+00:00 2026-05-24T23:50:28+00:00

I have a read only partition who’s data is changing. The change occurs on

  • 0

I have a read only partition who’s data is changing.
The change occurs on the first mount only. Subsequent mounts do not change the partition data.

Tried with ext3 and ext2 incase journalling was an issue … no help.
Tried tune2fs with -c -1 -i 0 in order to disable updating timestamps or any other data that maybe touched by a check being executed … no help

Normally I wouldn’t care, but I need to hashsum this partition for data integrity purposes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:50:29+00:00Added an answer on May 24, 2026 at 11:50 pm

    Linux can do a write on read-only fs in some rare cases. E.g. when it detects a fs in inconsistent state (after cold reboot) and is able to do a quick, safe-for-data fix.

    I had a kind of such fix when working with Ubuntu Rescue Remix and the write was on second harddrive, before even mounting anything on it (while booting). Information about this was in dmesg, so check the dmesg too.

    E.g. here is an orphan cleanup possible on readonly fs, it will temporary DISABLE READONLY flag

    1485        if (s_flags & MS_RDONLY) {
    1486                ext3_msg(sb, KERN_INFO, "orphan cleanup on readonly fs");
    1487                sb->s_flags &= ~MS_RDONLY;
    1488        }
    ... writes...
    1549        sb->s_flags = s_flags; /* Restore MS_RDONLY status */
    

    This is done in *ext3_mount-> mount_bdev -> (callback) ext3_fill_super -> ext3_orphan_cleanup

    If the block device is not read-protected itself, linux (ASKING YEAH!)

    1463        if (bdev_read_only(sb->s_bdev)) {
    1464                ext3_msg(sb, KERN_ERR, "error: write access "
    1465                        "unavailable, skipping orphan cleanup.");
    1466                return;
    1467        }
    

    WILL COMMIT A WRITE ON READONLY FS

    Update: here is a list
    http://www.forensicswiki.org/wiki/Forensic_Linux_Live_CD_issues

    Ext3 File system requires journal recovery To disable recovery: use "noload" flag, or use "ro,loop" flags, or use "ext2" file system type

    Ext4 File system requires journal recovery To disable recovery: use "noload" flag, or use "ro,loop" flags, or use "ext2" file system type

    ReiserFS File system has unfinished transactions "nolog" flag does not work (see man mount). To disable journal updates: use "ro,loop" flags

    XFS Always (when unmounting) "norecovery" flag does not help (fixed in recent 2.6 kernels). To disable data writes: use "ro,loop" flags

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My iPhone app will have read-only system data AND read/write user data (stored either
My essential problem is that I have read only access to a large data
Many library classes in AS3 have read only properties. Is it possible to create
I have a read only combo-box with 5 values in, when the user selects
Now that I have a read-only application working, I am working on the insert
I have a class that defines a read-only property that effectively exposes a private
I have a web page with a read-only text box which shows some HTML
Possible Duplicate: Can Read-Only Properties be Implemented in Pure JavaScript? I have an Object
How do I make a textbox read only in mvc? I have included the
I have a set of files. The set of files is read-only off a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.