linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Thoughts on HUMFS and metadata
@ 2004-04-19  7:52 Paul Wagland
  2004-04-19  9:00 ` Henrik Nordstrom
  2004-04-19 18:58 ` Jeff Dike
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Wagland @ 2004-04-19  7:52 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]

Hi all,

Just a bit of brain dumping here... i hope that it is all coherent, if  
not, please let me know and I will try to clarify :-)

I have read through  
<http://marc.theaimsgroup.com/?l=user-mode-linux- 
devel&m=108139168611257&w=4> jdikes "A quick humfs HOWTO", but I still  
have a few questions and/or suggestions.

1. Do files really need to exist in data if they are block, character  
or sockets? Surely it is enough to just look at the metadata for these  
files and create the appropriate dir entry in the UML. Unless it is  
being used for for the host systems inode number? If so, is this only  
for NFS?

2. When COW humfs "partitions" are made, will it be possible to  
separately copy metadata and data? For instance, if I change only the  
uid, gid and/or permissions, do I need to also create a new copy of the  
data, or can I only update my local metadata and use the data from the  
parent?

3. When COW humfs "partitions" are made, how will files be deleted in  
the second humfs? I would assume (but could easily be wrong ;-) ) that  
the easiest way to do COW is for every file access, first check your  
humfs, if it does not exist, then check your parent humfs. If this is  
done, then how do you delete a file? I can see that one easy option is  
to introduce a "deleted" metadata node, that only contains the word  
deleted, and would signify that this file does not exist in this COWed  
copy.

4. Since metadata is basically a copy of "permission data" does it also  
make sense for humfs metadata to include things like capabilities and  
ACL's? (Obviously I think it does, or I would not of raise the question  
;-) )

So, what do you think, insightful thoughts or meandering ravings of a  
crazed mind?

Cheers,
Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-04-19 23:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19  7:52 [uml-devel] Thoughts on HUMFS and metadata Paul Wagland
2004-04-19  9:00 ` Henrik Nordstrom
2004-04-19  9:56   ` Henrik Nordstrom
2004-04-19 18:58 ` Jeff Dike
2004-04-19 18:42   ` Paul Wagland
2004-04-19 20:15     ` Jeff Dike
2004-04-19 19:56       ` Paul Wagland
2004-04-19 21:13         ` Paul Wagland
2004-04-20  0:27           ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox