ReturnInfinity / BareMetal-OS-legacy

BareMetal is a 64-bit OS for x86-64 based computers. The OS is written entirely in Assembly while applications can be written in Assembly, C/C++, and Rust.
1.74k stars 302 forks source link

BMFS utility #30

Closed IanSeyler closed 11 years ago

IanSeyler commented 11 years ago

https://github.com/ReturnInfinity/BMFS

IanSeyler commented 11 years ago

BMFS utility is now complete.

davidrubert commented 11 years ago

Ian,

There has been a flurry of activity on BMOS lately. Brilliant as always. Thanks.

A question about the BMFS utility. Is it meant to be used from within BMOS or is it just a untility to read BMFS data from another OS like Linux?

FYI - the reason I ask and perhaps this is a second question really is that I'm looking to PXE boot BMOS then I want to image or "ghost" data on to the local drive—so like the dd command. I know you haven't written documention but will BMFS have some of this code that could be leveraged? I looked at the includes in dd.h and I'm guessing it won't compile using just NEWLIB. But I'm unfortunately in deeper than my skill set and I may be completely off-base. Perhaps for your consideration after your immanent 6.0 release (again, congratulations!) some basic dd-lite functionality I think would be a very cool feature. I don't think BMOS needs various fs driver support generally, just the ability to write the bits to disk.

On Tue, Apr 9, 2013 at 5:43 PM, Ian Seyler notifications@github.com wrote:

BMFS utility is now complete.

— Reply to this email directly or view it on GitHubhttps://github.com/ReturnInfinity/BareMetal-OS/issues/30#issuecomment-16147354 .

IanSeyler commented 11 years ago

Hi David,

The utility is meant to be used from another OS like Windows, Linux or Mac OS X.

If you are looking to do something like dd then that functionality is in the kernel with the readsectors and writesectors functions. Going forward we will need to implement Newlib features like read(), write(), and seek() with proper file streams.

Are you looking to dd other disks with various file systems?