Syntax, shall we?

Neven Has haski at sezampro.yu
Mon Feb 4 01:51:14 PST 2002


On Sun, Feb 03, 2002 at 04:55:55PM -0500, Seth W. Klein wrote:
> > I would then think it good to change file in textdump to name as well.
> 
> Actually, that sounds weird. This would be better:
> 
> <createfile>
> 	<base>&LFS;</base>
> 	<name>etc/passwd</name>
> 	<permissions>775</permissions>
> 	<!-- should symbolic modes be allowed? -->
> 	<content>
> 		=root:x:0:0:root:/root:/bin/bash
> 	</content>
> </createfile>

I was just going to respond that it might be a bit confusing to use <name>
both for <mkdir> (where it has to be a directory) and <textdump> (where is 
has to be a regular file).

So this seems like a good solution to me. Maybe <create_file> instead,
it's easier to read?


Neven

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe alfs-discuss' in the subject header of the message



More information about the alfs-discuss mailing list