USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

New "File system" - FrozenFS

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » System Administration and Security
View previous topic :: View next topic  
Author Message
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Sun Jan 04, 2024 4:08 am    Post subject: New "File system" - FrozenFS Reply with quote

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
View user's profile Send private message Visit poster's website
platinummonkey
Advanced Member


Joined: 01 Mar 2024
Posts: 732
Location: Texas

PostPosted: Sun Jan 04, 2024 4:59 am    Post subject: Reply with quote

oooh, interesting, get it to work with grub? (by that i mean, do you have a stage1_5 source for it?)

might put it in TAMULinux Wink who knows Wink Smile



_________________
desktop - FreeBSD 7.2
laptop & server - Archlinux i686 kernel26 2.6.32.10-1
- TAMULinux-2.0.2-ALPHA
USB Boot - Archlinux i686 kernel26 2.6.32.10-1 USB boot
Back to top
View user's profile Send private message Visit poster's website AIM Address
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Sun Jan 04, 2024 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
bdquick
Advanced Member


Joined: 26 Jun 2024
Posts: 883
Location: Little north of DSM and south of Ames

PostPosted: Sun Jan 04, 2024 4:36 pm    Post subject: Reply with quote

So it basically makes your hard drive read only?



_________________
OpenSuse 11.1 11, 10.2
Arch Linux
Back to top
View user's profile Send private message
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Mon Jan 05, 2024 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
nukes
Linux Guru


Joined: 29 Aug 2024
Posts: 4558

PostPosted: Mon Jan 05, 2024 3:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Mon Jan 05, 2024 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » System Administration and Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse