Problem with test(1)

2007-04-05 Thread Joe Marcus Clarke
n/test[8]: test: argument expected I think this patch is correct in that it does fix the problem, and the TEST.sh and TEST.csh regression scripts report the same results pre and post-patch. Comments? http://www.marcuscom.com/downloads/text.c.diff Joe -- Joe Marcus Clarke FreeBSD GNOME Team

Problem with test(1)

2007-04-05 Thread Joe Marcus Clarke
I noticed something weird with test(1) when I ran across a problem port Makefile. Our test(1) doesn't properly check to make sure there is an operand argument to unary operators like -f. For example: test -f Will print "TRUE" on FreeBSD. On Solaris, it will die: /usr/bin/test[8]: test: argume

Re: Problem with test(1)

2007-04-06 Thread Joe Marcus Clarke
On Thu, 2007-04-05 at 10:08 -0500, Dan Nelson wrote: > In the last episode (Apr 05), Joe Marcus Clarke said: > > I noticed something weird with test(1) when I ran across a problem port > > Makefile. Our test(1) doesn't properly check to make sure there is an > >

RFC: Adding a ``user'' mount option

2006-04-02 Thread Joe Marcus Clarke
able media and desktop systems. I'm not a src committer, so this isn't a threat to commit. I'm more interested in getting feedback, and hopefully some src committer interest. I think this would really benefit desktop FreeBSD. http://www.marcuscom.com/downloads/usermount.diff J

Re: RFC: Adding a ``user'' mount option

2006-04-03 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Colin Percival wrote: > Joe Marcus Clarke wrote: >> I know we have vfs.usermount, but this is not always sufficient since >> the user has to own the mount point in question. What I propose is to >> add a ``user'' mount

Re: RFC: Adding a ``user'' mount option

2006-04-03 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Watson wrote: > On Mon, 3 Apr 2006, Joe Marcus Clarke wrote: > >> I know we have vfs.usermount, but this is not always sufficient since >> the user has to own the mount point in question. What I propose is to >> add a

Re: RFC: Adding a ``user'' mount option

2006-04-03 Thread Joe Marcus Clarke
On Tue, 2006-04-04 at 08:30 +0200, Alex Dupre wrote: > Joe Marcus Clarke wrote: > > What I'd like to achieve is a simple out-of-the-box way of mounting > > media such as CDs, and floppy disks without users necessarily needing to > > know about sysctl. While I can

Re: RFC: Adding a ``user'' mount option

2006-04-03 Thread Joe Marcus Clarke
On Mon, 2006-04-03 at 23:30 +0100, Robert Watson wrote: > On Mon, 3 Apr 2006, Joe Marcus Clarke wrote: > > >> I would suggest that an extremely careful security audit of the userspace > >> and kernel mount and unmount code is due -- especially things like the > &

User mounting take 2

2006-04-14 Thread Joe Marcus Clarke
et this at all, and ntfs set this to all flags (not just those visible to statfs(2)). By fixing this, umount(8) works properly on relative paths to user mount points for those three file systems. http://www.marcuscom.com/downloads/usermount.diff Comments? Joe -- Joe Marcus Clarke FreeBSD

Re: User mounting take 2

2006-04-15 Thread Joe Marcus Clarke
On Sat, 2006-04-15 at 11:13 +0100, Matthew Seaman wrote: > Joe Marcus Clarke wrote: > > > > //[EMAIL PROTECTED]/homes/home/%u/smb_homesmbfsrw,noauto,user > > 0 0 > > > > Then, a user could just run, for example: > > > > mount /hom

Adding hier/mtree support for HAL

2006-05-08 Thread Joe Marcus Clarke
d, I would like to add a /media to FreeBSD. I would like to add this to hier(7) as well as BSD.root.mtree. Would this be permissible? Thanks. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -BEGIN PGP

Why is our symbol lookup the way it is?

2005-09-06 Thread Joe Marcus Clarke
, I don't understand enough of the linker to know what it is. Thanks. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome signature.asc Description: This is a digitally signed message part

Re: Why is our symbol lookup the way it is?

2005-09-07 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Kabaev wrote: | On Wed, Sep 07, 2005 at 02:06:44AM -0400, Joe Marcus Clarke wrote: | |>This is something that's been bothering me for a while, ever since I |>fixed the symbol conflicts in Mozilla with -Bsymbolic. Why do we no

Programmatically test for a DVD drive

2003-12-16 Thread Joe Marcus Clarke
if it succeeds? Thanks. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome signature.asc Description: This is a digitally signed message part

Re: Programmatically test for a DVD drive

2003-12-19 Thread Joe Marcus Clarke
On Fri, 2003-12-19 at 15:02, John-Mark Gurney wrote: > Joe Marcus Clarke wrote this message on Tue, Dec 16, 2003 at 20:33 -0500: > > I'm trying to figure out the best way to programmatically test to see if > > a disc device is a DVD device. That is, how can I tell the differe

Re: Programmatically test for a DVD drive

2003-12-19 Thread Joe Marcus Clarke
On Fri, 2003-12-19 at 16:07, John-Mark Gurney wrote: > Joe Marcus Clarke wrote this message on Fri, Dec 19, 2003 at 15:08 -0500: > > > Take a look at cdrecord and see what that does... But that might > > > require you to use atapi-cam instead of the "normal" atapi

Help: threading problem in non-threaded applications

