Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-questions Digest, Vol 303, Issue 7

0 views
Skip to first unread message

freebsd-ques...@freebsd.org

unread,
Mar 24, 2010, 8:00:23 AM3/24/10
to freebsd-...@freebsd.org
Send freebsd-questions mailing list submissions to
freebsd-...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-ques...@freebsd.org

You can reach the person managing the list at
freebsd-que...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

1. Re: Also have a dead box [ WAS: Re: OT: dead box ] (Al Plant)
2. Free BSD Licensing (jegu...@rockwellcollins.com)
3. Re: Free BSD Licensing (Gary Gatten)
4. Re: Free BSD Licensing (Matthew Seaman)
5. Re: Elegant way to hack port source (Greg Larkin)
6. checkup (madunix)
7. Re: Flash sometimes freezes firefox, also many npviewer.bin
processes left running around (Steve Franks)
8. Re: checkup (Glen Barber)
9. Re: Free BSD Licensing (Henrik Hudson)
10. Re: Also have a dead box [ WAS: Re: OT: dead box ]
(Corey John Bukolt)
11. Re: Also have a dead box [ WAS: Re: OT: dead box ]
(Corey John Bukolt)
12. Re: Free BSD Licensing (Mehmet Erol Sanliturk)
13. Re: FreeBSD NFS client goes into infinite retry loop
(Rick Macklem)
14. Re: mysql can't running (Michael Powell)
15. delete directory (Aiza)
16. Re: delete directory (Michael Powell)
17. Re: mysql can't running (Michael Powell)
18. Re: kernel panic when if_lagg is not loaded. (Xin LI)
19. amd64 8.0 with zfs root and raidz ? (Gene)
20. Re: amd64 8.0 with zfs root and raidz ? (Randal L. Schwartz)
21. freebsd-update(8) under sparc64? Why is it not available?
(Adam PAPAI)
22. Re: freebsd-update(8) under sparc64? Why is it not available?
(Mark Linimon)
23. Re: freebsd-update(8) under sparc64? Why is it not available?
(Adam PAPAI)
24. Upgrading from 6.1 to 7.3 (Sigmar Muuga)
25. Re: Upgrading from 6.1 to 7.3 (Adam PAPAI)
26. Re: delete directory (krad)
27. Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
(O. Hartmann)
28. Re: Upgrading from 6.1 to 7.3 (Mikolaj Rydzewski)
29. Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
(Jerry)
30. simple zfs query (John)
31. Re: Free BSD Licensing (Richard Tobin)
32. Re: simple zfs query (Matthew Seaman)
33. Re: delete directory (Daniel Bye)
34. Re: delete directory (Nathan Vidican)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Mar 2010 08:32:09 -1000
From: Al Plant <n...@hdk5.net>
Subject: Re: Also have a dead box [ WAS: Re: OT: dead box ]
To: Tim Judd <taj...@gmail.com>
Cc: 40...@gmx.com, freebsd-questions <freebsd-...@freebsd.org>
Message-ID: <4BA90929...@hdk5.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Tim Judd wrote:
> On 3/23/10, Corey John Bukolt <ruinerma...@gmail.com> wrote:
>> On Sun, 21 Mar 2010 11:23:34 +0000 (06:23 CDT) Chris Whitehouse wrote:
>>> When you press the power button does the cpu fan or the power supply fan
>>> spin for a moment then stop? That's a sign that something on or plugged
>>> in to the motherboard has blown. Unplug things and test again.
>>>
>>> Chris
>> Just a few days ago, I was helping a friend build a system (with all
>> brand new components, I might add) and we had this very problem. After
>> sticking in the CPU and RAM and hooking up and turning on the PSU, the
>> green LED on the motherboard turns on. However, the second the power
>> button is pressed, everything flashes for a second, then turns back off.
>> The green LED on the motherboard also remains on. The only way to get
>> it to flash again is to turn off the PSU, wait, then turn it back on.
>> We tried re-seating everything, to no avail.
>>
>> Reading this thread, someone else mentioned beep codes and that if there
>> were none, it's most likely a fried motherboard.
>>
>> Can anyone else confirm this?
>>
>> ~Corey
>
>
> Best way to confirm a dead board in any case is those POST diagnosis
> cards. They have a dual-digit LED output that changes depending on
> the signal on the wire. If at any time those dual-digit LEDs stay
> permanently on anything OTHER THAN 00 is a failed POST. If it fails
> before it gets a shot at testing RAM or anything, there may be no beep
> codes.
>
>
> Always good to have one in a toolkit.
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
>
Aloha,

If it shuts off as described check for a power supply that tests ok but
is NOT compatible with the motherboard. Many high end mobo's need a
power supply that feeds a steady current. The component detection on the
better mobos will shut the board down if it is not the quality tolerance
it likes.

We just experienced this here two weeks ago with all new components and
the supplier of the components replaced the brand new Power Supply with
a better quality one at their expense and the box works fine now. This
was a mother board that was not cheap. My wife needed to upgrade for
video editing etc. The supplier said they had this problem with several
of the better boards.


~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740
+ http://hawaiidakine.com + http://freebsdinfo.org +
+ http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* +
< email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

------------------------------

Message: 2
Date: Tue, 23 Mar 2010 09:40:15 -0500
From: jegu...@rockwellcollins.com
Subject: Free BSD Licensing
To: ques...@FreeBSD.org
Message-ID:
<OF3BC68AD3.71E03CEF-ON862576...@rockwellcollins.com>

Content-Type: text/plain; charset="US-ASCII"

Free BSD representative,

I am inquiring if Free BSD is installable under the The GNU General Public
License (short: GNU GPL or simply GPL)? Need to verify that for the
requester of this software as coming through our subcontracts division.


Jack Guelff
Subcontracts Administrator
Software and Intellectual Property Licensing
Office: (319) 263-0985
Fax: (319) 295-2075
jegu...@rockwellcollins.com


