Hi, Okay, I just solve my questions no.2 but still struggle with no.1 without any luck! what I do is just as I state before,I only change the options to be 'rw,nosuid,noatime,nodev,noexec' in the '/etc/fstab' then backup 'etc'. After a reboot, I run 'mount -l' and bingo! the mount point is there :)) I think Bering '/etc/fstab' don't support default and notail options as the normal distro do,that okay, I could live without it ;p
After I'm look a bit further into '/var/lib/lrpkg/squid-2.list', I found that the file '/usr/bin/client' as in the list was not exist?!? Is this okay? and I don't know it was a typo or not, but in the '/usr/bin/RunCache' scripts, squid was refer to '/usr/bin/squid' not '/usr/sbin/squid' as state on the '/var/lib/lrpkg/squid-2.list'. so to make my life goes on, I just copy '/usr/bin/squid' to '/usr/bin/squid'.. and add it to 'squid-2.list'.. is this okay? After i backup the squid, I run '/etc/init.d/squid start' but still get the same error '/usr/sbin/squid not found'!?!? ARRRGGHH!!! Anyone goin' to assist me on this? I'm STUCK! Regards, ijez ----- Original Message ----- From: "zamri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 13, 2004 1:40 PM Subject: [leaf-user] Some question with Being uClibc > Hi, > > I have successfully running latest Bering uClibc for my LAN Firewall router > but I had some questions: > > 1). I had download squid-2 at Bering uClibc packages site and edit my > lrpkg.cfg so that squid-2 is include when my leaf box is reboot, next after > a reboot squid seen does not start. I try to start it by run > /etc/init.d/squid start but it's keep complain that /usr/sbin/squid not > found! when I do ls -l /usr/sbin/squid, I could see the file was there!?! > anyone know how I could solve this? > > 2). My leaf box is running on old HDD with 3GB space. I had partitions it's > to be 2 partitions with fdisk, so /dev/hda=300MB ( Win95 FAT ), > /dev/hda=rest of the space (Linux). The questions is, how I could mount > /dev/hda5 as /cache ( planned for squid proxy cache ) ? > > 2.1) .I had download hdsupp.lrp from the Bering uclibc packages site and > formatted the /dev/hda5 with mkfs.ext3. then I copy ext3.o from Bering > uclibc modules ( which I download altogether when I download the Bering > uclibc ) into /lib/modules/ and enable it at package modules sections at > lrpcfg. before I do a backup, I had modify /etc/fstab so it will mount the > /cache with /dev/hda5 the next time it's reboot. After a modules and etc > backup I had restart the box and the problems comes, a bunch of journaling > error comes. I know,this must be something to do with modules, the questions > is,which modules should I load together with ext3? > > 2.2). so,to make my life simple ( since I don't know which module need to > load with ext3 ), I try to do all the step above again but this time with > ext2. I formatted /dev/hda5 with mkfs.ext2, copy ext2.o into /lib/modules/, > modify /etc/fstab, run lrpcfg and change entry ext3 with ext2 in modules > sections then do modules and etc backup. After a reboot, I get and error > likes cannot mount </cache? or /dev/hda5?> missing <sector size? or block > size?> or something like that ( I couldn't remember the exact error since > it's boot to fast and now I'm away from development box,once I return I will > post the exact error ) I suspect it's configurations error on /etc/fstab ( > since I could manually mount /dev/hda5 to /cache after reboot by type > mount -t ext2 /dev/hda5 /cache ). My questions is, if I was correct,where in > the /etc/fstab should I declare this sector/block size? all I see at > /etc/fstab taken from man fstab ( fs spec ( /dev/hda5), fs file ( /cache), > fs vfstype ( ext2 ), fs mntopt ( default,nosuid,noexec,notail,noatime ), fs > freq ( 0 - used for dump ), and last fiels fs passno ( 0 - used by fsck ). > Anyone know? > > 3). If I successes mount /dev/hda5 as /cache ( of course I need your help > here ) could I also mount /var/log/ into the harddisk so it could survival > from reboot? > > Please shed so light on me, > Any suggestion, pointer are really appreciates. > Thanks in advances. > > Regards, > ijez > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > ------------------------------------------------------------------------ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ------------------------------------------------------------------------ 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