Re: File system

2010-05-09 Thread Ansar Mohammed
You know what,
dont worry about it. Thanks for the help all! You have been very helpful.




On Sun, May 9, 2010 at 1:16 AM, Adam Vande More amvandem...@gmail.comwrote:

  On Sat, May 8, 2010 at 10:18 PM, Ansar Mohammed ans...@gmail.com wrote:

 Hello Bobby,

 The VM is in my lab environemnt. I have many flavours of Windows, Linux
 and
 FreeBSD. FreeBSD is my firewall running PF.




 I have rebooted my entire environment hundreds of times, and non of my
 Windows or Linux VMs will complain or boot into a repair/single user mode.

 The background to this problem is because the FreeBSD root filesystem
 (UFS)
 is not journaled and for some reason I cannot set my root partition to be
 UFS+SoftUpdates.


 Well I'd say that's clearly not the problem since so many of us don't have
 your issues.  SU is disabled on / for a reason. I highly doubt you actually
 want to enable this, but you can if you adjust the FS when it isn't mounted
 eg boot from fixit cd.


 At any rate, we are in the year 2010, most modern operating systems and
 databases and able to survive an unclean shutdown without booting into
 single user mode and file system/data corruption.


 FreeBSD has defaulted to background checking on SU FS's for the better part
 of 10 years.  What version are you running?  What data corruption did you
 have and what does databases have to do with it?  Also DB's that are
 unexpectly killed can have consistency problems regardless of what FS it
 writes to and OS happens to be running it.



 I love FreeBSD, and have been a user since 2.x


 User as in you saw it running a couple times?

 So on to your actual issue instead of all the bs, what does your
 /etc/rc.conf say?  Specifically, what is the boot failing on?

 If you really want the disk/partition/slice journaled, you can do so with
 gjournal or ZFS offers an even better copy-on-write system.  If the install
 is only running a fw, the zfs is probably overkill though.




 --
 Adam Vande More

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File system

2010-05-09 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/05/2010 06:16:13, Adam Vande More wrote:
 The background to this problem is because the FreeBSD root filesystem (UFS)
  is not journaled and for some reason I cannot set my root partition to be
  UFS+SoftUpdates.
 
 Well I'd say that's clearly not the problem since so many of us don't have
 your issues.  SU is disabled on / for a reason. I highly doubt you actually
 want to enable this, but you can if you adjust the FS when it isn't mounted
 eg boot from fixit cd.

Softupdates is not normally enabled on the root, not because enabling SU
there is a bad thing, but because the root is expected to be pretty much
read-only.  Thus there's no real point to having it.

Historically, SU was disabled due to a bug where large writes to a
filesystem (such as 'make installworld') could temporarily take up a lot
of extra space, and given the usual propensity of root filesystems[*] to
be too small in any case, that was killing people's ability to update.
That bug was, however, fixed long ago so there's no particular reason
not to have SU on the root nowadays.

To turn on softupdates on the root, you need to *reboot* to single user
mode, or else boot from a livecd.  You can easily turn on softupdates on
root from sysinstall at install time.

You can implement journalling using gjournal -- just not from
sysinstall.  Or you can use ZFS which effectively has journalling and
other filesystem goodness built-in.  Search the wiki at
http://wiki.freebsd.org/ for instructions.

Cheers,

Matthew

[*] At the risk of sounding like a broken record -- using one big UFS
filesystem for all of /, /usr, /var works really well, and gets rid of
this sort of updating headache for ever.  The question is moot for ZFS
- -- you'ld allocate all the disk space from the same pool, but the
devices you create are resizable, so you can divide it up as much s you
like and set different flags on different locations without penalty.

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvmXUAACgkQ8Mjk52CukIyN9gCgh3SP6L5sYrCb4Zb9Xjcghy0p
UKQAn2fOap7e1hLZwdR+kusF4EG4CHjb
=j50x
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File system

2010-05-09 Thread Bruce Cran
On Sunday 09 May 2010 04:18:12 Ansar Mohammed wrote:

 The background to this problem is because the FreeBSD root filesystem (UFS)
 is not journaled and for some reason I cannot set my root partition to be
 UFS+SoftUpdates.
 
 At any rate, we are in the year 2010, most modern operating systems and
 databases and able to survive an unclean shutdown without booting into
 single user mode and file system/data corruption.