------------------------------

Message: 3
Date: Tue, 23 Mar 2010 14:35:40 -0500
From: Gary Gatten <Gga...@waddell.com>
Subject: Re: Free BSD Licensing
To: "'jegu...@rockwellcollins.com'" <jegu...@rockwellcollins.com>,
"'ques...@FreeBSD.org'" <ques...@FreeBSD.org>
Message-ID:
<D9B37353831173459FDA...@WADPMBXV0.waddell.com>
Content-Type: text/plain; charset="utf-8"

FBSD has it's own licensing. I'll defer to others as to the details, or visit www.freebsd.org

----- Original Message -----
From: owner-freeb...@freebsd.org <owner-freeb...@freebsd.org>
To: ques...@FreeBSD.org <ques...@FreeBSD.org>
Sent: Tue Mar 23 09:40:15 2010
Subject: Free BSD Licensing

Free BSD representative,

I am inquiring if Free BSD is installable under the The GNU General Public
License (short: GNU GPL or simply GPL)? Need to verify that for the
requester of this software as coming through our subcontracts division.


Jack Guelff
Subcontracts Administrator
Software and Intellectual Property Licensing
Office: (319) 263-0985
Fax: (319) 295-2075
jegu...@rockwellcollins.com

------------------------------

Message: 4
Date: Tue, 23 Mar 2010 19:41:13 +0000
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: Free BSD Licensing
To: freebsd-...@freebsd.org
Message-ID: <4BA91959...@infracaninophile.co.uk>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/03/2010 14:40:15, jegu...@rockwellcollins.com wrote:
> Free BSD representative,
>
> I am inquiring if Free BSD is installable under the The GNU General Public
> License (short: GNU GPL or simply GPL)? Need to verify that for the
> requester of this software as coming through our subcontracts division.

Mostly FreeBSD uses the FreeBSD license:

http://www.freebsd.org/copyright/freebsd-license.html

This is an open-source license according to the OSI terms. Some
software within the FreeBSD distribution is licensed under the GPL or LGPL.

As the FreeBSD license is less restrictive than the GPL, it's pretty
much safe to say that wherever you are permitted install GPL'd software,
you could substitute FreeBSD licensed software without legal penalty.
(Note: *install* -- redistribution is a different matter)

Cheers,

Matthew

- --
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/

iEYEARECAAYFAkupGVkACgkQ8Mjk52CukIx/EACghGCkDasLFw/1tVlBO/mlZR3f
P0UAn0iZDeRfWg8t30lPXfHSgo+NycHx
=QjnI
-----END PGP SIGNATURE-----


------------------------------

Message: 5
Date: Tue, 23 Mar 2010 15:45:47 -0400
From: Greg Larkin <gla...@FreeBSD.org>
Subject: Re: Elegant way to hack port source
To: Paul Schmehl <pschmeh...@tx.rr.com>
Cc: freebsd-...@freebsd.org
Message-ID: <4BA91A6B...@FreeBSD.org>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Schmehl wrote:
> --On Friday, March 19, 2010 19:02:45 -0400 Greg Larkin
> <gla...@FreeBSD.org> wrote:
>>
>> Here's something else that I've found really useful as a port creator,
>> maintainer and troubleshooter. If I want to make some additional
>> changes to a source file that is patched by a file stored in
>> files/patch-...., I'll do this:
>>
>> make patch # extracts source and patches files
>> cd work/foobar/...
>> # Now make additional edits in patched file, leaving the
>> # .orig file alone
>> cd ../back/to/port/directory
>> make makepatch
>>
>> The makepatch target recurses through the work/foobar directory and
>> creates diffs for all file.ext/file.ext.orig pairs. It writes them to
>> the files/ directory with the patch- prefix on each so the patch target
>> processes them.
>>
>> The only thing to watch out for here, is that makepatch has its own file
>> naming convention that doesn't always mirror the port creator's. For
>> instance, some ports have patch files named "patch-aa", "patch-ab", etc.
>> The makepatch target will recreate them with filenames based on the
>> directory and filename of the file to be patched during the build.
>>
>> Hope that helps,
>
> Man, does it ever. Thanks for that.
>
> Which brings me to an obvious question. Where can I go to find out what
> all of the make targets are? Is it in /usr/ports/Mk/?
>

Hi Paul,

Yes, that's the first place to look, and there's a lot of documentation
about the different variable that control the build process at the top
of that file, too. Here's a command that gives a rough list of the
available targets:

egrep '^[a-zA-Z0-9-]+:$' /usr/ports/Mk/bsd.port.mk | sort -u

bsd.port.mk includes various other .mk files depending on what flags are
set in the port Makefile, /etc/make.conf and the environment.

Hmm, I just found a new target named "update-patches", and I have to go
investigate what that does!

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLqRpr0sRouByUApARAskmAJ93A205wIVNU4Mj6IHR7ZxDWFGn8gCfdWch
OtQ1c5gbRGeKecdLutJG+JE=
=xBkv
-----END PGP SIGNATURE-----

------------------------------

Message: 6
Date: Tue, 23 Mar 2010 21:36:43 +0200
From: madunix <mad...@gmail.com>
Subject: checkup
To: ques...@freebsd.org
Message-ID:
<4d3f56c91003231236r379...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Dear bsd's
I want to create checkup script bash/perl to run on daily basis in
order to do checkup routine for a multiple 20xlinux server
(centos/rhel/suse/freebsd). Some kind of a list, making sure all of
the relevant services are working properly: hardware, filesystens
mounted, ip address, hostname, login user, cpu, network services,
databases oracle, mysql, ftp, http, samba,quota, log all these output
into file and mail it to admin daily.

can you help.

Thanks


------------------------------

