Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 23:13:03 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        Mark Murray <mark@grondar.za>
Cc:        arch@FreeBSD.ORG
Subject:   Re: FreeBSD sources from 20000' 
Message-ID:  <200102280613.f1S6D3d46907@harmony.village.org>
In-Reply-To: Your message of "Tue, 27 Feb 2001 13:36:49 %2B0200." <200102271136.f1RBa4R12865@gratis.grondar.za> 
References:  <200102271136.f1RBa4R12865@gratis.grondar.za>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200102271136.f1RBa4R12865@gratis.grondar.za> Mark Murray writes:
: <module name=ls distribution=bin>

I don't think that the module should define what distribution it
belongs to.  sets should do that.  This will allow many things.
First, it will allow one to have modules belong to multiple sets,
second it will allow users or those outside the system to define their
own sets without hacking all the module lines.

: Containment (or "set") modules will be structured kinda like so:
: <module name=bin distribution=bin attribute=static>
: 	<submodule>
: 		cat
: 		ls
: 		echo
: 		sh
: 	</submodule>
: </module>

I don't think that attribute should necessary be part of this.  Of
course, it would be nice when you want to build a 1 partition system
with dynamic /bin and /sbin.  It just seems not to fit.

i'd like to be able to do something like the following:

<module name=minimal-to-boot distribution=totally-minimal>
	<module-list>
	bin/chmod bin/cat bin/cp bin/csh bin/date bin/dd bin/df
	bin/echo bin/expr bin/hostname bin/kill bin/ln bin/ls
	bin/mkdir bin/mv bin/pwd bin/ps bin/rcp bin/rm bin/rmdir
	bin/sh bin/sleep bin/stty bin/sync bin/test gnu/lib/libregex
	gnu/lib/libreadline gnu/usr.bin/awk gnu/usr.bin/cpio
	gnu/usr.bin/diff gnu/usr.bin/diff3 gnu/usr.bin/grep
	gnu/usr.bin/gzip gnu/usr.bin/tar lib/libc lib/libstdc++
	lib/libcrypt lib/libedit lib/libftpio lib/libipsec lib/libipx
	lib/libkvm lib/libmd lib/libnetgraph lib/libncurses lib/libpam
	lib/librpcsvc lib/libskey lib/libutil lib/libwrap lib/libz
	lib/msun libexec/ftpd libexec/getty libexec/rlogind
	libexec/rshd libexec/rtld-elf libexec/telnetd sbin/adjkerntz
	sbin/dhclient sbin/disklabel sbin/dmesg sbin/fsck
	sbin/i386/fdisk sbin/ifconfig sbin/init sbin/ipfw sbin/kldload
	sbin/kldstat sbin/kldunload sbin/ldconfig sbin/md5 sbin/mknod
	sbin/mount sbin/mount_null sbin/mount_nfs sbin/newfs sbin/ping
	sbin/reboot sbin/route sbin/swapon sbin/sysctl sbin/umount
	share/termcap sys/boot usr.bin/chflags usr.bin/du usr.bin/ee
	usr.bin/env usr.bin/ftp usr.bin/find usr.bin/head
	usr.bin/hexdump usr.bin/id usr.bin/login usr.bin/ldd
	usr.bin/less usr.bin/netstat usr.bin/objformat usr.bin/rsh
	usr.bin/rlogin usr.bin/sed usr.bin/su usr.bin/tail
	usr.bin/telnet usr.bin/top usr.bin/touch usr.bin/tty
	usr.bin/uname usr.bin/uptime usr.bin/vi usr.sbin/chown
	usr.sbin/cron usr.sbin/dev_mkdb usr.sbin/inetd
	usr.sbin/kbdcontrol usr.sbin/pkg_add usr.sbin/pwd_mkdb
	usr.sbin/syslogd usr.sbin/traceroute usr.sbin/vidcontrol
	usr.sbin/vipw
	</module-list>
</module>

Warner

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102280613.f1S6D3d46907>