View previous topic :: View next topic |
Author |
Message |
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Sun Jan 04, 2025 4:08 am Post subject: New "File system" - FrozenFS |
|
|
A new Pseudo File System has been created based on the FUSE libraries.
This file system is designed to provide the functionality provided by the Windows product DeepFreeze where such functionality makes sense for the Unix platform.
This was created by Myself as a school project this semester but I plan to continue to develop it in the future.
Any help, suggestions, comments are welcome. As are attempts to produce coherent documentation (i am really bad at writing good documentation for the non-developer).
https://sourceforge.net/projects/frozenfs/
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
platinummonkey Advanced Member

Joined: 01 Mar 2025 Posts: 732 Location: Texas
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Sun Jan 04, 2025 3:52 pm Post subject: |
|
|
i have not tried to get it working with grub.
I suppose theoretically it could since FrozenFS actually requires you to format using a different filesystem (i don't try to implement a whole filesystem, just the frozen part)
What FrozenFS does is merge two partitions into one, a "device" and a "backing store", all read requests initially come form the device, while write requests are silently redirected to the backing store. read requests for blocks that have been written to the backing store are read from there instead of from the device.
the block translations are kept in a hashmap in memory so they disappear on unmount, restoring the original contents of the device (since they were never changed)
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
bdquick Advanced Member

Joined: 26 Jun 2025 Posts: 883 Location: Little north of DSM and south of Ames
|
Posted: Sun Jan 04, 2025 4:36 pm Post subject: |
|
|
So it basically makes your hard drive read only?
_________________ OpenSuse 11.1 11, 10.2
Arch Linux
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Mon Jan 05, 2025 1:54 am Post subject: |
|
|
not exactly
You can write all you want (provided that the backing store is big enough), but once you unmount all your changes disappear.
Think of it like Knoppix. You can edit any file on the CD while it is running, but since you don't actually rewrite the CD when you reboot the changes are gone
Look into the deep freeze app that is linked above (it's payware but you can get a lot of info on it without paying) for more details about what i'm trying to do.
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
nukes Linux Guru

Joined: 29 Aug 2025 Posts: 4558
|
Posted: Mon Jan 05, 2025 3:35 pm Post subject: |
|
|
looks good....
how exactly is this different to unionfs? and how early in the boot process can you start it? (for example, does it support remounting / to it, or the use of pivot_root or similar)
_________________ Gentoo x86-64 2.6.29.1
FreeBSD 7-CURRENT
Arch x86 2.6.30
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Mon Jan 05, 2025 6:18 pm Post subject: |
|
|
nukes wrote: | how exactly is this different to unionfs? |
AFAIK UnionFS requires both branches to be formatted for it to work, I do not. UnionFS is also persistant because the filesystem on the second device still has the file system, My implementation just has random blocks and resets automatically
nukes wrote: | and how early in the boot process can you start it? (for example, does it support remounting / to it, or the use of pivot_root or similar) |
???
don't know, never tried. you are welcome to give it a shot.
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
|