Results 1 to 6 of 6

Thread: new software to make a read-only filesystem writeable

  1. #1
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    10

    new software to make a read-only filesystem writeable

    Could this be a useful tool for knoppix?

    http://www.linuxdevices.com/news/NS5014525246.html

    A Denx developer has released under the GPL a filesystem for embedded Linux systems that facilitates software updates of read-only filesystems. The "mini_fo" or mini fan-out filesystem works similarly to FreeBSD's union filesystem, according to developer Markus Klotzbücher, and serves "to virtually make a read-only filesystem writeable."
    According to Klotzbücher, "The "mini_fo" filesystem was developed by extending a fistgen generated stackable filesystem to stack on top of two lower layers."
    Klotzbücher developed mini_fo as a final thesis for his computer science degree, but, he says, "The code is stable and already actively used in a telecommunications project within Siemens."
    Klotzbücher adds, "Not all features are implemented yet, but I plan to continue development. Any help is welcome!"
    The mini_fo sourcecode is available in beta from Denx, along with Klotzbücher's 70-page thesis paper (PDF download).
    ------------------------------------------------------------------------

  2. #2
    Member registered user
    Join Date
    May 2003
    Posts
    35

    Re: new software to make a read-only filesystem writeable

    Quote Originally Posted by od
    A Denx developer has released under the GPL a filesystem for embedded Linux systems that facilitates software updates of read-only filesystems.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Correct me if I'm wrong but isn't this a fix for a problem that relly doesn't exist?

    To make "most" RO file systems RW one only has to umount them and re mount them specifying rw. Knoppix mounts hard drives as RO by default.

    ----
    Visit my homepage: http://www.cox-internet.com/stevedavis/ - BORING! ;-}

  3. #3
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    10
    Hi & thanks for the reply,

    I'm a linux / knoppix newbie, so perhaps I goofed. I thought this may be a way of installing linux programs to the hard disk, that knoppix could detect and run as required, in a similar way to klik http://www.knoppix.net/forum/viewtop...r=asc&start=0.

    I know knoppix is a readonly system and I'd love to be able to install and run my own programmes freely without having to install knoppix to the HD.

    Is this an alternative or complementary method?

    Hope this clarifies things

    od

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Thanks for pointing out this kernel module! There exist others (e. g. transparency) which aim to do the same but so far they all had problems with the way Knoppix uses symbolic links.

    I have donwloaded this one and did:

    Code:
    sudo su
    unp mini_fo-0-5-9.tar.bz2
    cd mini_fo
    make
    insmod ./mini_fo.o
    The kernel module loaded successful, dmesg says "
    Registering mini_fo version $Id: main.c,v 1.5 2004/04/02 14:42:53 wd Exp $". Wow. Now I tried to make /KNOPPIX/ writeable:

    Code:
    mkdir /tmp/mini_fo
    mount -t mini_fo -o dir=/KNOPPIX/,dir2=/tmp/mini_fo/ /KNOPPIX/ /KNOPPIX/
    Worked great! Now I can create subdirectories and files just where I want:

    Code:
    mkdir /usr/share/test
    touch /usr/share/test/test.txt
    Everything seems writeable, so why not try apt?

    Code:
    root@1[test]# apt-get update
    Speicherzugriffsfehler
    ooops! Something went wrong...
    This is what dmesg says:
    Code:
    Unable to handle kernel NULL pointer dereference at virtual address 00000010
     printing eip:
    c8c99ff5
    *pde = 00000000
    Oops: 0000
    mini_fo af_packet orinoco_cs orinoco hermes autofs4 reiserfs ext3 jbd ymfpci ac97_codec uart401 sound soundcore serial usb-uhci usbcore ds yenta_socket pcmcia_core apm rtc cloop
    CPU:    0
    EIP:    0010:[<c8c99ff5>]    Tainted: P
    EFLAGS: 00010282
    eax: c16fd3e0   ebx: 00000000   ecx: c8ca0b24   edx: c8ca0cdf
    esi: 00000000   edi: c5866f90   ebp: c5c03f3c   esp: c5c03f14
    ds: 0018   es: 0018   ss: 0018
    Process apt-get (pid: 19789, stackpage=c5c03000)
    Stack: 00000004 c8ca0b24 c8ca3aa0 c8ca0cdf c8ca0b0e 000002ea c5866f90 c5c03f68
           c44be120 c5c03f78 00000000 c014fa6d c44be120 00000006 c5866f90 00000004
           ffffffea bffff2d0 00000004 fffffff7 c5866f90 00000001 00000000 00000000
    Call Trace: [<c8ca0b24>]  [<c8ca3aa0>]  [<c8ca0cdf>]  [<c8ca0b0e>]  [<c014fa6d>]  [<c014b69a>]  [<c014b84d>]  [<c0108a67>]
    Code: 8b 43 10 8b 50 34 85 d2 74 61 89 7c 24 08 b9 05 00 00 00 89
     <1>Unable to handle kernel NULL pointer dereference at virtual address 00000010
     printing eip:
    c8c99ff5
    Now I am stuck. What say the wizards here?

    probono

  5. #5
    Member
    Join Date
    Oct 2003
    Posts
    55
    No idea

    But how about http://ovlfs.sourceforge.net/ as well?

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    Quote Originally Posted by probono
    Thanks for pointing out this kernel module! There exist others (e. g. transparency) which aim to do the same but so far they all had problems with the way Knoppix uses symbolic links.
    Really ? I thought they have made some process in this regard. I have done some modification to handle symbolic links issue back.

Similar Threads

  1. No permission to make device writeable
    By linuxlad in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 08-15-2005, 08:10 AM
  2. Make hard disk writeable?
    By Pyromaster114 in forum General Support
    Replies: 11
    Last Post: 08-08-2005, 03:25 PM
  3. USB flash: read-only filesystem [SOLVED]
    By jounihat in forum Hardware & Booting
    Replies: 1
    Last Post: 05-24-2005, 06:17 PM
  4. how to make hd writeable on kx 3.8.1
    By cli168 in forum General Support
    Replies: 1
    Last Post: 04-14-2005, 07:07 AM
  5. filesystem mounted read-only after check forced
    By scramble in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 02-06-2005, 05:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


WD_BLACK 1TB P40 Game Drive SSD, External Solid State Drive - WDBAWY0010BBK-WESN picture

WD_BLACK 1TB P40 Game Drive SSD, External Solid State Drive - WDBAWY0010BBK-WESN

$119.99



EMC (HUSMR3216ASS204) 1.6TB SSD SAS 12Gbps WISolid State Drive - 118000315-02 picture

EMC (HUSMR3216ASS204) 1.6TB SSD SAS 12Gbps WISolid State Drive - 118000315-02

$134.99



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26

$117.99



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5â€/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5â€/7mm Cased - WDS100T3B0A

$79.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Micron 5100 MAX 120GB SATA 6Gb/s 2.5

Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State

$9.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



LOT OF 10 Samsung 2.5

LOT OF 10 Samsung 2.5" 240GB SSD 6GB SATA Solid State Laptop Drives

$124.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$209.99