[leaf-user] Mounting /var/log on a ext2 partition
Hi, I switched from dachtein to bering, all works perfectly. I replaced my slow bind-8/exim by tinydns/qmail. Perhaps I'm tired but I don't find where the TMPFS on /var/log is created (wich script???) I use a little hard disk for storage and I would like to store logs on a partition. What to do? Thanks Sylvain ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Mounting /var/log on a ext2 partition
Le Vendredi 3 Mai 2002 22:17, sylvain pelletier a écrit : > Hi, > > I switched from dachtein to bering, all works perfectly. > I replaced my slow bind-8/exim by tinydns/qmail. > Perhaps I'm tired but I don't find where the TMPFS on /var/log is created > (wich script???) It's created by /linuxrc (symlink to /var/lib/lrpkg/root.linuxrc): [ "$VERBOSE" ] && echo "Generating /tmp & /var/log files ..." if [ "`sed '/tmp_size/d' /proc/cmdline`" = "" ]; then TMPSIZE="`sed 's/.*tmp_size=/\1/; s/ .*//1' /proc/cmdline`" qt $BB mount -t tmpfs tmpfs /tmp -o size=$TMPSIZE else qt $BB mount -t tmpfs tmpfs /tmp fi > I use a little hard disk for storage and I would like to store logs on a > partition. > What to do? 1/ Choose a FS for your HD (for example ext2, but could be reiserfs, ..;) and download the corresponding modules 2/ Format your HD 3/ Mount it If you choose minix, you do not need to load the module and you have access to mkfs.minix in the distro (but there is a max limit to 64M) If you choose ext2 you will have to donload the ext2.o module and you will need mke2fs and fsck.ext2. Also Charles has an how-to on this issue: http://leaf.sourceforge.net/devel/cstein/Documentation/LRPHardDiskHOWTO.txt Jacques ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Mounting /var/log on a ext2 partition
Backup root.lrp don't save /var/lib/lrpkg/root.linuxrc >>> what's wrong??? In my old eigerstein, root.linuxrc was save when I backup root.lrp. So what i have to do to backup root.linurc??? - Original Message - From: "Jacques Nilo" <[EMAIL PROTECTED]> To: "sylvain pelletier" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, May 03, 2002 9:34 PM Subject: Re: [leaf-user] Mounting /var/log on a ext2 partition > Le Vendredi 3 Mai 2002 22:17, sylvain pelletier a écrit : > > Hi, > > > > I switched from dachtein to bering, all works perfectly. > > I replaced my slow bind-8/exim by tinydns/qmail. > > Perhaps I'm tired but I don't find where the TMPFS on /var/log is created > > (wich script???) > It's created by /linuxrc (symlink to /var/lib/lrpkg/root.linuxrc): > > > [ "$VERBOSE" ] && echo "Generating /tmp & /var/log files ..." > > if [ "`sed '/tmp_size/d' /proc/cmdline`" = "" ]; then > TMPSIZE="`sed 's/.*tmp_size=/\1/; s/ .*//1' /proc/cmdline`" > qt $BB mount -t tmpfs tmpfs /tmp -o size=$TMPSIZE > else > qt $BB mount -t tmpfs tmpfs /tmp > fi > > > I use a little hard disk for storage and I would like to store logs on a > > partition. > > What to do? > 1/ Choose a FS for your HD (for example ext2, but could be reiserfs, ..;) and > download the corresponding modules > 2/ Format your HD > 3/ Mount it > > If you choose minix, you do not need to load the module and you have access > to mkfs.minix in the distro (but there is a max limit to 64M) > If you choose ext2 you will have to donload the ext2.o module and you will > need mke2fs and fsck.ext2. > > Also Charles has an how-to on this issue: > http://leaf.sourceforge.net/devel/cstein/Documentation/LRPHardDiskHOWTO.txt > > Jacques > ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Mounting /var/log on a ext2 partition
sylvain pelletier wrote: > > Backup root.lrp don't save /var/lib/lrpkg/root.linuxrc >>> what's wrong??? > In my old eigerstein, root.linuxrc was save when I backup root.lrp. > So what i have to do to backup root.linurc??? Backup initrd Jacques ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html