From owner-freebsd-net@FreeBSD.ORG Fri Feb 8 08:37:20 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B204816A418 for ; Fri, 8 Feb 2008 08:37:20 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 68C8A13C45B for ; Fri, 8 Feb 2008 08:37:20 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=NB0oJCBGLtFfv0ILrwQDTq+bZyup27WWO5WT6yUroDQytXIlxrYu1ScfPpSlxDzugQEXOMhjfPD7D4jeaQZw0+UVSLkfwLkzYgCCZuoA4kRvuaRPlDSIh5Y11A9feebx/uHSnzIG9RqmxYZHqTk/Cyk4EgJlMbdA/IerEgOnSGc=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JNOjW-000GCI-7p; Fri, 08 Feb 2008 11:37:18 +0300 Date: Fri, 8 Feb 2008 11:37:17 +0300 From: Eygene Ryabinkin To: lysergius2001 Message-ID: References: <+Oslp5zezDUHSfXCT9N9C5qGZIo@4emqrsZRSNlbYTMRNETK7AEirXc> <20080207184604.217E345010@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-1.9 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_40 Cc: freebsd-net@freebsd.org Subject: Re: modifying permissions in /dev X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 08:37:20 -0000 Perhaps this thread should be moved to -questions: it seems to be irrelevant for the -net discuissions. Thu, Feb 07, 2008 at 07:53:32PM +0000, lysergius2001 wrote: > Apologies for the top post? Looks like I need a lesson in etiquette as well > as devfs. ;)) http://www.caliburn.nl/topposting.html might be helpful. > The problem is this. I have two boxes running 6.3-stable. One is i386 and > the other is amd64. Identical setups as near as I can make it. the 386 box > allows mounting floppy from kde, but does not find cd0 in k3b. The amd64 > box finds cd0 in k3b but will not allow mounting floppy in kde? > > I have vfs.usermount= 1 in sysctl.conf on both boxes. > > I have identical devfs.conf and devfs.rules. hald is running on both > boxes. rc.conf is identical on both boxes. I am baffled, stumped and > getting confused... > > Can I go back to the basics somehow and work through the set up logically? Yes, just start with low-level stuff. 1. Verify that you have the devices: ls -l /dev/cd0 /dev/fd0. 2. Check the permissions for devices in an above output. 3. Check vfs.usermount once again: sysctl vfs.usermount. 4. Try to mount device as root via 'mount' utility. 5. Unmount it and try mounting as user via 'mount'. If all the above works, then the problem might be in GUI tools you're using. Maybe they can not locate the devices. Maybe something else. But if the above is not working, then probably GUI tools will not work either. For the k3b: seems like it is just frontend for the cdrecord/cdrdao. If so, then you probably should have /dev/xptX and /dev/passX and permissions must allow to read and write to them. This is surely true for cdrecord, don't know for cdrdao -- not using it. And vfs.usermount should not be relevant for CD recording, if I am not mistaken. -- Eygene