mbrfs - will it be useful for os developers

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
uzytkownik
Posts: 14
Joined: Sat Nov 15, 2008 3:39 pm

mbrfs - will it be useful for os developers

Post by uzytkownik »

I tried to work with the disk images and what I found less UF was the necessity of:
- Setting loopback device with magic parameters
- Mounting device
- Coping
- Unmounting
- Release of lookback device
All of those steps needed to be run from root. I thought that since I have access to all files there is no need to have 0 rights. However I couldn't find anything so I write my own.

I implemented mbrfs as a FUSE program. The usage is quite 'standard':

Code: Select all

% mbrfs -o image=your_disk_image.img dir_to_mount
I don't know will you find it useful or not. However of you do please test it (plese note that it is on earlt stage of development). The code is open source (GPLv3).

Github repository

PS. I cannot find any practical application except os dev so I posted it here. I'm sorry if you considered it as spam.
User avatar
Khaoticmind
Member
Member
Posts: 29
Joined: Tue Nov 18, 2008 1:06 pm
Location: Brazil

Re: mbrfs - will it be useful for os developers

Post by Khaoticmind »

Haven't tested it but good work!
I was looking for something like this for the same problems you were having :)

But, I've found out that mtools can work with disk images as well. Thats good enough for me, since i'm working with FAT12 :)
Now i'm doing

Code: Select all

mcopy -i floppy.img mykern.bin ::/
The last part is important, the absense of any drive letter, just another column.

Cheers,
KM
uzytkownik
Posts: 14
Joined: Sat Nov 15, 2008 3:39 pm

Re: mbrfs - will it be useful for os developers

Post by uzytkownik »

Probably. But I wanted to use ext2. There is ext2fuse.

There is a chance that I'll add ext2/fat support.
Post Reply