Message: 7
Date: Tue, 23 Mar 2010 13:05:25 -0700
From: Steve Franks <bahama...@gmail.com>
Subject: Re: Flash sometimes freezes firefox, also many npviewer.bin
processes left running around
To: "Alexandre L." <axe...@ymail.com>
Cc: yu...@rawbw.com, freebsd-...@freebsd.org
Message-ID:
<539c60b91003231305t24...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Mar 23, 2010 at 1:37 AM, Alexandre L. <axe...@ymail.com> wrote:
> No, the addon called "NoScript" is used to block JavaScript, Flash and co. But here the problem is the npviewer and/or the Flash plugin that is/are buggy.
> If you want to see a video on Youtube for example, you must allow JavaScript and Flash for Youtube in "NoScript". Otherwise you can't see the video.
> I use this addon in Firefox 3.6 to block unwanted scripts but when I use Flash I got the same problem.

Well, yeah. But if it's blocked, it doesn't get run, and if it
doesn't run, it doesn't consume 100% of your cpu. I find it's usually
advertisements anyway. If you really need to watch a youtube, you
click the noscript icon and unblock it, then when you're done, you
execute killall npviewer.bin. That's the best solution I've found
yet, and it bites, just like flash bites, and gnash bites, all in
their own extra special way.

Steve


------------------------------

Message: 8
Date: Tue, 23 Mar 2010 16:06:59 -0400
From: Glen Barber <glen.j...@gmail.com>
Subject: Re: checkup
To: madunix <mad...@gmail.com>
Cc: ques...@freebsd.org
Message-ID: <20100323200...@orion.hsd1.pa.comcast.net>
Content-Type: text/plain; charset=us-ascii

Hi,

madunix wrote:
> Dear bsd's
> I want to create checkup script bash/perl to run on daily basis in
> order to do checkup routine for a multiple 20xlinux server
> (centos/rhel/suse/freebsd). Some kind of a list, making sure all of
> the relevant services are working properly: hardware, filesystens
> mounted, ip address, hostname, login user, cpu, network services,
> databases oracle, mysql, ftp, http, samba,quota, log all these output
> into file and mail it to admin daily.
>
> can you help.
>

Unless you have a reason to reinvent the wheel, you might have a look at
ports/net-mgmt/nagios.

Regards,

--
Glen Barber


------------------------------

Message: 9
Date: Tue, 23 Mar 2010 11:55:58 -0800
From: Henrik Hudson <li...@rhavenn.net>
Subject: Re: Free BSD Licensing
To: jegu...@rockwellcollins.com
Cc: ques...@FreeBSD.org
Message-ID: <20100323195...@alucard.int.rhavenn.net>
Content-Type: text/plain; charset=us-ascii

On Tue, 23 Mar 2010, jegu...@rockwellcollins.com wrote:

> Free BSD representative,
>
> I am inquiring if Free BSD is installable under the The GNU General Public
> License (short: GNU GPL or simply GPL)? Need to verify that for the
> requester of this software as coming through our subcontracts division.

How do you install something "under" a license? FreeBSD is developed
and distributed using the BSD license. More information is available
at www.freebsd.org

If you're wondering whether or not FreeBSD is freely available and
can be installed in a commerical environment then the short answer would
be yes. However, I encourage you to read the licensing clauses
available on www.freebsd.org, specifically here:
http://www.freebsd.org/copyright/freebsd-license.html

This wiki gives a decent overview of the differences:
http://en.wikipedia.org/wiki/Free_software_licence


Henrik
--
Henrik Hudson
li...@rhavenn.net
-----------------------------------------
"God, root, what is difference?" Pitr; UF

------------------------------

Message: 10
Date: Tue, 23 Mar 2010 16:31:53 -0500
From: Corey John Bukolt <ruinerma...@gmail.com>
Subject: Re: Also have a dead box [ WAS: Re: OT: dead box ]
To: Frank Shute <fr...@shute.org.uk>
Cc: freebsd-questions <freebsd-...@freebsd.org>
Message-ID: <1269379913.4...@ignis.bukolt.lan>
Content-Type: text/plain; charset="us-ascii"

On Tue, 2010-03-23 at 10:38 +0000, Frank Shute wrote:
> On Tue, Mar 23, 2010 at 02:05:49AM -0500, Corey John Bukolt wrote:
> >
> > On Sun, 21 Mar 2010 11:23:34 +0000 (06:23 CDT) Chris Whitehouse wrote:
> > > When you press the power button does the cpu fan or the power supply fan
> > > spin for a moment then stop? That's a sign that something on or plugged
> > > in to the motherboard has blown. Unplug things and test again.
> > >
> > > Chris
> >
> > Just a few days ago, I was helping a friend build a system (with all
> > brand new components, I might add) and we had this very problem. After
> > sticking in the CPU and RAM and hooking up and turning on the PSU, the
> > green LED on the motherboard turns on. However, the second the power
> > button is pressed, everything flashes for a second, then turns back off.
> > The green LED on the motherboard also remains on. The only way to get
> > it to flash again is to turn off the PSU, wait, then turn it back on.
> > We tried re-seating everything, to no avail.
> >
> > Reading this thread, someone else mentioned beep codes and that if there
> > were none, it's most likely a fried motherboard.
> >
> > Can anyone else confirm this?
> >
>
> Did you have a monitor attached? Anything posted to the screen?
>

We did have a monitor attached, only the system stays running for less
then a second, not even enough time for the monitor to turn on.

> My nephew had similar symptoms and it was because his heatsink on his
> CPU wasn't seated properly.
>
> The system would boot like yours but then die. He managed to catch on
> the screen a message like "CPU temp exceeded" which clued him in.
>
> BTW, your "Reply to:" is different from your "From:" which is
> confusing.
>

"From:" is the address for automated emails from my mailserver and
relaying my personal email (I have a dynamic IP). I don't want any
automated emails directly attached to my personal address in the "Reply
To:", hence multiple accounts.

