Re: Optimising pxeboot disk size

2008-12-30 Thread Bernard Dugas
Wojciech Puchar wrote: I couldn't find the hostname sent by dhcp, but found a way to find the ip address. just use hostname command. I did, but the answer is empty (remember this is before /etc/rc is run). Where is kept the data received by dhcp_client during pxe boot ? The only problem i

Re: Optimising pxeboot disk size

2008-12-30 Thread Wojciech Puchar
add second echo to /var/log/messages ;) Hope not to forget one ;-) But is there a system call or configuration to do that automatically ? I can see some echo in /etc/rc without any , and their result seems to go to /var/messages. I wish to learn to do clean scripting :-) actually i

Re: Optimising pxeboot disk size

2008-12-29 Thread Bernard Dugas
Hello, Wojciech Puchar wrote: i already did such things but with NetBSD 1.5 for my Xterminal distro. it's simple: mount / readonly, put everything here. in /etc put /etc/rc consisting only #!/bin/sh exec /systemrc in /systemrc put something like that: #!/bin/sh echo -n Mounting workstation

Re: Optimising pxeboot disk size

2008-12-29 Thread Wojciech Puchar
Thank you very much, it is now running well after some hardware adventure. I couldn't find the hostname sent by dhcp, but found a way to find the ip address. just use hostname command. The only problem i have is that the echo done and other standard outputs are not visible in

Re: Optimising pxeboot disk size

2008-12-16 Thread Paul B. Mahol
On 12/16/08, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: it's simple: More simple when you tell it ;-) Thanks a lot, i will try it tonight ! it doesn't have chance - must work :) I wish it's helpful, doing this doesn't just save space but saves time - you have to upgrade

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
Wojciech Puchar wrote: mount_unionfs but i don't know how stable it is. Thanks to fill my dreams :-) The dream is close, but still a dream :-( http://www.freebsd.org/cgi/man.cgi?query=mount_unionfssektion=8apropos=0manpath=FreeBSD+7.0-RELEASE BUGS THIS FILE SYSTEM TYPE IS NOT YET FULLY

Re: Optimising pxeboot disk size

2008-12-16 Thread Wojciech Puchar
on NFS server. Lot of root directories can be shared and mounted in fstab, after booting process : /usr, /home... In current solution, the minimum root directories i had to keep for managing to boot are : bin libexec sbin boot etc lib i already did such things but with NetBSD 1.5 for my

Re: Optimising pxeboot disk size

2008-12-16 Thread Wojciech Puchar
it's simple: More simple when you tell it ;-) Thanks a lot, i will try it tonight ! it doesn't have chance - must work :) I wish it's helpful, doing this doesn't just save space but saves time - you have to upgrade software once. So preserving consistency, which is the most important

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
Wojciech Puchar wrote: i already did such things but with NetBSD 1.5 for my Xterminal distro. it's simple: More simple when you tell it ;-) Thanks a lot, i will try it tonight ! I wish it's helpful, doing this doesn't just save space but saves time - you have to upgrade software once. So

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
Paul B. Mahol wrote: On 12/16/08, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: When you want to change something, you add a rw TransparentLayer : mount -tl yournfsserver:/StationYchanges/etc /etc So that changed or added files are only stored in this rw partition, thus very small

Re: Optimising pxeboot disk size

2008-12-16 Thread Wojciech Puchar
MOUNT_NULLFS(8) doc is very detailled, but i can't find how to use it for my problem : being able to go from common shared configuration to specific you can't - nullfs doesn't do this. use symlinks /etc containing tons of links to /sharedetc and few files instead of symlink - for those

Re: Optimising pxeboot disk size

2008-12-16 Thread Da Rock
On Tue, 2008-12-16 at 15:02 +0100, Bernard Dugas wrote: Wojciech Puchar wrote: i already did such things but with NetBSD 1.5 for my Xterminal distro. it's simple: More simple when you tell it ;-) Thanks a lot, i will try it tonight ! I wish it's helpful, doing this doesn't just save

Re: Optimising pxeboot disk size

2008-12-16 Thread Paul B. Mahol
On 12/16/08, Bernard Dugas bern...@dugas-family.org wrote: Paul B. Mahol wrote: On 12/16/08, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: When you want to change something, you add a rw TransparentLayer : mount -tl yournfsserver:/StationYchanges/etc /etc So that changed or added

Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas
Paul B. Mahol wrote: Well, I tested unionfs on CURRENT and it did not crashed on me. Feel free to test it on 7 STABLE and report results to developers. Thanks for the feed-back, i will no more be afraid to test :-) I will tell you later, Best regards, -- Bernard DUGAS Mobile +33 615 333 770