Scripting language loading kernel/OS

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: versioning

Post by bewing »

Yes, as berkus said, adding basic versioning to a filesystem is not hard. You really just have to make space in your directory entries for a few more bytes of dedicated version information. My little Bang!FS filesystem that I created has versioning support. So, no, not revolutionary. But it's a heck of a lot smarter than the idiotic way that "make" tries to misuse file modification times to figure versioning.

(And the easy way to handle the rm question is: as each new version of the file is created, the old version gets mv'ed off into a "history" directory tree. If the final file gets rm'ed, then it's gone and you have to recover from the history directory if you want it back.)
TylerH
Member
Member
Posts: 285
Joined: Tue Apr 13, 2010 8:00 pm
Contact:

Re: Scripting language loading kernel/OS

Post by TylerH »

earlz wrote:but it could render you with a filesystem(involving links and such) that is readable from other systems not aware of versioning.
How could they read it at all w/o having a driver for it? Surely anyone who takes the time to write the driver would also implement support for the fs's core feature.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Scripting language loading kernel/OS

Post by Solar »

TylerAnon wrote:
earlz wrote:but it could render you with a filesystem(involving links and such) that is readable from other systems not aware of versioning.
How could they read it at all w/o having a driver for it? Surely anyone who takes the time to write the driver would also implement support for the fs's core feature.
earlz was talking about implementing versioning on top of an already-existing FS (like ext2). Versioning wouldn't be a "core feature" there, but merely an add-on.
Every good solution is obvious once you've found it.
sparkymat
Posts: 8
Joined: Tue Jun 02, 2009 5:08 am

Re: Scripting language loading kernel/OS

Post by sparkymat »

attempting to port Ruby 1.9.2 VM to bare-metal. any suggestions on which libc to use (small, and easy to convert to bare-metal) ?
User avatar
inx
Member
Member
Posts: 142
Joined: Wed Mar 05, 2008 12:52 am

Re: Scripting language loading kernel/OS

Post by inx »

Necropost ftw?
arjo129
Posts: 21
Joined: Mon May 03, 2010 10:19 pm
Location: Asia, Planet Earth, Solar system, Milky way

Re: Scripting language loading kernel/OS

Post by arjo129 »

Checkout EFI
Zephirum OS- Super secure http://code.google.com/p/zephirum-server/
Number of blue screens of death I have seen: 19
Number of apple OS X kernel panics I have seen: 2
Number of linux kernel panics I have seen: 0
Post Reply