I blindly assumed that clients/people would just use "Reply To:" and
ignore "From:" but I can see that's not the case. I'll have to fix that
so that there is only one address.

Apologies for the confusion.

------------------------------

Message: 11
Date: Tue, 23 Mar 2010 16:39:09 -0500
From: Corey John Bukolt <ruinerma...@gmail.com>
Subject: Re: Also have a dead box [ WAS: Re: OT: dead box ]
To: Tim Judd <taj...@gmail.com>
Cc: freebsd-questions <freebsd-...@freebsd.org>
Message-ID: <1269380349.4...@ignis.bukolt.lan>
Content-Type: text/plain; charset="us-ascii"

On Tue, 2010-03-23 at 06:57 -0600, Tim Judd wrote:
> On 3/23/10, Corey John Bukolt <ruinerma...@gmail.com> wrote:
> > On Sun, 21 Mar 2010 11:23:34 +0000 (06:23 CDT) Chris Whitehouse wrote:
> >> When you press the power button does the cpu fan or the power supply fan
> >> spin for a moment then stop? That's a sign that something on or plugged
> >> in to the motherboard has blown. Unplug things and test again.
> >>
> >> Chris
> >
> > Just a few days ago, I was helping a friend build a system (with all
> > brand new components, I might add) and we had this very problem. After
> > sticking in the CPU and RAM and hooking up and turning on the PSU, the
> > green LED on the motherboard turns on. However, the second the power
> > button is pressed, everything flashes for a second, then turns back off.
> > The green LED on the motherboard also remains on. The only way to get
> > it to flash again is to turn off the PSU, wait, then turn it back on.
> > We tried re-seating everything, to no avail.
> >
> > Reading this thread, someone else mentioned beep codes and that if there
> > were none, it's most likely a fried motherboard.
> >
> > Can anyone else confirm this?
> >
> > ~Corey
>
>
> Best way to confirm a dead board in any case is those POST diagnosis
> cards. They have a dual-digit LED output that changes depending on
> the signal on the wire. If at any time those dual-digit LEDs stay
> permanently on anything OTHER THAN 00 is a failed POST. If it fails
> before it gets a shot at testing RAM or anything, there may be no beep
> codes.
>
>
> Always good to have one in a toolkit.

So that's what those damn things were for......I have three rack mounted
servers sitting in my basement and they each have an on board dual digit
readout. I figured they had something to do with the BIOS, but I was
just too lazy to find out. ;) Learn something new everyday.

Thanks for the advice, I'm going shopping for one right now.

------------------------------

Message: 12
Date: Tue, 23 Mar 2010 17:38:59 -0400
From: Mehmet Erol Sanliturk <m.e.sa...@gmail.com>
Subject: Re: Free BSD Licensing
To: jegu...@rockwellcollins.com
Cc: ques...@freebsd.org
Message-ID:
<a333b2be1003231438p278...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Mar 23, 2010 at 10:40 AM, <jegu...@rockwellcollins.com> wrote:

> Free BSD representative,
>
> I am inquiring if Free BSD is installable under the The GNU General Public
> License (short: GNU GPL or simply GPL)? Need to verify that for the
> requester of this software as coming through our subcontracts division.
>
>
> Jack Guelff
> Subcontracts Administrator
> Software and Intellectual Property Licensing
> Office: (319) 263-0985
> Fax: (319) 295-2075
> jegu...@rockwellcollins.com
> ____________________________

I am NOT a lawyer , therefore my views can not be considered a legal advice
.

I think , your best action would be to ask to a lawyer ( being expert on
copyright and licensing issues ) for legal issues of such a question to be
answered properly .

If you consider GPL , its most important requirement is that when a GPL
licensed software is distributed to others , the source is also should be
supplied with respect to GPL license rules .

A BSD licensed software can be used in ANY WAY without removing its license
and copyright terms .

If you study

http://www.gnu.org/licenses/gpl.html
http://www.gnu.org/licenses/gpl-faq.html#CombinePublicDomainWithGPL
http://www.gnu.org/licenses/gpl-faq.html#OrigBSD

you will see that it is not possible to combine each free and permissive
licensed software with a GPL licensed software . Therefore , for FreeBSD ,
it is necessary to review each file with respect to GPL combination .

Another point is that GPL license can cover only USED parts within a GPL
licensed software . If FreeBSD is not , let´s say , called by , or linked
into a GPL licensed software , it will NOT be GPL license covered . It is
obvious that any software with its own license terms can NOT be re-licensed
as GPL licensed software , at least because GPL can NOT remove its own
license , but it can or can not be utilized within a GPL licensed software .

As a result , my opinion is that FreeBSD can NOT be re-licensed as a GPL
licensed software as a whole . In reality , this is not necessary also
because FreeBSD sources are open to public through its source repositories .


Thank you very much .


Mehmet Erol Sanliturk


------------------------------

Message: 13
Date: Tue, 23 Mar 2010 19:03:06 -0400 (EDT)
From: Rick Macklem <rmac...@uoguelph.ca>
Subject: Re: FreeBSD NFS client goes into infinite retry loop
To: John Baldwin <j...@freebsd.org>
Cc: freeb...@freebsd.org, Steve Polyack <kor...@comcast.net>,
bsek...@noc.cfi.pgh.pa.us, User Questions
<freebsd-...@freebsd.org>
Message-ID: <Pine.GSO.4.63.10...@muncher.cs.uoguelph.ca>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Tue, 23 Mar 2010, John Baldwin wrote:

>
> Ah, I had read that patch as being a temporary testing hack. If you think
> that would be a good approach in general that would be ok with me.
>
Well, it kinda was. I wasn't betting on it fixing the problem, but since
it does...

I think just mapping VFS_FHTOVP() errors to ESTALE is ok. Do you think
I should ask pjd@ about it or just go ahead with a commit?