Even with SoftUpdates and journaling you'll find UFS doesn't cope well with 
unclean shutdowns: to test it, a couple of weeks ago I started a rm -rf 
/usr/obj/* and pressed the reset button - upon startup I got dumped into 
single-user mode with a softupdates inconsistency. I've not tried the same 
test but I think ZFS is much better at recovering from this sort of problem 
since it was designed from the start to be very resilient.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: magic cmd[s]??

2010-05-09 Thread Bruce Cran
On Sunday 09 May 2010 03:54:43 Gary Kline wrote:
 for some reason, i am having trouble burning 80-release.  i did
 get the oc-bsd dvd d/loaded And burned ... and my '05 thinkpad
 recognized the dvd and installed.  i have failed several times to
 d/l the 8.0-R torrent.  the checksums are valid.  but usinng k3b
 only 50% of the task is burned.  is there some magic command or
 procedure that i'm missing in burning the iso file from my
 torrent dir to the dvd?
 
 also, how do i erase the several dvd discs that i would like to
 reuse?  there are dvd-rw.

http://www.freebsd.org/doc/en/books/handbook/creating-dvds.html has a good 
explanation of how to write and erase DVDs.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


VirtualBox: no network

2010-05-09 Thread Anselm Strauss
Hi,

I'm running VirtualBox 3.1.6 on FreeBSD 8.0 amd64. I loaded the vboxdrv
module on boot and started the vboxnet service. Then I set up an Ubuntu
10.04 amd64 guest and configured one bridged network interface. But I
can't get an IP address from my DHCP server. When I check with tcpdump
on all hosts, the traffic goes out from the Ubuntu guest over the
FreeBSD host and arrives at my DHCP server. The replies come in on the
host system but are then somehow not forwarded to the guest. I never see
incoming traffic on the guest system.

I tested this with the stock FreeBSD kernel and with both types bridged
and NAT networking. There is no firewall on the host system.

Any ideas?

Thanks,
Anselm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File system

2010-05-09 Thread Ansar Mohammed
Thank you Bruce and Matthew,
for your very informed and insightful comments.
 I read online that this may be fixed in FreeBSD 9 with jeff's UFS
Journaling patch. Have you guys tried this yet?
http://jeffr-tech.livejournal.com/

On Sun, May 9, 2010 at 5:46 AM, Bruce Cran br...@cran.org.uk wrote:

 On Sunday 09 May 2010 04:18:12 Ansar Mohammed wrote:

  The background to this problem is because the FreeBSD root filesystem
 (UFS)
  is not journaled and for some reason I cannot set my root partition to be
  UFS+SoftUpdates.
 
  At any rate, we are in the year 2010, most modern operating systems and
  databases and able to survive an unclean shutdown without booting into
  single user mode and file system/data corruption.

 Even with SoftUpdates and journaling you'll find UFS doesn't cope well with
 unclean shutdowns: to test it, a couple of weeks ago I started a rm -rf
 /usr/obj/* and pressed the reset button - upon startup I got dumped into
 single-user mode with a softupdates inconsistency. I've not tried the same
 test but I think ZFS is much better at recovering from this sort of problem
 since it was designed from the start to be very resilient.

 --
 Bruce Cran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Small computer to run a GUI?

2010-05-09 Thread Chris Whitehouse

Andrew Gould wrote:

On Fri, May 7, 2010 at 11:37 PM, Liontaur liont...@gmail.com wrote:

On Fri, May 7, 2010 at 6:47 PM, Adam Vande More amvandem...@gmail.comwrote:


Sounds like you want a netbook.

--
Adam Vande More


I was more thinking of something without a monitor, keyboard or mouse. I
want to put it in a cupboard and not worry about it. With a netbook i'd
probably have to leave it open (or else it would go into suspend mode or
heat up or...). I was just hoping for something Soekris size but with a VGA
output.

Mark



Have you taken a look at the fit-PC2?  Since it can run Linux, the
odds are it can run FreeBSD as well.  You might want to ask the
creators.

http://www.fit-pc.com/web/

Andrew


Nice but doesn't have a VGA port (but does have HDMI)

http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Small computer to run a GUI?

2010-05-09 Thread Chris Whitehouse

Liontaur wrote:

Hi folks,

I'm looking for a small (and relatively inexpensive) computer to run a GUI,
I don't much care if it's KDE or Gnome or one of the others. Just so that I
can browse the Internet using Firefox (unfortunately I may need to look at
some flash). So they need to be able to run FreeBSD (obviously), a GUI, have
a Cat5 port (10/100 is fine), and PS/2s for mouse and keyboard. USB is a
bonus but not necessary.

I remember seeing some kind of small terminals at the local library but I
can't remember now who made them I think it was Weis or Weir or something
like that but a google brings up nothing. I was hoping to either boot them
over a network or using a CF card or something with a small footprint as
well. I went checking out Soekris but couldn't really see if they offer a
GUI, the models I looked at didn't have a VGA port though. I was hoping for
something about 9 inches square and three inches thick, or smaller.

Thanks folks!

Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



http://www.very-pc.co.uk/?section=home-pcs

look nice but maybe not cheap enough. I haven't tried one myself.

Chris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File system

2010-05-09 Thread Bruce Cran
On Sunday 09 May 2010 12:54:59 Ansar Mohammed wrote:
 Thank you Bruce and Matthew,
 for your very informed and insightful comments.
  I read online that this may be fixed in FreeBSD 9 with jeff's UFS
 Journaling patch. Have you guys tried this yet?
 http://jeffr-tech.livejournal.com/

My test where I pressed the reset button was with SU+J: since the journaling 
is built upon SoftUpdates it does nothing to improve reliability, but simply 
exists to remove the need to run fsck on boot.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Small computer to run a GUI?

2010-05-09 Thread Robert Huff

per...@pluto.rain.com writes:

  Sounds a bit like a ShivaPlug.

Or something almost identical.
Thanks.


Robert Huff




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Small computer to run a GUI?

2010-05-09 Thread Sean Cavanaugh



--
From: Chris Whitehouse cwhi...@onetel.com
Sent: Sunday, May 09, 2010 8:03 AM
To: Andrew Gould andrewlylego...@gmail.com
Cc: freebsd-questions@freebsd.org
Subject: Re: Small computer to run a GUI?


Andrew Gould wrote:

On Fri, May 7, 2010 at 11:37 PM, Liontaur liont...@gmail.com wrote:
On Fri, May 7, 2010 at 6:47 PM, Adam Vande More 
amvandem...@gmail.comwrote:



Sounds like you want a netbook.

--
Adam Vande More


I was more thinking of something without a monitor, keyboard or mouse. I
want to put it in a cupboard and not worry about it. With a netbook i'd
probably have to leave it open (or else it would go into suspend mode or
heat up or...). I was just hoping for something Soekris size but with a 
VGA

output.

Mark



Have you taken a look at the fit-PC2?  Since it can run Linux, the
odds are it can run FreeBSD as well.  You might want to ask the
creators.

http://www.fit-pc.com/web/

Andrew


Nice but doesn't have a VGA port (but does have HDMI)

http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/



you mean like the adapter they sell?
http://www.fit-pc.com/web/fit-pc2/accessories/ 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Small computer to run a GUI?

2010-05-09 Thread Chris Whitehouse

Sean Cavanaugh wrote:



--
From: Chris Whitehouse cwhi...@onetel.com
Sent: Sunday, May 09, 2010 8:03 AM
To: Andrew Gould andrewlylego...@gmail.com
Cc: freebsd-questions@freebsd.org
Subject: Re: Small computer to run a GUI?


Andrew Gould wrote:

On Fri, May 7, 2010 at 11:37 PM, Liontaur liont...@gmail.com wrote:
On Fri, May 7, 2010 at 6:47 PM, Adam Vande More 
amvandem...@gmail.comwrote:



Sounds like you want a netbook.

--
Adam Vande More

I was more thinking of something without a monitor, keyboard or 
mouse. I

want to put it in a cupboard and not worry about it. With a netbook i'd
probably have to leave it open (or else it would go into suspend 
mode or
heat up or...). I was just hoping for something Soekris size but 
with a VGA

output.

Mark



Have you taken a look at the fit-PC2?  Since it can run Linux, the
odds are it can run FreeBSD as well.  You might want to ask the
creators.

http://www.fit-pc.com/web/

Andrew


Nice but doesn't have a VGA port (but does have HDMI)

http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/



you mean like the adapter they sell?
http://www.fit-pc.com/web/fit-pc2/accessories/

Ah ha didn't see that, in fact several useful looking items on the same 
page.


Oh, available soon for the vga adapter... :)

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSDstats website displaying data incorrectly

2010-05-09 Thread Bobby Walker

 
 
 
  On Thu, 6 May 2010, Fbsd1 wrote:
  Why does this page show PCBSD has count of 387
  http://www.bsdstats.org/bt/home.html?os=
  And this page shows PCBSD has count of 1307
  http://www.bsdstats.org/bt/home.html?os=PC-BSD
  Why is this? I would think both should show the same value, or you
  better add explanation to the web page why the count is different.

This was a database setup problem, and I've updated the code to pull out of the 
proper database.   if anyone notices any other discrepancies please let me know.

Thanks,
Bobby___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488139] Re: Small computer to run a GUI?

2010-05-09 Thread Chris Whitehouse
Is anyone else getting these automated replies? I have been getting them 
while including Sean Cavanagh, Andrew Gould and liontaur in replies on 
the above subject.


If the person who is responsible for these automated replies is reading 
this please could you adjust your list subscription address to prevent 
them, they are really annoying.


Thanks

Chris

Sean Cavanaugh wrote:

Hello,

This is an automated response to inform you that your question has been entered into our 
system, and will be reviewed shortly. Your ticket has been submitted into the 
General Support department.

We will respond to you as soon as possible.

==
Please keep this information, and use it when refering to your ticket:

Ticket subject: Re: Small computer to run a GUI? 
Ticket number: 24488139

Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24488139
Ticket body: Sean Cavanaugh wrote:


--
From: Chris Whitehouse cwhi...@onetel.com
Sent: Sunday, May 09, 2010 8:03 AM
To: Andrew Gould andrewlylego...@gmail.com
Cc: freebsd-questions@freebsd.org
Subject: Re: Small computer to run a GUI?


Andrew Gould wrote:

On Fri, May 7, 2010 at 11:37 PM, Liontaur liont...@gmail.com wrote:
On Fri, May 7, 2010 at 6:47 PM, Adam Vande More 
amvandem...@gmail.comwrote:



Sounds like you want a netbook.

--
Adam Vande More

I was more thinking of something without a monitor, keyboard or 
mouse. I

want to put it in a cupboard and not worry about it. With a netbook i'd
probably have to leave it open (or else it would go into suspend 
mode or
heat up or...). I was just hoping for something Soekris size but 
with a VGA

output.

Mark


Have you taken a look at the fit-PC2?  Since it can run Linux, the
odds are it can run FreeBSD as well.  You might want to ask the
creators.

http://www.fit-pc.com/web/

Andrew

Nice but doesn't have a VGA port (but does have HDMI)

http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/


you mean like the adapter they sell?
http://www.fit-pc.com/web/fit-pc2/accessories/

Ah ha didn't see that, in fact several useful looking items on the same 
page.


Oh, available soon for the vga adapter... :)

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
==






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488139] Re: Small computer to run a GUI?

2010-05-09 Thread Leslie Jensen



On 2010-05-09 19:15, Chris Whitehouse wrote:

Is anyone else getting these automated replies? I have been getting them
while including Sean Cavanagh, Andrew Gould and liontaur in replies on
the above subject.


I got one yeserday on another topic. I have no idea from whom.

/Leslie





If the person who is responsible for these automated replies is reading
this please could you adjust your list subscription address to prevent
them, they are really annoying.

Thanks

Chris

Sean Cavanaugh wrote:

Hello,

This is an automated response to inform you that your question has
been entered into our system, and will be reviewed shortly. Your
ticket has been submitted into the General Support department.

We will respond to you as soon as possible.

==
Please keep this information, and use it when refering to your ticket:

Ticket subject: Re: Small computer to run a GUI? Ticket number: 24488139
Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24488139
Ticket body: Sean Cavanaugh wrote:


--
From: Chris Whitehouse cwhi...@onetel.com
Sent: Sunday, May 09, 2010 8:03 AM
To: Andrew Gould andrewlylego...@gmail.com
Cc: freebsd-questions@freebsd.org
Subject: Re: Small computer to run a GUI?


Andrew Gould wrote:

On Fri, May 7, 2010 at 11:37 PM, Liontaur liont...@gmail.com wrote:

On Fri, May 7, 2010 at 6:47 PM, Adam Vande More
amvandem...@gmail.comwrote:


Sounds like you want a netbook.

--
Adam Vande More


I was more thinking of something without a monitor, keyboard or
mouse. I
want to put it in a cupboard and not worry about it. With a
netbook i'd
probably have to leave it open (or else it would go into suspend
mode or
heat up or...). I was just hoping for something Soekris size but
with a VGA
output.

Mark


Have you taken a look at the fit-PC2? Since it can run Linux, the
odds are it can run FreeBSD as well. You might want to ask the
creators.

http://www.fit-pc.com/web/

Andrew

Nice but doesn't have a VGA port (but does have HDMI)

http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/


you mean like the adapter they sell?
http://www.fit-pc.com/web/fit-pc2/accessories/


Ah ha didn't see that, in fact several useful looking items on the
same page.

Oh, available soon for the vga adapter... :)

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
==






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-09 Thread Chad Perrin
On Fri, May 07, 2010 at 02:56:49PM -0300, Marc G. Fournier wrote:
 
 Maybe some sort of 'Server Running *BSD' icon / link from web sites to 
 bsdstats.org would help too ...

Not all BSD Unix systems are servers.

This email was composed in Mutt+Vim on FreeBSD 7.2 on a ThinkPad R52.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpJdYyEn7zLl.pgp
Description: PGP signature


Re: magic cmd[s]??

2010-05-09 Thread Gary Kline
On Sun, May 09, 2010 at 10:47:31AM +0100, Bruce Cran wrote:
 On Sunday 09 May 2010 03:54:43 Gary Kline wrote:
  for some reason, i am having trouble burning 80-release.  i did
  get the oc-bsd dvd d/loaded And burned ... and my '05 thinkpad
  recognized the dvd and installed.  i have failed several times to
  d/l the 8.0-R torrent.  the checksums are valid.  but usinng k3b
  only 50% of the task is burned.  is there some magic command or
  procedure that i'm missing in burning the iso file from my
  torrent dir to the dvd?
  
  also, how do i erase the several dvd discs that i would like to
  reuse?  there are dvd-rw.
 
 http://www.freebsd.org/doc/en/books/handbook/creating-dvds.html has a good 
 explanation of how to write and erase DVDs.
 


Gk. more than i needed to know!  it isn't 'erase'; rather
'blank'; moreover, it seems that i can just overwrite the
dvd+rw.  

my thinkpad optical device =is=, surprisingly, good.  my old
5.3 install CD works, so if i torrent either the boot or the
8.0-'all' data, i should have something that boots and also
has all of 8.0-R. [[anybody know if i'm right/wrong/just-hoping?]]

i found the cvsup stuff on pc-bsd, and it looks very much
like my 7.3 files and directories here.  has anybody tried to
install 8.0-release FreeBSD on top of pc-bsd?  [in other
words: will it work, or am i likely to see smoke coming from
my boat-anchor?]


 -- 
 Bruce Cran

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488139] Re: Small computer to run a GUI?

2010-05-09 Thread Gary Kline
On Sun, May 09, 2010 at 07:35:06PM +0200, Leslie Jensen wrote:
 
 
 On 2010-05-09 19:15, Chris Whitehouse wrote:
 Is anyone else getting these automated replies? I have been getting them
 while including Sean Cavanagh, Andrew Gould and liontaur in replies on
 the above subject.
 
 I got one yeserday on another topic. I have no idea from whom.
 
 /Leslie
 

likewise; i saw an earlier post of mine tagged with a
#ticket, from supp...@.   strange... .

gary


 
 
 
 If the person who is responsible for these automated replies is reading
 this please could you adjust your list subscription address to prevent
 them, they are really annoying.
 
 Thanks
 
 Chris
 
 Sean Cavanaugh wrote:
 Hello,
 
 This is an automated response to inform you that your question has
 been entered into our system, and will be reviewed shortly. Your
 ticket has been submitted into the General Support department.
 
 We will respond to you as soon as possible.
 
 ==
 Please keep this information, and use it when refering to your ticket:
 
 Ticket subject: Re: Small computer to run a GUI? Ticket number: 24488139
 Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24488139
 Ticket body: Sean Cavanaugh wrote:
 
 --
 From: Chris Whitehouse cwhi...@onetel.com
 Sent: Sunday, May 09, 2010 8:03 AM
 To: Andrew Gould andrewlylego...@gmail.com
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Small computer to run a GUI?
 
 Andrew Gould wrote:
 On Fri, May 7, 2010 at 11:37 PM, Liontaur liont...@gmail.com wrote:
 On Fri, May 7, 2010 at 6:47 PM, Adam Vande More
 amvandem...@gmail.comwrote:
 
 Sounds like you want a netbook.
 
 --
 Adam Vande More
 
 I was more thinking of something without a monitor, keyboard or
 mouse. I
 want to put it in a cupboard and not worry about it. With a
 netbook i'd
 probably have to leave it open (or else it would go into suspend
 mode or
 heat up or...). I was just hoping for something Soekris size but
 with a VGA
 output.
 
 Mark
 
 Have you taken a look at the fit-PC2? Since it can run Linux, the
 odds are it can run FreeBSD as well. You might want to ask the
 creators.
 
 http://www.fit-pc.com/web/
 
 Andrew
 Nice but doesn't have a VGA port (but does have HDMI)
 
 http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/
 
 you mean like the adapter they sell?
 http://www.fit-pc.com/web/fit-pc2/accessories/
 
 Ah ha didn't see that, in fact several useful looking items on the
 same page.
 
 Oh, available soon for the vga adapter... :)
 
 Chris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 ==
 
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


a clue....

2010-05-09 Thread Gary Kline
guys, me-thinks siomebody is messing with us.  i append
something i just got from mpcustomer.com.

'host' and 'whois' don't tell very much::



tao# host 208.43.146.75
75.146.43.208.in-addr.arpa domain name pointer
secure.mpcustomer.com.
tao# whois !$
whois 208.43.146.75
SoftLayer Technologies Inc. SOFTLAYER-4-6 (NET-208-43-0-0-1)
  208.43.0.0 - 208.43.255.255
Hosting Services Inc. NET-208-43-146-64 (NET-208-43-146-64-1)
  208.43.146.64 - 208.43.146.95

# ARIN WHOIS database, last updated 2010-05-08 20:00
# Enter ? for additional hints on searching ARIN's WHOIS
database.
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at https://www.arin.net/whois_tou.html





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix

Return-Path: br...@cran.org.uk
Received: from secure.mpcustomer.com (secure.mpcustomer.com [208.43.146.75])
by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o49IEFAV057633
for kl...@thought.org; Sun, 9 May 2010 11:14:15 -0700 (PDT)
(envelope-from br...@cran.org.uk)
Received: by secure.mpcustomer.com (Postfix, from userid 99)
id 0E9B22781AF; Sun,  9 May 2010 13:14:15 -0500 (CDT)
To: Gary Kline kl...@thought.org
Subject: [#24488295] Re: magic cmd[s]??
Date: Sun, 9 May 2010 13:14:15 -0500
From: Bruce Cran br...@cran.org.uk
Reply-To: supp...@mpcustomer.com
Message-ID: 67eac0cc7ff8d25c79c2f86922bbe...@secure.mpcustomer.com
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]
X-Uberinst: uber_phase-support
X-Mailer: Ubersmith
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8
X-Spam-Status: No, score=1.4 required=3.6 tests=BAYES_00,
GUARANTEED_100_PERCENT,J_CHICKENPOX_32 autolearn=no version=3.3.0
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on ethic.thought.org
Content-Length: 2397
Lines: 62

Hello,

This is an automated response to inform you that your question has been entered 
into our system, and will be reviewed shortly. Your ticket has been submitted 
into the General Support department.

We will respond to you as soon as possible.

==
Please keep this information, and use it when refering to your ticket:

Ticket subject: Re: magic cmd[s]?? 
Ticket number: 24488295
Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24488295
Ticket body: On Sun, May 09, 2010 at 10:47:31AM +0100, Bruce Cran wrote:
 On Sunday 09 May 2010 03:54:43 Gary Kline wrote:
  for some reason, i am having trouble burning 80-release.  i did
  get the oc-bsd dvd d/loaded And burned ... and my '05 thinkpad
  recognized the dvd and installed.  i have failed several times to
  d/l the 8.0-R torrent.  the checksums are valid.  but usinng k3b
  only 50% of the task is burned.  is there some magic command or
  procedure that i'm missing in burning the iso file from my
  torrent dir to the dvd?
  
  also, how do i erase the several dvd discs that i would like to
  reuse?  there are dvd-rw.
 
 http://www.freebsd.org/doc/en/books/handbook/creating-dvds.html has a good 
 explanation of how to write and erase DVDs.
 


Gk. more than i needed to know!  it isn't 'erase'; rather
'blank'; moreover, it seems that i can just overwrite the
dvd+rw.  

my thinkpad optical device =is=, surprisingly, good.  my old
5.3 install CD works, so if i torrent either the boot or the
8.0-'all' data, i should have something that boots and also
has all of 8.0-R. [[anybody know if i'm right/wrong/just-hoping?]]

i found the cvsup stuff on pc-bsd, and it looks very much
like my 7.3 files and directories here.  has anybody tried to
install 8.0-release FreeBSD on top of pc-bsd?  [in other
words: will it work, or am i likely to see smoke coming from
my boat-anchor?]


 -- 
 Bruce Cran

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
==




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: a clue....

2010-05-09 Thread Bruce Cran
On Sunday 09 May 2010 19:40:33 Gary Kline wrote:
   guys, me-thinks siomebody is messing with us.  i append
   something i just got from mpcustomer.com.
 
   'host' and 'whois' don't tell very much::

I talked to someone in tech support through http://status.midphase.com/ who 
runs mpcustomer.com and he says he's tried to unsubscribe from the list 
without success (also tried via the web interface): the confirmation email 
never comes. I guess someone will need to remove them from the list manually.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Why TB forgets attachment application choices?

2010-05-09 Thread Yuri
This happened many times: .pps attachment comes in, I double click, I 
choose an app (openoffice). Checkbox Do this automatically for files 
like this is gray. Next time .pps comes in the whole process happens again.

Is this a bug in TB? Or is this the bug in port patches?

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-09 Thread Marc G. Fournier

On Sun, 9 May 2010, Chad Perrin wrote:


On Fri, May 07, 2010 at 02:56:49PM -0300, Marc G. Fournier wrote:


Maybe some sort of 'Server Running *BSD' icon / link from web sites to
bsdstats.org would help too ...


Not all BSD Unix systems are servers.


True, but, then again, few desktops users probably run web servers to 
display such an icon on :)


But, that said, we're looking at something like either 'Member of' or 
'Contributor to' instead ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Live Filesystem (Fixit Console) and NFS FreeBSD8

2010-05-09 Thread Grant Peel

Hi all,

I had a routine disk change that we required today, thought it would take me 
2 hours, took close to 8.


I am sure there is something I did'nt read, or do, if anyone can help me 
understand I would appreciate it.


I have several machines connected to a NFS share on a local network. When I 
put the new disk in the machine, booted it up with FreeBSD(8) Live CD, went 
to the Fixit Console, I was unable to get the machine to connect to the 
Netowrk File Share. All other machines were still connected and functioning.


I brought up the Clinet interface with:

   ifconfig em1 inet 192.168.0.5/24

and was able to ping the NFS server with no problems.

I was also able to SSH to the NFS server no problems.

The NFS server is set to allow all hosts in the 192.168.0.0/24 network.

Here is the command line I was using on the client:

   mount 192.168.0.4:/mnt /enterprise

The error I got was:

   RPCPROG_NFS: RPC: Program not registered

I tried everything I could think of to get it to work, adding 
nfs_client_enable=YES to a rc.conf I created in etc/, tried nfsiod -n 4 
... all that. I tried starting rpcbind etc etc.


Again, any help would be appreciated,

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


phys vs real vs user (avail) memory?

2010-05-09 Thread Hubert Tournier

Hello,

I was wondering about the memory indications displayed at boot time. For
example:

# dmesg| grep memory
real memory  = 51539607552 (49152 MB)
avail memory = 49663688704 (47362 MB)

The real memory is the size of the RAM modules in this computer (48 Gb).

What's avail memory? The memory left after loading the kernel and its data
structures?

# sysctl -a | grep -i hw.[a-z]*mem
hw.physmem: 51469168640
hw.usermem: 48338657280
hw.realmem: 53418655744

How come physmem be lower and realmem be higher than real memory?

As an exercise, i've been unable to malloc more than 38 Gb of memory,
despite having at least 43 Gb free at the time:

# sysctl -a | egrep
vm.stats.vm.v_(free_count|inactive_count|cache_count|page_size)
vm.stats.vm.v_cache_count: 19
vm.stats.vm.v_inactive_count: 2113
vm.stats.vm.v_free_count: 11414720
vm.stats.vm.v_page_size: 4096
# sysctl kern.maxdsiz
kern.maxdsiz: 51539607552
# mdconfig -a -t malloc -o reserve -s 38g
md0
# mdconfig -d -u 0
# mdconfig -a -t malloc -o reserve -s 39g
mdconfig: ioctl(/dev/mdctl): Cannot allocate memory

Just for the sake of curiosity, any idea about why?

Best regards,

Hubert
-- 
View this message in context: 
http://old.nabble.com/phys-vs-real-vs-user-%28avail%29-memory--tp28505453p28505453.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File system

2010-05-09 Thread Robert Bonomi
P
 From owner-freebsd-questi...@freebsd.org  Sat May  8 21:04:45 2010
 Date: Sat, 8 May 2010 21:36:17 -0400
 From: Ansar Mohammed ans...@gmail.com
 To: freebsd-questions@freebsd.org
 Subject: File system

 Hello All,
 I have a FreeBSD VM running. Whenever I reboot the VM without a clean
 shutdown it boots into single user mode and I have to run fsck.

 When I run fsck, the file system clearly has issues.

 Is there any way to have FreeBSD run on a better file system that wont crap
 out on me everytime I do and unclean shutdown?

This is a DDT problem -- as in Don't Do That.
The -correct- fix is to 'change your expectations' -- and change your 
behavior.  *DO* a clean shutdown _before_ repooting the VM.  solves all your 
self-induced(!!) problems.

Unix-type operating systems are intended for use by people who -know- what
they are doing. As such, it makes little effort to protect admins from 
_their_own_ mistakes.  Unix, and by derivation FreeBSD, _will_ *WILLINGLY*
give you enough rope to hang yourself, if you ask for it.  This is one 
of the _strengths_ of Unix -- it does *NOT* restrict you to what 'someone
else' thinks is reasonable.  Corollary: more 'smarts' are required on the
part of the admin, _because_ you do not have the 'restricted choices' of
someone else's criteria.

You can either Do things the _right_ way, as described in the 'fine manual',
which it is _necessary_ to read, or you can persist in risky/wrong/stupid
behaviors, and 'hope for' less-than-catatstrophic results from that 'bad
behavior'.  *YOUR* choice.

That said, If you intend to persist in doing things the 'wrong way', ther
are some things you can try, to ameliorate the problems you're having:

1) You can try running with all disks restricted to 'synchronous' operations;
   This =will= keep the filesystem 'clean' _almost_ all the time, and your 
   BAD IDEA(TM) arbitrary reboots will find only minimal (if any) fsck issues.
   You _will_ pay a *tremendous* price in system performance for using this
   option, however.

2) You could try using a 'journaling' filesystem, *BUT* you'd have to build/
   implement it yourself.  Journaling filesystems are deliberately _not_ 
   provided with FreeBSD, due to security issues/implications with them.
   _You_ will have to decide if the security risks in *your* envrionment are
   worth the (limited) benefits.

3) you can switch to an OS _intended_ for use by the ill-informed; where the
   provider makes all the decisions for you, and allows only what they think
   is reasonable.  BUT, such an OS isn't going to look like Unix, nor feel
   like it, nor act like it.

Again, _YOUR_ choice.

To quote from one of the Indiana Jones movies: choose wisely.





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488400] Why TB forgets attachment application choices?

2010-05-09 Thread Yuri

supp...@midphase.com wrote:

Hello,
I'm unsure of what you are referring to as TB. Are you referring to a 
Dedicated server, by chance? (You have reached Shared Hosting support. We are not 
familiar with the Dedicated systems.)
  


I didn't contact any midphase and don't know what that refers to, and 
why modphase replies.
TB =ThunderBird. I wrote to ge...@freebsd.org and CC to 
freebsd-questi...@freebsd.org.


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488400] Why TB forgets attachment application choices?

2010-05-09 Thread support
Hello,
I'm unsure of what you are referring to as TB. Are you referring to a 
Dedicated server, by chance? (You have reached Shared Hosting support. We are 
not familiar with the Dedicated systems.)
Also:

You are contacting us from an unauthorized email address. In order to verify
that you are an authorized user and provide you with sensitive information or
management for this account, we’ll need your Client ID and any of the following
information from you that is on file with midPhase.

1. The last 4 digits of your credit card and the expiration on your credit
card.

2. A copy of your welcome email can also suffice to verify you.

3. An email from the authorized email contact on your account.

If you are unable to provide any of this information, you can either call us at
1-866-643-7427 or internationally at 1-435-787-7101 from the phone # on file, or
you can just open a new ticket from the email address we have on file for you.

We look forward to hearing from you soon. Thank you.
-- 
Best regards,

Breanne “Cari” Carlson
Technical Support Representative
Hosting Services

-
How was your experience with this ticket? Please let us know by completing the 
following survey: 
https://secure.mpcustomer.com/order/phpQ/fillsurvey.php?sid=2id=24488400

For answers to common questions please check our knowledgebase at 
midphasehelp.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488400] Why TB forgets attachment application choices?

2010-05-09 Thread support
Hello Yuri,

Someone looks to be forwarding an address from the mailing list to our queue. 

We are currently working to track down what address is being used so we can 
take steps to stop it.
-- 
Best regards,

Brandon Scriver
Technical Support Representative
Hosting Services Inc.

-
How was your experience with this ticket? Please let us know by completing the 
following survey: 
https://secure.mpcustomer.com/order/phpQ/fillsurvey.php?sid=2id=24488400

For answers to common questions please check our knowledgebase at 
midphasehelp.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488400] Why TB forgets attachment application choices?

2010-05-09 Thread Gary Kline
On Sun, May 09, 2010 at 03:10:08PM -0700, Yuri wrote:
 supp...@midphase.com wrote:
 Hello,
 I'm unsure of what you are referring to as TB. Are you referring to a 
 Dedicated server, by chance? (You have reached Shared Hosting support. We 
 are not familiar with the Dedicated systems.)
   
 
 I didn't contact any midphase and don't know what that refers to, and 
 why modphase replies.
 TB =ThunderBird. I wrote to ge...@freebsd.org and CC to 
 freebsd-questi...@freebsd.org.
 
 Yuri


hi people,

first, thanks to bruce cran for calling midphase.com from the
uk and getting involved.  i was ready to fire off some ugly
email their way about this fmess-up since i was the first
poster #ticketed. 

i do not appreciate this kind of prank anymore than anyone
else onlist.  this may be yet-another-kiddie-scriptor who has
found more holes in php-ware.  ...i trust than when he is 
found:: show no mercy, take no prisoners.

gary

(***)



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Live Filesystem (Fixit Console) and NFS FreeBSD8

2010-05-09 Thread Grant Peel

Robert,

Maybe I should rephrase the question:

What would the correct procedure be to connect a machine to an NFS share on 
another machine (local network, hardware already connected) with NFS using 
the FreeBSD(8)  Live CD (Fixit Console)?


-Grant

- Original Message - 
From: Robert Bonomi bon...@mail.r-bonomi.com

To: gp...@thenetnow.com
Sent: Sunday, May 09, 2010 6:27 PM
Subject: Re: Live Filesystem (Fixit Console) and NFS FreeBSD8



From owner-freebsd-questi...@freebsd.org  Sun May  9 15:49:35 2010
From: Grant Peel gp...@thenetnow.com
To: freebsd-questions@freebsd.org
Date: Sun, 9 May 2010 16:49:17 -0400
Subject: Live Filesystem (Fixit Console) and NFS FreeBSD8

Hi all,

I had a routine disk change that we required today, thought it would take 
me

2 hours, took close to 8.

I am sure there is something I did'nt read, or do, if anyone can help me
understand I would appreciate it.

I have several machines connected to a NFS share on a local network. When 
I
put the new disk in the machine, booted it up with FreeBSD(8) Live CD, 
went

to the Fixit Console, I was unable to get the machine to connect to the
Netowrk File Share. All other machines were still connected and 
functioning.


I brought up the Clinet interface with:

ifconfig em1 inet 192.168.0.5/24

and was able to ping the NFS server with no problems.

I was also able to SSH to the NFS server no problems.

The NFS server is set to allow all hosts in the 192.168.0.0/24 network.

Here is the command line I was using on the client:

mount 192.168.0.4:/mnt /enterprise

The error I got was:

RPCPROG_NFS: RPC: Program not registered

I tried everything I could think of to get it to work, adding
nfs_client_enable=YES to a rc.conf I created in etc/, tried nfsiod -n 4
... all that. I tried starting rpcbind etc etc.

Again, any help would be appreciated,


you need the portmapper running
you need 'nfsd'
and you need 'nfsiod'

AND you need NIS (the 'yp*' stuff) running.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


port pkg-plist

2010-05-09 Thread Fbsd1
In a port I am creating I have some files that are not in the /usr/local 
directory tree. There in /var/log  /var/db. What is the correct format 
of the statement in ports pkg-plist file to have these files deleted 
when the port is deleted with pkg_delete command.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port pkg-plist

2010-05-09 Thread Fbsd1

Yuri Pankov wrote:

On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:

In a port I am creating I have some files that are not in the
/usr/local directory tree. There in /var/log  /var/db. What is the
correct format of the statement in ports pkg-plist file to have
these files deleted when the port is deleted with pkg_delete
command.



@cwd /var
db/dbfile
log/logfile

HTH,
Yuri



Thanks that worked. Have another question.
During the install of the port it adds a enable=YES statement to 
/etc/rc.conf. It there some pre-canned way to auto remove that statement 
when the port is deleted with pkg_delete command?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port pkg-plist

2010-05-09 Thread Yuri Pankov
On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:
 In a port I am creating I have some files that are not in the
 /usr/local directory tree. There in /var/log  /var/db. What is the
 correct format of the statement in ports pkg-plist file to have
 these files deleted when the port is deleted with pkg_delete
 command.


@cwd /var
db/dbfile
log/logfile

HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port pkg-plist

2010-05-09 Thread Yuri Pankov
On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:
 Yuri Pankov wrote:
 On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:
 In a port I am creating I have some files that are not in the
 /usr/local directory tree. There in /var/log  /var/db. What is the
 correct format of the statement in ports pkg-plist file to have
 these files deleted when the port is deleted with pkg_delete
 command.
 
 
 @cwd /var
 db/dbfile
 log/logfile
 
 HTH,
 Yuri
 
 
 Thanks that worked. Have another question.
 During the install of the port it adds a enable=YES statement to
 /etc/rc.conf. It there some pre-canned way to auto remove that
 statement when the port is deleted with pkg_delete command?

You shouldn't directly modify rc.conf to enable some service, put
instructions on how to enable it in pkg-message instead.

Having said that, check @unexec command, which is run on package
deinstallation.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port pkg-plist

2010-05-09 Thread Fbsd1

Yuri Pankov wrote:

On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:

Yuri Pankov wrote:

On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:

In a port I am creating I have some files that are not in the
/usr/local directory tree. There in /var/log  /var/db. What is the
correct format of the statement in ports pkg-plist file to have
these files deleted when the port is deleted with pkg_delete
command.


@cwd /var
db/dbfile
log/logfile

HTH,
Yuri



Thanks that worked. Have another question.
During the install of the port it adds a enable=YES statement to
/etc/rc.conf. It there some pre-canned way to auto remove that
statement when the port is deleted with pkg_delete command?


You shouldn't directly modify rc.conf to enable some service, put
instructions on how to enable it in pkg-message instead.

Having said that, check @unexec command, which is run on package
deinstallation.

Yuri


Where do I find doc on this @unexec command?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSDstats website displaying data incorrectly

2010-05-09 Thread Aiza

Bobby Walker wrote:



On Thu, 6 May 2010, Fbsd1 wrote:

Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=
And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD
Why is this? I would think both should show the same value, or you
better add explanation to the web page why the count is different.


This was a database setup problem, and I've updated the code to pull out of the 
proper database.   if anyone notices any other discrepancies please let me know.

Thanks,
Bobby___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Why does
http://www.bsdstats.org/
and
http://bsdstats.hub.org/bt/home.html?os=FreeBSD
still show different counts if you fixed this problem?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port pkg-plist

2010-05-09 Thread Yuri Pankov
On Mon, May 10, 2010 at 08:32:26AM +0800, Fbsd1 wrote:
 Yuri Pankov wrote:
 On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:
 Yuri Pankov wrote:
 On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:
 In a port I am creating I have some files that are not in the
 /usr/local directory tree. There in /var/log  /var/db. What is the
 correct format of the statement in ports pkg-plist file to have
 these files deleted when the port is deleted with pkg_delete
 command.
 
 @cwd /var
 db/dbfile
 log/logfile
 
 HTH,
 Yuri
 
 
 Thanks that worked. Have another question.
 During the install of the port it adds a enable=YES statement to
 /etc/rc.conf. It there some pre-canned way to auto remove that
 statement when the port is deleted with pkg_delete command?
 
 You shouldn't directly modify rc.conf to enable some service, put
 instructions on how to enable it in pkg-message instead.
 
 Having said that, check @unexec command, which is run on package
 deinstallation.
 
 Yuri
 
 Where do I find doc on this @unexec command?

All these commands are documented in pkg_create(1).


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [#24488694] port pkg-plist

2010-05-09 Thread support
Hello,

Please remove supp...@midphase.com and any other @midphase.com from your 
mailing list, thank you.

-- 
Best regards,

Joseph J.J. Montgomery
Technical Support Representative
Hosting Services, Inc.

-
How was your experience with this ticket? Please let us know by completing the 
following survey: 
https://secure.mpcustomer.com/order/phpQ/fillsurvey.php?sid=2id=24488694

For answers to common questions please check our knowledgebase at 
midphasehelp.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port pkg-plist

2010-05-09 Thread Fbsd1

Yuri Pankov wrote:

On Mon, May 10, 2010 at 08:32:26AM +0800, Fbsd1 wrote:

Yuri Pankov wrote:

On Mon, May 10, 2010 at 08:19:35AM +0800, Fbsd1 wrote:

Yuri Pankov wrote:

On Mon, May 10, 2010 at 07:46:09AM +0800, Fbsd1 wrote:

In a port I am creating I have some files that are not in the
/usr/local directory tree. There in /var/log  /var/db. What is the
correct format of the statement in ports pkg-plist file to have
these files deleted when the port is deleted with pkg_delete
command.


@cwd /var
db/dbfile
log/logfile

HTH,
Yuri



Thanks that worked. Have another question.
During the install of the port it adds a enable=YES statement to
/etc/rc.conf. It there some pre-canned way to auto remove that
statement when the port is deleted with pkg_delete command?

You shouldn't directly modify rc.conf to enable some service, put
instructions on how to enable it in pkg-message instead.

Having said that, check @unexec command, which is run on package
deinstallation.

Yuri


Where do I find doc on this @unexec command?


All these commands are documented in pkg_create(1).



Thanks I read that. It will launch what I want to do at deinstall time.
But I still need code to parse through a config file looking for a match 
to the desired literal and then delete that line from the config file 
and save it. I dont know how to do that in a .sh script. I need a sample 
doing that using the @unexec command and then I will be able to tweak it 
to my needs.

Can you help me out?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSDstats website displaying data incorrectly

2010-05-09 Thread Bobby Walker

On May 9, 2010, at 7:53 PM, Aiza wrote:

 Bobby Walker wrote:
 
 On Thu, 6 May 2010, Fbsd1 wrote:
 Why does this page show PCBSD has count of 387
 http://www.bsdstats.org/bt/home.html?os=
 And this page shows PCBSD has count of 1307
 http://www.bsdstats.org/bt/home.html?os=PC-BSD
 Why is this? I would think both should show the same value, or you
 better add explanation to the web page why the count is different.
 This was a database setup problem, and I've updated the code to pull out of 
 the proper database.   if anyone notices any other discrepancies please let 
 me know.
 Thanks,
 Bobby___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 Why does
 http://www.bsdstats.org/
 and
 http://bsdstats.hub.org/bt/home.html?os=FreeBSD
 still show different counts if you fixed this problem?

I made the correction on the development site and did not have any issues.  In 
fact, I still don't have problems with it at all.  On the live site, though, 
there's something amiss with the way the template system is interacting with 
the database.  So, I'm trying to track down the problem.

Here are my temporary hurdles, I'm still wading through the template system.  
The more familiar I get with the layout of that, the faster things seem to go.  
And I usually get an hour or so a day to work with it.  But, I am plugging away 
at it.

I'll post an update when I isolate the erroneous problems.  Thanks for the 
heads up!

-- Bobby


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1
I want to search every line in the specified file for a literal and if 
found then delete that line from the file and save the file all from 
within a sh type of shell script.


Does anyone have a example they would share with me?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to find literal in file and them delete that line

2010-05-09 Thread Alberto Mijares
On Sun, May 9, 2010 at 11:08 PM, Fbsd1 fb...@a1poweruser.com wrote:
 I want to search every line in the specified file for a literal and if found
 then delete that line from the file and save the file all from within a sh
 type of shell script.


man(1) sed

Regards


Alberto Mijares
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1

Alberto Mijares wrote:

On Sun, May 9, 2010 at 11:08 PM, Fbsd1 fb...@a1poweruser.com wrote:

I want to search every line in the specified file for a literal and if found
then delete that line from the file and save the file all from within a sh
type of shell script.



man(1) sed

Regards


That makes no sense to me.
need example

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to find literal in file and them delete that line

2010-05-09 Thread Sahil Tandon
On Mon, 10 May 2010, Fbsd1 wrote:

 Alberto Mijares wrote:
 On Sun, May 9, 2010 at 11:08 PM, Fbsd1 fb...@a1poweruser.com wrote:
 I want to search every line in the specified file for a literal and if found
 then delete that line from the file and save the file all from within a sh
 type of shell script.
 
 man(1) sed
 
 That makes no sense to me.
 need example

What makes no sense?  The sed(1) man page?  Which section in particular
is confusing?  And please, explain the rationale for making your port
automatically edit /etc/rc.conf.

-- 
Sahil Tandon sa...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSDstats website displaying data incorrectly

2010-05-09 Thread Marc G. Fournier


Just to elaborate on the issue ... it looks like both of those pages are 
using different QUERIES to the database ... in the former, it is using a 
system view that I was able to update after we fixed the issue with 
country reporting, such that it doesn't show records older then that date 
... the latter page is pulling the data via a different method (which 
Bobby is looking into) so that its actually pulling in older date (ie. a 
two months average vs just the past 10 days or so) ...


Both are accurate, just different time periods ...

On Sun, 9 May 2010, Bobby Walker wrote:



On May 9, 2010, at 7:53 PM, Aiza wrote:


Bobby Walker wrote:



On Thu, 6 May 2010, Fbsd1 wrote:

Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=
And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD
Why is this? I would think both should show the same value, or you
better add explanation to the web page why the count is different.

This was a database setup problem, and I've updated the code to pull out of the 
proper database.   if anyone notices any other discrepancies please let me know.
Thanks,
Bobby___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Why does
http://www.bsdstats.org/
and
http://bsdstats.hub.org/bt/home.html?os=FreeBSD
still show different counts if you fixed this problem?


I made the correction on the development site and did not have any issues.  In 
fact, I still don't have problems with it at all.  On the live site, though, 
there's something amiss with the way the template system is interacting with 
the database.  So, I'm trying to track down the problem.

Here are my temporary hurdles, I'm still wading through the template system.  
The more familiar I get with the layout of that, the faster things seem to go.  
And I usually get an hour or so a day to work with it.  But, I am plugging away 
at it.

I'll post an update when I isolate the erroneous problems.  Thanks for the 
heads up!

-- Bobby


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1

Sahil Tandon wrote:

On Mon, 10 May 2010, Fbsd1 wrote:


Alberto Mijares wrote:

On Sun, May 9, 2010 at 11:08 PM, Fbsd1 fb...@a1poweruser.com wrote:

I want to search every line in the specified file for a literal and if found
then delete that line from the file and save the file all from within a sh
type of shell script.

man(1) sed


That makes no sense to me.
need example


What makes no sense?  The sed(1) man page?  Which section in particular
is confusing?  And please, explain the rationale for making your port
automatically edit /etc/rc.conf.


editing /etc/rc.conf was just given as a example for the post.
Yes the whole man sed reads like Greek. For a neophyte programmer I can 
not even begin to comprehend what its saying. That man page needs 
examples of use. You have forgotten that those man pages are for 
reference for people who all ready know how to use it. Its not intended 
for novices. So yes it's useless to me.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to find literal in file and them delete that line

2010-05-09 Thread b. f.
Alberto Mijares wrote:
 On Sun, May 9, 2010 at 11:08 PM, Fbsd1 fbsd1 at a1poweruser.com wrote:
 I want to search every line in the specified file for a literal and if found
 then delete that line from the file and save the file all from within a sh
 type of shell script.


 man(1) sed

 Regards

That makes no sense to me.
need example

It would make sense if you read the sed(1) and re_format(7) manpages.
They may be a pain at first, but they are used often and can make your
life a lot easier.  There are also a lot of tutorial on the web, with
many useful examples, e.g.:

http://sed.sourceforge.net/grabbag/

He is suggesting that, rather than using sh(1), you should use sed(1),
which is typically used for this sort of task, and is also part of the
base system, in some fashion like, for example:

sed -e '/literal/d' file

If you insist on doing this with sh(1), which will probably be less
efficient, then you can cobble something together with a 'case'
statement, or parameter expansion with substring processing.  See the
sh(1) manpage.

I hope that you are not intending to use this for a FreeBSD Port in
the context of your earlier message.  As someone else has already told
you, ports should _not_ be automatically editing configuration files
like rc.conf.  Instead they should just indicate what should be added
by the user or administrator in a pkg-message. Although you are free
to do whatever you want on your own system, if you submit a port that
attempts to tamper with such files to FreeBSD Ports, it is likely that
that part of your submission will be rejected.

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to find literal in file and them delete that line

2010-05-09 Thread Fbsd1

b. f. wrote:

Alberto Mijares wrote:

snip


It would make sense if you read the sed(1) and re_format(7) manpages.
They may be a pain at first, but they are used often and can make your
life a lot easier.  There are also a lot of tutorial on the web, with
many useful examples, e.g.:

http://sed.sourceforge.net/grabbag/

He is suggesting that, rather than using sh(1), you should use sed(1),
which is typically used for this sort of task, and is also part of the
base system, in some fashion like, for example:

sed -e '/literal/d' file

If you insist on doing this with sh(1), which will probably be less
efficient, then you can cobble something together with a 'case'
statement, or parameter expansion with substring processing.  See the
sh(1) manpage.

I hope that you are not intending to use this for a FreeBSD Port in
the context of your earlier message.  As someone else has already told
you, ports should _not_ be automatically editing configuration files
like rc.conf.  Instead they should just indicate what should be added
by the user or administrator in a pkg-message. Although you are free
to do whatever you want on your own system, if you submit a port that
attempts to tamper with such files to FreeBSD Ports, it is likely that
that part of your submission will be rejected.

Thank you for your kind in-sight. Using sh was again just comments to 
help explain what I needed help with. A list reader replied offline with 
examples and now I have what I needed to proceed.

Thanks to all who replied.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org