2004-04-20 Thread Joe Marcus Clarke
t 5.X. I'm hoping not to have to link every GTK+ app that might use the new file selector to PTHREAD_LIBS. Any advice would be greatly appreciated. Thanks. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.Free

Re: Help: threading problem in non-threaded applications

2004-04-20 Thread Joe Marcus Clarke
On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote: > On Tue, 20 Apr 2004, Joe Marcus Clarke wrote: > > > I have a problem I'm hoping someone can help me with. GTK+ 2.4 > > introduced a new file selection GUI which works just fine in threaded > > and non-threaded appl

Re: Help: threading problem in non-threaded applications

2004-04-21 Thread Joe Marcus Clarke
On Wed, 2004-04-21 at 09:18, Daniel Eischen wrote: > On Wed, 21 Apr 2004, Joe Marcus Clarke wrote: > > > On Tue, 2004-04-20 at 17:08, Daniel Eischen wrote: > > > On Tue, 20 Apr 2004, Joe Marcus Clarke wrote: > > > > > > > I have a problem I&#x

Getting a fully-qualified path from a PID

2004-07-21 Thread Joe Marcus Clarke
What is the canonical way for a userland application to get the fully-qualified path of an executable from its running PID? I know I can do a readlink(2) on /proc/pid/file, but procfs is deprecated on 5.X, correct? Is there a more appropriate way to do this? Thanks. Joe -- PGP Key : http://ww

Re: Getting a fully-qualified path from a PID

2004-07-22 Thread Joe Marcus Clarke
On Wed, 2004-07-21 at 11:12, Dan Nelson wrote: > In the last episode (Jul 20), Joe Marcus Clarke said: > > What is the canonical way for a userland application to get the > > fully-qualified path of an executable from its running PID? I know I > > can do a readlink(2) o

Question on gcc linker and -pthread

2003-03-13 Thread Joe Marcus Clarke
I've noticed something I think is strange with gcc, the -shared flag, and -pthread on -STABLE. I'm hoping someone can enlighten me as to why this happens or if it's a bug. If I compile something with the following command, I do not see libc_r.so linked in the resulting object: cc -shared -pthrea

Re: Question on gcc linker and -pthread

2003-03-13 Thread Joe Marcus Clarke
On Thu, 2003-03-13 at 18:05, Marcel Moolenaar wrote: > On Thu, Mar 13, 2003 at 03:18:52PM -0500, Joe Marcus Clarke wrote: > > I've noticed something I think is strange with gcc, the -shared flag, > > and -pthread on -STABLE. I'm hoping someone can enlighten me as to w

Re: BCM4401 Support for FreeBSD

2003-07-28 Thread Joe Marcus Clarke
On Mon, 2003-07-28 at 12:18, Aeefyu wrote: > With reference to: > http://marc.theaimsgroup.com/?l=freebsd-hackers&m=105593188923273&w=2 > > i.e. Broadcom 440x NIC support for FreeBSD 4.x and 5.x (as found on > latest Dell's Notebooks - mine is a 8500) > > Would anyone be so kind to enlighten me

Re: BCM4401 Support for FreeBSD

2003-08-18 Thread Joe Marcus Clarke
On Mon, 2003-08-18 at 03:21, Duncan Barclay wrote: > From: "Aeefyu" <[EMAIL PROTECTED]> > > > > http://marc.theaimsgroup.com/?l=freebsd-hackers&m=105593188923273&w=2 > > > > I cant compile the above on my machine > > Its only applicable for 5.x and not 4.x? > > Sighs > > Correct, at present i

Re: New BETA of Broadcom 440x chipset driver

2003-08-26 Thread Joe Marcus Clarke
On Mon, 2003-08-25 at 16:56, Duncan Barclay wrote: > Hi > > I think I have fixed the RX packet loss and memory corruption problems with > the previous version of the driver. Please try the code at > > http://people.freebsd.org/~dmlb/bcm-0308252140.tar.gz > > I have manged to get full link speed

Re: bcm4400 driver and Dell 8500

2003-08-27 Thread Joe Marcus Clarke
On Wed, 2003-08-27 at 09:27, James Nobis wrote: > On Wed, 27 Aug 2003, Kenneth D. Merry wrote: > > > On Wed, Aug 27, 2003 at 08:40:25 +0100, Duncan Barclay wrote: > > > Hello James and Ken, > > > > > > Both of you are having real problems with the bcm driver and both of you > > > have a Dell 8500.

Re: [kde-freebsd] Re: HEADS UP: pelase test /etc/libmap.conffeature on 4-stable

2003-10-10 Thread Joe Marcus Clarke
On Sat, 2003-10-11 at 02:33, Michael Nottebrock wrote: > Norikatsu Shigemura wrote: > > > > > 1. (kde side) Anyone, would you please make a patch for > >nspluginscane to look /usr/X11R6/lib/browsers_plugins? > > or > > 2. (pluginwrapper side) If 1 is no, I'll install F

Re: [kde-freebsd] Re: HEADS UP: pelase test /etc/libmap.conffeature on 4-stable

2003-10-11 Thread Joe Marcus Clarke
On Sat, 2003-10-11 at 03:20, Michael Nottebrock wrote: > Joe Marcus Clarke wrote: > > On Sat, 2003-10-11 at 02:33, Michael Nottebrock wrote: > > > >>Norikatsu Shigemura wrote: > >> > >> > >>> 1. (kde side) Anyone, would you please make a pat