Thanks for the help, rick

------------------------------

Message: 14
Date: Tue, 23 Mar 2010 20:12:26 -0400
From: Michael Powell <night...@hotmail.com>
Subject: Re: mysql can't running
To: freebsd-...@freebsd.org
Message-ID: <hoble6$nmm$1...@dough.gmane.org>
Content-Type: text/plain; charset="ISO-8859-1"

m.anis wrote:

> Please help, mysql can't running
> i had installed it and using phpmyadmin
> when i check /etc/rc.d/mysql-server status
> it says mysql is not running

phpMyAdmin will not work until you have configured config.inc.php correctly.

> when i tried /usr/local/bin/mysqld_safe &
> startting mysqld daemon with database from /var/db/mysql
> STOPPING server from pid file /var/db/mysql/<myhost>.pid
> 100323 22:09:46 mysqld ended

This is not the correct method to start mysql. You will need to place
mysql_enable="YES" into /etc/rc.conf for the startup scripts to work
properly. It will also require typing the entire path to the startup script
on the command line as well, such as: /usr/local/etc/rc.d/mysql-server
start. Or stop, or restart, as you may need. This should occur automatically
when booting the machine and this command line is only necessary should you
desire to start, stop, or restart without a reboot.

Since it said it was 'STOPPING' the server above, how do you know it wasn't
running? Instead of phpMyAdmin why not simply do a ps -ax? If mysql is
running you will see a couple of line such as:

725 v0- I 0:00.01 /bin/sh /usr/local/bin/mysqld_safe --defaults-
extra-file=/var/db/mysql/my.cnf --user=my
858 v0- I 0:20.83 /usr/local/libexec/mysqld --defaults-extra-
file=/var/db/mysql/my.cnf --basedir=/usr/loc

Lines are cut and word-wrapped, but you get the idea.

More information may be gleaned from /var/db/mysql/<machinehostname>.err,
this is the mysql error log. Determine properly first whether mysql is
actually running, or not.

The installation procedure (if done properly, and NOT just simply unzipping
a tarball somewhere and doing ./configure && make && make install, e.g
either using the ports building or package installing process) will also
create a mysql user and group entry. The mysql subdirectory and all files
under it should be owned by this user:group, e.g.: mysql:mysql. If you did
NOT use the ports or package install process, just stop, back up the train
and remove whatever you did. Start over and use the ports or package install
procedure.

The config file is named my.cnf and lives in /usr/local/etc. MySQL will
ignore this file if it is world writable. It should fall back to using one
located elsewhere if it can locate one. Not sure as I don't believe I've
ever attempted starting MySQL with no my.cnf at all, but I believe it may
start whether this file is present, or not. Could be wrong about that.

If you should find that it is actually running but you are having difficulty
communicating with it you may need to do an initial configuration to it to
allow logins. Initially when first installed there is no root password and
the first step involves setting a password and setting up some basic grant
permissions.

-Mike

------------------------------

Message: 15
Date: Wed, 24 Mar 2010 08:29:41 +0800
From: Aiza <aiz...@comclark.com>
Subject: delete directory
To: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BA95CF5...@comclark.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

This directory named empty has read/exec permissions.
How do I delete it?

# /usr/jails/newjail/var >ls -l
total 2
dr-xr-xr-x 2 root wheel 512 Nov 21 22:53 empty
# /usr/jails/newjail/var >cd empty
# /usr/jails/newjail/var/empty >ls -l
total 0
# /usr/jails/newjail/var/empty >cd ..
# /usr/jails/newjail/var >rmdir empty
rmdir: empty: Operation not permitted
# /usr/jails/newjail/var >rm -rf empty
rm: empty: Operation not permitted
# /usr/jails/newjail/var >chmod 777 empty
chmod: empty: Operation not permitted


------------------------------

Message: 16
Date: Tue, 23 Mar 2010 20:42:14 -0400
From: Michael Powell <night...@hotmail.com>
Subject: Re: delete directory
To: freebsd-...@freebsd.org
Message-ID: <hobn62$sdb$1...@dough.gmane.org>
Content-Type: text/plain; charset="ISO-8859-1"

Aiza wrote:

> This directory named empty has read/exec permissions.
> How do I delete it?
>
> # /usr/jails/newjail/var >ls -l
> total 2
> dr-xr-xr-x 2 root wheel 512 Nov 21 22:53 empty
> # /usr/jails/newjail/var >cd empty
> # /usr/jails/newjail/var/empty >ls -l
> total 0
> # /usr/jails/newjail/var/empty >cd ..
> # /usr/jails/newjail/var >rmdir empty
> rmdir: empty: Operation not permitted
> # /usr/jails/newjail/var >rm -rf empty
> rm: empty: Operation not permitted
> # /usr/jails/newjail/var >chmod 777 empty
> chmod: empty: Operation not permitted

Usually when I see this I think flags are set. See man chflags.

Used to be it was something like chflags -R noschg <blah>, then you could do
the usual rm -rf <blah> once the immutable flag was unset. Don't know if has
changed.

-Mike


------------------------------

Message: 17
Date: Tue, 23 Mar 2010 20:57:03 -0400
From: Michael Powell <night...@hotmail.com>
Subject: Re: mysql can't running
To: freebsd-...@freebsd.org
Message-ID: <hobo1v$ug3$1...@dough.gmane.org>
Content-Type: text/plain; charset="ISO-8859-1"

Michael Powell wrote:

> m.anis wrote:
>
>> Please help, mysql can't running
>> i had installed it and using phpmyadmin
>> when i check /etc/rc.d/mysql-server status
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This indicates to me that you just unzipped a tarball and did ./configure &&
make && make install. This is not how you install software on FreeBSD.
Please read the pertinent sections of the Handbook to learn how to install
software.

-Mike

------------------------------

