mbrfs - will it be useful for os developers
Posted: Fri Dec 12, 2008 5:24 pm
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':
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.
- 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
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.