Package: fai Followup-For: Bug #493237 Hi Michael,
> What about dynamically creating/modifying the disk_config/* files? Its a good idea to workaround a (in my humble opinion) missing feature. However I'd prefer to have a clean implementation of it in setup-storage or its successor instead of messing with the configuration files :-) > I think the following should work: (...) Thanks for giving me the idea, but that does not work, because the CONFIG_ROOT is mounted read-only. And even if it wouldn't be this would cause to break the file on the server which cannot be wanted (unless using a $VCS for CONFIG_ROOT) So given that, I see two possible options: 1) Do what I suggested in first instance. 2) Implement a clean way to dynamically edit the partition layout before applying it. E.g. by moving configuration files from the current location to a dir and make it similar as for files (e.g. its possible to have a prepartition script). > in, say, disk_config/MY_CLASS. Then, in class/MY_CLASS.sh put the > following BTW. wouldn't it be better to put that code into a hook? E.g. hooks/partition.MY_CLASS Usinges class for something different from defining classes appears a bit hackish imho. Best Regards, Patrick -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]