Message: 18
Date: Tue, 23 Mar 2010 18:31:00 -0700
From: Xin LI <del...@delphij.net>
Subject: Re: kernel panic when if_lagg is not loaded.
To: Leslie Jensen <les...@eskk.nu>
Cc: freeb...@freebsd.org, "freebsd-...@freebsd.org"
<freebsd-...@freebsd.org>
Message-ID: <4BA96B5...@delphij.net>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010/03/17 00:31, Leslie Jensen wrote:
>
> I have set upp aggregation of my wlan and and wired NIC following the
> instructions in the handbook.
>
> http://www.freebsd.org/doc/handbook/network-aggregation.html
>
> I "forgot" to add the if_lagg_load="YES" in /boot/loader.conf. When I
> rebooted I got a kernel panic.
>
> Should this be considerd normal or is it something I should report?
>
>
>
> Secondly I see there'a a reference to the lagg(4) man page. I think it
> would help future readers of the above page if a comment about loading
> if_lagg_load="YES" in /boot/loader.conf would be added.

Panics can hardly be considered normal... I was unable to reproduce the
issue though, is it possible for you to get a backtrace and tell us what
release are you using?

Cheers,
- --
Xin LI <del...@delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJLqWtUAAoJEATO+BI/yjfBHSkIAJC1Ooov8JiddJk+3cw9uZsK
f2LvLoQerHY+NVwG0yjdXjhj67FWht4piXewNngePzOzjcXJQybfbrFUxW2zDc3X
LSrOLSLtf8CKDhdVK+octUUjYyT1lbkeoyf1Ci1y2h/DE7QY360rzfXhA1VfHJCr
3PTcaHsony3AD6Fwcg3U+7hGseL+zxLfV0DwUtyNIhVZHIrp5hElPseVXnxVPFTT
nKaaw4AldH6JYOhT1IZWQObMNJgVhCs48LdAwSCCg7x9Bjias606yY3C1RNupXPM
5TxjmMpiQUhBc/MIAU7mAb27SQY2Lwx6+S9S+4HJoVgr2/eMwjCCOYvXxIt5hXs=
=BGMq
-----END PGP SIGNATURE-----


------------------------------

Message: 19
Date: Tue, 23 Mar 2010 19:52:05 -0600
From: "Gene" <fb...@brightstar.bomgardner.net>
Subject: amd64 8.0 with zfs root and raidz ?
To: FreeBSD-...@FreeBSD.org
Message-ID: <2010032401...@brightstar.bomgardner.net>
Content-Type: text/plain; charset=iso-8859-1

Hi:

I want to install amd64 8.0, using zfs (root included) on a fresh system
containing 3 drives, ad0, ad1, ad2. I'm looking at this from the wiki:

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot

I'm still working out just what everything does, but the one thing I've
noticed is that it doesn't address raidz at all. Can anyone direct me to any
docs that might help? Or does anyone know where in the wiki page's intructions
raidz might be set up?

Thanks
IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

------------------------------

Message: 20
Date: Tue, 23 Mar 2010 19:12:15 -0700
From: mer...@stonehenge.com (Randal L. Schwartz)
Subject: Re: amd64 8.0 with zfs root and raidz ?
To: "Gene" <fb...@brightstar.bomgardner.net>
Cc: FreeBSD-...@FreeBSD.org
Message-ID: <86y6hi4...@blue.stonehenge.com>
Content-Type: text/plain; charset=us-ascii

>>>>> "Gene" == Gene <fb...@brightstar.bomgardner.net> writes:

Gene> I'm still working out just what everything does, but the one thing I've
Gene> noticed is that it doesn't address raidz at all. Can anyone direct me to any
Gene> docs that might help? Or does anyone know where in the wiki page's intructions
Gene> raidz might be set up?

You're not going to be raidz'ing your boot disk, which is why that
doesn't address it there.

Data disks can be raidz'ed just fine, using the normal documentation.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


------------------------------

Message: 21
Date: Wed, 24 Mar 2010 08:35:08 +0100
From: Adam PAPAI <wo...@wooh.hu>
Subject: freebsd-update(8) under sparc64? Why is it not available?
To: FreeBSD-...@FreeBSD.org, freebsd...@freebsd.org
Message-ID: <4BA9C0AC...@wooh.hu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I feel that the FreeBSD project doesn't have enough sparc64 build machine.

Is this the reason why binary freebsd-update is not available for
sparc64 arch?

The only methods for upgrading sparc64 are reinstall or build from source?


--
Adam PAPAI


------------------------------

Message: 22
Date: Wed, 24 Mar 2010 02:57:09 -0500
From: Mark Linimon <lin...@lonesome.com>
Subject: Re: freebsd-update(8) under sparc64? Why is it not available?
To: Adam PAPAI <wo...@wooh.hu>
Cc: FreeBSD-...@FreeBSD.org, freebsd...@freebsd.org
Message-ID: <20100324075...@lonesome.com>
Content-Type: text/plain; charset=us-ascii

You're the first one to ask in a while. Since our userbase is small,
and developer time is limited, we've never set it up.

Right now I'd just be happy if I can get all the major ports to work :-)

mcl


------------------------------

Message: 23
Date: Wed, 24 Mar 2010 09:02:33 +0100
From: Adam PAPAI <wo...@wooh.hu>
Subject: Re: freebsd-update(8) under sparc64? Why is it not available?
To: Mark Linimon <lin...@lonesome.com>
Cc: FreeBSD-...@FreeBSD.org, freebsd...@freebsd.org
Message-ID: <4BA9C719...@wooh.hu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Mark Linimon wrote:
> You're the first one to ask in a while. Since our userbase is small,
> and developer time is limited, we've never set it up.
>
> Right now I'd just be happy if I can get all the major ports to work :-)
>
> mcl

If I can do something for this project, please tell me what to do :)

I have 2xNetra T1, 1xNetra X1, 1xFire V100, so I have some sparc64
machines to test/build if this could help.

