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
  •  


Cisco  (SG100D-05-UK) 5-Ports External Ethernet Switch picture

Cisco (SG100D-05-UK) 5-Ports External Ethernet Switch

$40.00



8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch picture

8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch

$76.50



HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A picture

HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A

$74.99



Cisco Meraki MS120-48LP 48 Port Blade Ethernet Switch UNCLAIMED picture

Cisco Meraki MS120-48LP 48 Port Blade Ethernet Switch UNCLAIMED

$349.98



HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A picture

HP 2530-48G 48 Port Gigabit Ethernet Network Switch J9775A

$30.95



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch picture

HP ProCurve 2530-24G J9776A 24 Port Gigabit Ethernet Managed Network Switch

$34.99



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter picture

HP Aruba 2530-8G-PoE+ 8x PoE+ RJ45 2x SFP Gigabit Switch J9774A No AC Adapter

$37.99