a9f4 [Solved] atapicam and permissions - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old May 19th, 2010, 14:41
hedgehog's Avatar
hedgehog hedgehog is offline
Member
 
Join Date: Nov 2009
Location: Kharkov, Ukraine
Posts: 153
Thanks: 31
Thanked 15 Times in 12 Posts
Default atapicam and permissions

Greetings. help me please to solve minor issue.

Code:
$ man devfs.conf
NAME
     devfs.conf — boot‐time devfs configuration information
but how do you change device configuration (such as permissions) not at the boot time? for example, i want system to set owner to root:operator and permissions to 660 for /dev/pass0 and /dev/acd0 after manual loading atapicam module to the kernel. i tried to add it to devfs.conf, but it didn't work. devices are created with 600, i have the follwoing devfs.conf:
Code:
$ egrep -v '(^\s*#|^\s*$)' /etc/devfs.conf
own     acd0    root:operator
perm    acd0    0660
own     cd0     root:operator
perm    cd0     0660
own     pass1   root:operator
perm    pass1   0660
own     pass0   root:operator
perm    pass0   0660
and another question: will this config work if i'll simply add atapicam to /boot/loader.conf ?

Last edited by hedgehog; May 19th, 2010 at 14:50. Reason: solved
Reply With Quote
  #2  
Old May 19th, 2010, 14:44
crsd crsd is offline
Member
 
Join Date: Nov 2008
Location: Russia, Krasnodar
Posts: 420
Thanks: 8
Thanked 92 Times in 82 Posts
Default

You should either run /etc/rc.d/devfs restart after kldload'ing atapicam, or use devfs.rules(5).

And yes, your /etc/devfs.conf should work if you're loading atapicam using /boot/loader.conf.
Reply With Quote
The Following User Says Thank You to crsd For This Useful Post:
hedgehog (May 19th, 2010)
  #3  
Old May 19th, 2010, 14:49
hedgehog's Avatar
hedgehog hedgehog is offline
Member
 
Join Date: Nov 2009
Location: Kharkov, Ukraine
Posts: 153
Thanks: 31
Thanked 15 Times in 12 Posts
Default

Quote:
Originally Posted by crsd View Post
You should either run /etc/rc.d/devfs restart after kldload'ing atapicam, or use devfs.rules(5).

And yes, your /etc/devfs.conf should work if you're loading atapicam using /boot/loader.conf.
thanks, I think i have understood now how it does work. looks like i missing alot of stuff while reading manpages
Reply With Quote
Reply

Tags
atapicam, devfs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] permissions on tty killwin Userland Programming & Scripting 2 April 9th, 2010 09:07
[Solved] Drive Permissions Help Purple_Q Multimedia 3 February 18th, 2010 15:17
FreeBSD 7.1-RELEASE -- Problems with ATAPICAM & DMA on 2 SATA DVDs DutchDaemon System Hardware 2 May 6th, 2009 00:24
cdrecord/k3b/hal/atapicam: coasters Mel_Flynn Multimedia 4 February 13th, 2009 18:16
DNS and Permissions Enter4 Web & Network Services 1 February 6th, 2009 22:19


All times are GMT +1. The time now is 17:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0