--
Adam PAPAI

------------------------------

Message: 24
Date: Wed, 24 Mar 2010 11:53:43 +0200
From: Sigmar Muuga <meed...@gmail.com>
Subject: Upgrading from 6.1 to 7.3
To: freebsd-...@freebsd.org
Message-ID: <4BA9E12...@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,
have anybody done something like this? Is it reasonable or is it better
to make a "clean install"?

Sigmar


------------------------------

Message: 25
Date: Wed, 24 Mar 2010 10:58:01 +0100
From: Adam PAPAI <wo...@wooh.hu>
Subject: Re: Upgrading from 6.1 to 7.3
To: freebsd-...@freebsd.org
Message-ID: <4BA9E22...@wooh.hu>
Content-Type: text/plain; charset=ISO-8859-1

On 3/24/10 10:53 AM, Sigmar Muuga wrote:
> Hello,
> have anybody done something like this? Is it reasonable or is it better
> to make a "clean install"?

You should read this:

http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-6x-7x.txt

--
Adam PAPAI


------------------------------

Message: 26
Date: Wed, 24 Mar 2010 10:03:41 +0000
From: krad <kra...@googlemail.com>
Subject: Re: delete directory
To: Michael Powell <night...@hotmail.com>
Cc: freebsd-...@freebsd.org
Message-ID:
<d36406631003240303m4c7...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 24 March 2010 00:42, Michael Powell <night...@hotmail.com> wrote:

> Aiza wrote:
>
> > This directory named empty has read/exec permissions.
> > How do I delete it?
> >
> > # /usr/jails/newjail/var >ls -l
> > total 2
> > dr-xr-xr-x 2 root wheel 512 Nov 21 22:53 empty
> > # /usr/jails/newjail/var >cd empty
> > # /usr/jails/newjail/var/empty >ls -l
> > total 0
> > # /usr/jails/newjail/var/empty >cd ..
> > # /usr/jails/newjail/var >rmdir empty
> > rmdir: empty: Operation not permitted
> > # /usr/jails/newjail/var >rm -rf empty
> > rm: empty: Operation not permitted
> > # /usr/jails/newjail/var >chmod 777 empty
> > chmod: empty: Operation not permitted
>
> Usually when I see this I think flags are set. See man chflags.
>
> Used to be it was something like chflags -R noschg <blah>, then you could
> do
> the usual rm -rf <blah> once the immutable flag was unset. Don't know if
> has
> changed.
>
> -Mike
>
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questi...@freebsd.org"
>

sounds about right


------------------------------

Message: 27
Date: Wed, 24 Mar 2010 10:09:36 +0000
From: "O. Hartmann" <ohar...@zedat.fu-berlin.de>
Subject: Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
To: Sean McAfee <smc...@collaborativefusion.com>
Cc: "O. Hartmann" <ohar...@mail.zedat.fu-berlin.de>,
freebsd-...@freebsd.org, freebs...@freebsd.org
Message-ID: <4BA9E4E0...@zedat.fu-berlin.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

On 03/23/10 17:31, Sean McAfee wrote:
> O. Hartmann wrote:
>> As I mentioned, I did not and I can't risk deinstalling the working
>> OO first and then installing and probably a failing OO 3.2.
>>
>> Regards,
>>
>> O. Hartmann
>
>
> You can use `pkg_create -b name_of_port-with_version` to create a
> binary backup. If you can't get 3.2 installed, you just run pkg_add
> on the resulting tbz and you're back in business.
>
> I do this whenever I upgrade OO, Firefox, Thunderbird, or anything
> other program I can't wait around for while I freshly compile.
>

Just for the record: deleting OO 3.1.1 via pkg_delete and trying to
install new OO 3.2 fails at the same point as before.

Oliver


------------------------------

Message: 28
Date: Wed, 24 Mar 2010 11:18:00 +0100
From: Mikolaj Rydzewski <mi...@ceti.pl>
Subject: Re: Upgrading from 6.1 to 7.3
To: freebsd-...@freebsd.org
Message-ID: <4BA9E6D8...@ceti.pl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Sigmar Muuga wrote:
> have anybody done something like this? Is it reasonable or is it
> better to make a "clean install"?
I've performed successfull upgrade from 6.x to 7.x a few days ago,
there's no need for any special hacks.

Just cvsup to latest 6.4-REL, build from sources, just like
/usr/src/UPDATING says. Then cvsup to latest 7.2-REL and again build
from sources.

--
Mikolaj Rydzewski <mi...@ceti.pl>

------------------------------

Message: 29
Date: Wed, 24 Mar 2010 06:33:51 -0400
From: Jerry <freebs...@seibercom.net>
Subject: Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
To: freebsd-...@freebsd.org
Message-ID: <20100324063...@scorpio.seibercom.net>
Content-Type: text/plain; charset=UTF-8

On Wed, 24 Mar 2010 10:09:36 +0000
O. Hartmann <ohar...@zedat.fu-berlin.de> articulated:

> Just for the record: deleting OO 3.1.1 via pkg_delete and trying to
> install new OO 3.2 fails at the same point as before.

OO creates files in the $HOME and other directories that are not
automatically removed by "pkg_delete". Use "pkg_delete" with the "-dfv"
option to delete as much as possible. Then move or delete the other OO
files/directories. You will probably have to search for them.

Finally, update your ports tree and try reinstalling OO again. If you
have "portmanager" installed, you could try this:

portmanager editors/openoffice.org-3.2.0 -l -y -p

Good Luck!


--
Jerry
FreeBS...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________

When a person goes on a diet, the first thing he loses is his temper.


------------------------------

Message: 30
Date: Wed, 24 Mar 2010 10:31:51 +0000
From: John <comp...@googlemail.com>
Subject: simple zfs query
To: freebsd-...@freebsd.org
Message-ID: <20100324103151.GA2598@potato>
Content-Type: text/plain; charset=us-ascii

