Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2008 11:37:17 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        lysergius2001 <lysergius2001@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: modifying permissions in /dev
Message-ID:  <IS7EwGozVWWcSuRp71eug%2BQ9S9E@g1MMx2/4gW%2BFBYj1VFEfKs2/tm8>
In-Reply-To: <a558ebe30802071153s63384adfpcf6fd39361091ce7@mail.gmail.com>
References:  <%2BOslp5zezDUHSfXCT9N9C5qGZIo@4emqrsZRSNlbYTMRNETK7AEirXc> <20080207184604.217E345010@ptavv.es.net> <EWfFXqlDPOGuDPqUv/sfqlOAXfE@G5eHikUBJqgelgsfT8pvZv7m%2B/A> <a558ebe30802071153s63384adfpcf6fd39361091ce7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?IS7EwGozVWWcSuRp71eug%2BQ9S9E>