file naming rulesets/conventions/limitations

2002-10-03 Thread Jimmy Lantz
Hi, I wonder if there's any rulesets/conventions/limitations to filenames in freebsd? Limits to amount of chars used in filenames (I've heard 14 chars but I use more and havent had any problems) What special chars ar allowed? (can I use @ in a filename for instance? I've tested, it works, just

Re: Booting from a CD-ROM

2002-09-29 Thread Jimmy Lantz
Check out liveCD livecd.sourceforge.net. / Hth At 18:26 2002-09-29 +0800, you wrote: >Hello all, > > I can't search the archives for a solution. I thought I give this list > a try. > > WinXP screwed me last night and I'm forced to reinstall it. I totally > forgot > that I already have

Bourne shell redirection of STDOUT

2002-09-28 Thread Jimmy Lantz
Hi, I wonder if anyone know a way to redirect the STDOUT directly to a variabel in a shellscript w/o using tempfile. I know I can use a tempfile but I'm looking for a way to avoid using a file. in other words Does anyone have an alternative to this? I would like to be able to run this script

Init & ttys(5) file = Keeping script alive?

2002-09-24 Thread Jimmy Lantz
Hi All, I have a script that I need to run all the time and restart if it would die. I've seen that the init in the man at least offers the capabilities to run and restart scripts. So now I've been searching the web for a great while for expales of using the Init as described in man. "Init can

Re: font problem during rc WAS: tput and clear problem

2002-09-22 Thread Jimmy Lantz
> > > #!/bin/sh > > LC_ALL=sv_SE.ISO_8859-1; export LC_ALL > > LANG=sv_SE.ISO_8859-1; export LANG > >That's not a good idea, IMO. It is better to set LC_CTYPE >only. Setting LC_ALL and LANG will change the output format >of several important commands, including "date", "ps", "ls" >and others

font problem during rc WAS: tput and clear problem

2002-09-21 Thread Jimmy Lantz
> > > I'm trying to run a shellscript during the rc (output to monitor > connected > > directly to server) > > >You should set the TERM environment variable to the terminal >that you're using as console. If you're using the syscons >internal console, do this at the beginning of your script: >

tput & term problem during rc

2002-09-20 Thread Jimmy Lantz
Hi, I'm trying to run a shellscript during the rc (output to monitor connected directly to server) But when I do a "clear" I get the following error tput: no terminal type specified and no term eniviromental variable I also use the dialog utility ( /usr/bin/dialog ) but the output gets

Re: time off by 30 minutes

2002-09-20 Thread Jimmy Lantz
Why dont you set it by using date 200209201514 and then use ntpdate & ntpd to keep it current afterward.. cheers! At 08:41 2002-09-20 -0500, you wrote: >>Check your /etc/localtime is correct for your timezone. >> >>ln -s /usr/share/zoneinfo/America/ localtime >> >>where is the correc

Re: Howto create a bootable self installing CD ?

2002-09-19 Thread Jimmy Lantz
At 16:27 2002-09-18 -0500, you wrote: >Hi all! > How can I create a bootable CD that has an image of an existing >custom freeBSD system, such that when I pop the CD into any other machine >it will boot and install the image on the hard drive? So that I just Hi, check out LiveCD, http://li

mount read only || chflags schg & sec level 2

2002-09-18 Thread Jimmy Lantz
Hi, I'm looking for away to write protect some files whats the pros and cons with having the file on a seperate partition and mount that read-only or use the chflags schg and go to kernel security level 2? / Jim. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions"

Re: mount read only || chflags schg & sec level 2

2002-09-18 Thread Jimmy Lantz
At 09:55 2002-09-17 -0400, you wrote: >Jimmy Lantz <[EMAIL PROTECTED]> writes: > > > I'm looking for away to write protect > > some files whats the pros and cons > > with having the file on a seperate partition and mount that read-only > > or use the chfla

Re: Monunting /etc read-only was Re: mount read only ...

2002-09-18 Thread Jimmy Lantz
At 11:18 2002-09-18 -0400, you wrote: >Jimmy Lantz <[EMAIL PROTECTED]> writes: > > > > > > > > I'm looking for away to write protect > > > > some files whats the pros and cons > > > > with having the file on a seperate partition and

Monunting /etc read-only was Re: mount read only ...

2002-09-18 Thread Jimmy Lantz
> > > I'm looking for away to write protect > > some files whats the pros and cons > > with having the file on a seperate partition and mount that read-only > > or use the chflags schg and go to kernel security level 2? > >*Either* way you probably want to raise the security level. A >read-only

mount read only || chflags schg & sec level 2

2002-09-17 Thread Jimmy Lantz
Hi, I'm looking for away to write protect some files whats the pros and cons with having the file on a seperate partition and mount that read-only or use the chflags schg and go to kernel security level 2? / Jim. NB. I'm sending this for the second time, and I do apologize if this in fact was po