Hello list,

With ZFS and 3x 2Tb SATA disks, what percentage of theoretical diskspace
would I realise? I'm hoping at least 5Tb would be usable?

thanks
--
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5


------------------------------

Message: 31
Date: Wed, 24 Mar 2010 10:48:38 +0000 (GMT)
From: Richard Tobin <ric...@inf.ed.ac.uk>
Subject: Re: Free BSD Licensing
To: freebsd-...@freebsd.org
Message-ID: <2010032410483...@macpro.inf.ed.ac.uk>
Content-Type: text/plain

> As the FreeBSD license is less restrictive than the GPL, it's pretty
> much safe to say that wherever you are permitted install GPL'd software,
> you could substitute FreeBSD licensed software without legal penalty.
> (Note: *install* -- redistribution is a different matter)

You do not have to agree to the GPL to use GPL'd software: it
explicitly says that it only covers "copying, distribution and
modification" and not "running the program".

The FreeBSD licence on the other hand only allows you to use the
software if you agree to the conditions - which only affect
redistribution, so if you do not redistribute it, the licence
terms do not affect you.

I suppose a theoretical difference is that if you redistribute FreeBSD
in violation of the conditions you no longer have the right to use it,
which is not true for the GPL.

-- Richard

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

------------------------------

Message: 32
Date: Wed, 24 Mar 2010 11:33:18 +0000
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: simple zfs query
To: John <comp...@googlemail.com>
Cc: freebsd-...@freebsd.org
Message-ID: <4BA9F87E...@infracaninophile.co.uk>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/03/2010 10:31:51, John wrote:
> With ZFS and 3x 2Tb SATA disks, what percentage of theoretical diskspace
> would I realise? I'm hoping at least 5Tb would be usable?

That depends on how you configure your zpool. The choices are:

disk -- just uses the disk directly as a vdev. Means you can use 100%
of the space, but you have absolutely no resilience

mirror -- for which you'ld need an even number of disks and you get 50%
of the raw as usable space. Can survive at least one disk
failure, and possibly up to as many as half of the disks
failing.

raidz -- single parity (equivalent to RAID5). For N disks, 1 disk
worth is used for parity data, leaving N - 1 disks' worth as
the actual capacity. So you'ld get 66% of raw in your case.
Can survive failure of any one disk.

raidz2 -- double parity (equivalent to RAID6). For N disks, 2 disks
worth are used for parity data, leaving N - 2 disks worth as
actual capacity. Or 33% of raw in your case. Can survive
failure of any two disks.

Note that 3 drives is the minimum for either of the raidz types, and
won't give you the best performance. See zpool(1M) for details.

Cheers,

Matthew

- --
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/

iEYEARECAAYFAkup+H4ACgkQ8Mjk52CukIx8HQCfcGTI3wh3QsxNmDS1nPkbw8WU
cWIAoJO8rys1R7SfasVkse2htfqOqVrF
=AWpE
-----END PGP SIGNATURE-----


------------------------------

Message: 33
Date: Wed, 24 Mar 2010 11:40:04 +0000
From: Daniel Bye <freebsd-...@slightlystrange.org>
Subject: Re: delete directory
To: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <2010032411...@catflap.slightlystrange.org>
Content-Type: text/plain; charset=us-ascii

On Wed, Mar 24, 2010 at 08:29:41AM +0800, Aiza wrote:
> This directory named empty has read/exec permissions.
> How do I delete it?
>
> # /usr/jails/newjail/var >ls -l
> total 2
> dr-xr-xr-x 2 root wheel 512 Nov 21 22:53 empty
> # /usr/jails/newjail/var >cd empty
> # /usr/jails/newjail/var/empty >ls -l
> total 0
> # /usr/jails/newjail/var/empty >cd ..
> # /usr/jails/newjail/var >rmdir empty
> rmdir: empty: Operation not permitted
> # /usr/jails/newjail/var >rm -rf empty
> rm: empty: Operation not permitted
> # /usr/jails/newjail/var >chmod 777 empty
> chmod: empty: Operation not permitted

I'd suggest you don't remove it - from sshd(8):

/var/empty
chroot(2) directory used by sshd during privilege separation in
the pre-authentication phase. The directory should not contain
any files and must be owned by root and not group or world-
writable.


If you intend to run sshd in your jail, you'd be better off leaving it.

Dan

--
Daniel Bye
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \


------------------------------

Message: 34
Date: Wed, 24 Mar 2010 07:44:50 -0400
From: Nathan Vidican <nat...@vidican.com>
Subject: Re: delete directory
To: Aiza <aiz...@comclark.com>
Cc: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID:
<795fc2b81003240444u24e...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Check the chflags; 'man chflags'

On Tue, Mar 23, 2010 at 8:29 PM, Aiza <aiz...@comclark.com> wrote:

> This directory named empty has read/exec permissions.
> How do I delete it?
>
> # /usr/jails/newjail/var >ls -l
> total 2
> dr-xr-xr-x 2 root wheel 512 Nov 21 22:53 empty
> # /usr/jails/newjail/var >cd empty
> # /usr/jails/newjail/var/empty >ls -l
> total 0
> # /usr/jails/newjail/var/empty >cd ..
> # /usr/jails/newjail/var >rmdir empty
> rmdir: empty: Operation not permitted
> # /usr/jails/newjail/var >rm -rf empty
> rm: empty: Operation not permitted
> # /usr/jails/newjail/var >chmod 777 empty
> chmod: empty: Operation not permitted
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questi...@freebsd.org"
>

--
Nathan Vidican
nat...@vidican.com
(519) 962-9987 (Canada)
(313) 586-1982 (USA)


------------------------------


End of freebsd-questions Digest, Vol 303, Issue 7
*************************************************

0 new messages