Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 13:42:25 -0600 (CST)
From:      Jon Mini <haikugeek@haikugeek.com>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        Peter Wemm <peter@wemm.org>, <cvs-all@FreeBSD.ORG>, <cvs-committers@FreeBSD.ORG>
Subject:   Re: cvs commit: src/lib/libstand stand.h
Message-ID:  <Pine.LNX.4.33.0112111338220.15609-100000@westhost36.westhost.net>
In-Reply-To: <XFMail.011210235131.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Dec 2001, John Baldwin wrote:

> On 11-Dec-01 Peter Wemm wrote:
> > John Baldwin wrote:
> >
> > We can write to (and even expand / create) files on EFI systems as well.
> > I dont think the glue to do it is present though.
>
> You don't need much glue to do it.  libefi just needs to support writing to the
> low-level driver and the fs in libstand needs write support.
>

The framework can deal with writing to or expanding files. The
functionality to create new files or delete existing files doesn't exist
in the fs abstraction code (fsil? vfs? whatever..). However, appending to
files is entirely handled within the FS code.

The reason why only overwriting existing files is supported in UFS is
because none of the fsck(8) code is present in the loader, so the
filesystem may be dirty when written to. In that case, it is significantly
dangerous to change the allocation mappings of the filesystem.

Filesystems like FAT that don't have a formal mount/unmount process, or
any journaled filesystem wouldn't be the same.

I'm planning on writing FAT write support to loader, and when I do that,
I'll add the functionality to the glue code to create new files and delete
existing files.

-- 
Dizzy Cow (Jon Mini)
dizzycow@haikugeek.com

... Desolation ... Despair ... Plastic Forks ...
~
~
~


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0112111338220.15609-100000>