11-04-2010
We have a special forum for homework. We will help, no problem. Please follow our rules and repost over there
thansk
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
i am a computer engineering student.i need ideas for my final year project
i want to do my project in CORE SYSTEMS / KERNEL PROGRAMMING (Unix Platform).
i have very good knowledge of c,done 386 architecture & programming in detail, also d one D.O.S device drivers,but i am... (2 Replies)
Discussion started by: vk85
2 Replies
2. Solaris
We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies
3. Shell Programming and Scripting
I'd like a shell-script syntax checker that can detect at least the following errors, and more:
1. Variable $VAR used but VAR has not been defined.
2. Variable VAR defined but never used.
3. Use of unquoted variables which might break external commands e.g. SOMETHING in: value=`grep $SOMETHING... (5 Replies)
Discussion started by: garethr
5 Replies
4. Shell Programming and Scripting
I have written little script to check the CPU performance of the machine.
Request you to contribute your comments on the same.
Feel free to add your own scriptlet to make it better.
I have decided to call it as doctortux
I have decided to run the script in two mode
1)Interactive.(Not... (4 Replies)
Discussion started by: pinga123
4 Replies
5. Homework & Coursework Questions
hai guys,
I'am a newbie to this forum and to unix as well...as a part of our syllabus i got a project in Unix which i have to do in 4 days.Project is kinda File locking i will give the project specs...guys please help me..
Established client-server architecture using socket... (1 Reply)
Discussion started by: rosemolr
1 Replies
6. Solaris
i have two doubts..
1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so?
2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies
7. UNIX and Linux Applications
Dear all,
i am in last year of electronics department in engineering faculty
i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux "
i think about embedded unix for example or device drivers
please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies
8. News, Links, Events and Announcements
A new project was posted on your project board.
Project title: Bash Shell Tutoring
Estimated Budget:
$50/hr
Start date:
Immediately
Required skills:
Linux, Bash, Shell, UNIX
I work as a datawarehouse designer and developer.
Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies
9. Shell Programming and Scripting
I have a project tree like that.
after running find command with the -no -empty option, i am able to have a list of non empty directory
DO_MY_SEARCH="find . -type d -not -empty -print0"
MY_EXCLUDE_DIR1=" -e NOT_IN_USE -e RTMAP -e NOT_USEFULL "
echo " " > $MY_TEMP_RESULT_1
while... (2 Replies)
Discussion started by: jcdole
2 Replies
LEARN ABOUT FREEBSD
devfs.rules
DEVFS.RULES(5) BSD File Formats Manual DEVFS.RULES(5)
NAME
devfs.rules -- devfs configuration information
DESCRIPTION
The devfs.rules file provides an easy way to create and apply devfs(8) rules, even for devices that are not available at boot.
For devices available at boot, see devfs.conf(5).
The format of this file is simple. Empty lines and lines beginning with a hash sign ('#') are ignored. A line between brackets denotes the
start of a ruleset. In the brackets should be the name of the ruleset and its number, separated by an equal sign.
Other lines are rule specifications as documented in devfs(8), in the section Rule Specification. These lines are prepended with ``rule''
and are passed to devfs(8) by the startup scripts of the system. It is important to put path elements that contain glob(3) special charac-
ters between quotes.
Rulesets should have a unique name and number.
All rules that follow a ruleset declaration belong to that ruleset, until a new ruleset is started.
One custom ruleset has to be enabled in /etc/rc.conf, otherwise it will not be applied to the /dev file system by the default system startup
process. For example, to enable a ``localrules'' ruleset for the /dev file system, you would have to use something like this in your rc.conf
file:
devfs_system_ruleset="localrules"
FILES
/etc/defaults/devfs.rules Default devfs.rules configuration file.
/etc/devfs.rules Local devfs.rules configuration file. Rulesets in here override those in /etc/defaults/devfs.rules with the
same ruleset number, otherwise the two files are effectively merged.
EXAMPLES
To make all the partitions of da(4) devices readable and writable by their owner and the ``usb'' group, the following rule may be used:
[localrules=10]
add path 'da*s*' mode 0660 group usb
The first line declares and starts a new ruleset, with the name localrules and the number 10.
To give usbconfig(8) and libusb(3) enabled applications permission to all usb devices for their owner and the ``usb'' group, a similar rule
may be used:
add path 'usb/*' mode 0660 group usb
SEE ALSO
glob(3), devfs(5), devfs.conf(5), devfs(8)
AUTHORS
This manual page was written by Roland Smith <rsmith@xs4all.nl>.
BSD
February 21, 2010 BSD