flat assembler
Message board for the users of flat assembler.
![]() |
Should I Make A Filesystem | ||||||||||||||
|
||||||||||||||
Total Votes : 6 |
Author |
|
GrapeOS 13 Feb 2018, 14:36
Hey everyone. I want to know the doe's and don'ts of creating a file system for my os. What should I do? Thank you, and bye.
|
|||
![]() |
|
GrapeOS 13 Feb 2018, 14:51
No. All I want is a simple file system with just a simple structre, and nothing fancy. I only want files and folders and their creation dates and modification dates stored on the disk, and none of the other fancy stuff.
|
|||
![]() |
|
revolution 13 Feb 2018, 15:05
GrapeOS wrote: ... creation dates and modification dates stored on the disk .... |
|||
![]() |
|
GrapeOS 13 Feb 2018, 18:28
I will attach the file system idea to here, and you can look at it
|
|||||||||||
![]() |
|
Mike Gonta 13 Feb 2018, 22:31
Visit GrapeOS wrote: ... but to build our system, we need to make a disk image maker, so we need to work on that first. |
|||
![]() |
|
Mike Gonta 13 Feb 2018, 22:37
revolution wrote:
|
|||
![]() |
|
revolution 14 Feb 2018, 09:54
Mike Gonta wrote: AFAICT (with windows explorer) fat supports creation, modified and accessed dates. |
|||
![]() |
|
Mike Gonta 14 Feb 2018, 10:46
revolution wrote:
The LFN extension merely changed the 32 byte directory entry so that multiple directory entries could be used to accommodate the LFN. The FAT directory entry which contains the meta data has the three time stamps. The introduction of the modified and accessed times coincides with the introduction of LFN, however with or without LFN the current FAT specification contains all three. https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#Directory_entry |
|||
![]() |
|
revolution 14 Feb 2018, 11:04
Okay, cool, that is for VFAT.
|
|||
![]() |
|
GrapeOS 14 Feb 2018, 13:58
Well, I can't figure out how to map the files in fasm, and i just can't do a:
DW (file_start/512) I am still working on a GrapeFS disk image creator in python, and it should have the ability to write a boot sector, and inject files, extrect files, and get the list of files, create directorys, and modify directorys. |
|||
![]() |
|
GrapeOS 14 Feb 2018, 14:05
LFN should have just been a new file system, because if you read the filenames in dos, it will give you a whole bunch of directorys, and not the whole filenames. I have tried that, and that just happened. Microsoft should have released some product called "LFN Extensions For MS-DOS"
|
|||
![]() |
|
GrapeOS 14 Feb 2018, 14:09
Mike Gonta wrote:
Why do that, when you could make a disk image creator, and later, I will use my operating system for my daily driver, so I would port virtualbox to it, and then make a build script that would use my disk image creator(ported to my os) to make a small disk image(like a 32-mb hdd file), with the GrapeFS filesystem, and that's how I would use it. I want my whole OS to be self-hosting. Edit: What if I lose the disk image? |
|||
![]() |
|
rugxulo 16 Feb 2018, 17:11
GrapeOS wrote: LFN should have just been a new file system, because if you read the filenames in dos, it will give you a whole bunch of directorys, and not the whole filenames. I have tried that, and that just happened. Microsoft should have released some product called "LFN Extensions For MS-DOS" IIRC, it (also) uses "volume" bit, so it shouldn't be found by normal findfirst, etc. But did you really want an incompatible file system? Sometimes it's better to be compatible, even with kludgy workarounds. Then again, patents often destroy interoperability, so THAT I don't even pretend to understand. Patents are dumb, and we should've probably had a p.d. ext2 TSR driver. But no one cared (sigh). At least all VFAT patents have "probably" expired by now (sheesh). Anyways, they had an improved file system (for OS/2) called HPFS. Not sure why that was never backported to DOS nor why it was quickly dropped after initial NT 3.1 release. There are partial third-party drivers for DOS, but it never was well-supported. What you're thinking of is probably a TSR like DOSLFN. Not sure why MS didn't write one, but again, it's probably pointless when they want everyone to "upgrade" to Win9x GUI or "new technology" anyways. They probably didn't want to cannibalize their existing products. |
|||
![]() |
|
ReflectOS 22 Feb 2018, 00:05
Oh. My new os is called ReflectOS, and GrapeOS is legacy.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.