Sponsored Content
Full Discussion: Unix devices
Top Forums UNIX for Dummies Questions & Answers Unix devices Post 27010 by GW01 on Tuesday 27th of August 2002 03:31:59 AM
Old 08-27-2002
Unix devices

Hi

I am trying to determine the access to unix devices. I found the follow access description which I have been told is a symbolic link and is not the actual file. I was also told that all symbolic links will have rwxrwxrwx access.

kmem: lrwxrwxrwx 1 root 27 May 28 16:06 /dev/kmem -> ../devices /pseudo/mm @0: kmem

Can someone tell me where I can find what access has been given to devices.

Thanks
 

10 More Discussions You Might Find Interesting

1. Programming

How to programm TTY devices under UNIX platform?

Dear Export, I want to begin an serial-communication application codes associated with TTY devices. But I don't know what key settings should be concerned after opening a TTY device file under UNIX plarform(SunOS 5.7)? Could you give me some adivce? Thanks! (8 Replies)
Discussion started by: WayneYang
8 Replies

2. HP-UX

HP-UX 10.20 devices

Is it possible to create the CDROM device file for a drive attached to the parallel port? I have a removable CDROM drive (gift - I'm trying not to return it, but may have to anyways) that attaches via parallel port. The only device that I can attach to that hardware address is /dev/c1t0d0_lp, a... (9 Replies)
Discussion started by: LivinFree
9 Replies

3. UNIX for Dummies Questions & Answers

Devices in Unix

How can I display the devices attached to my computer through the command line? And, how do I get information about each device listed? I'm looking to make sure that my DLT drive is recognized by the computer. Using FreeBSD, if that helps. Thanks! (1 Reply)
Discussion started by: derekc132002
1 Replies

4. UNIX for Dummies Questions & Answers

printing devices

I am new in unix, and I need to fix a printer, but I don't even know the difference between /dev/ttys printers and lp printers. Can someone explain this to me and tell me how I cancel jobs in both of them? I will appreciate it, thank you. (15 Replies)
Discussion started by: HN19
15 Replies

5. Red Hat

USB Devices

I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work. In trying to get it to work, I typed cat /proc/scsi/scsi and got this: # cat... (2 Replies)
Discussion started by: davidkretsch
2 Replies

6. Solaris

what is /devices/pseudo/ ??

Hi all, what does this mean? if then <something> fi here is what i know.. it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop. However am not understand what lofi@0:means? also is there... (3 Replies)
Discussion started by: wrapster
3 Replies

7. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

8. Programming

Raw devices in C

Hi guys. what is the benefits of using raw devices in programming? which applications mostly use raw devices? how can i use raw devices in C programs? is there any system calls or library functions? (1 Reply)
Discussion started by: majid.merkava
1 Replies

9. Red Hat

Raw Devices

Can you please modify my script. This script is not working for i in /dev/sdf do /bin/raw /dev/raw/`/bin/basename ${i}` ${i} /bin/sleep 2 /bin/chown orasm:ordba /dev/raw/`/bin/basename ${i}` /bin/chmod 660... (9 Replies)
Discussion started by: karthik9358
9 Replies

10. Linux

Ports,number of slots,network devices - UNIX

Hi All, Can someone help me in finding out below information from ReHat linux,Solaris,AIX, hp-ux machine : 1. How to find total number of ports in supported by each slot. 2. name of ports that are used to transmit data to the printer 3. total number of slots on a network device (2 Replies)
Discussion started by: omkar.jadhav
2 Replies
TH-CMD(1)							Triggerhappy daemon							 TH-CMD(1)

NAME
th-cmd -- triggerhappy commander SYNOPSIS
th-cmd --socket <socket> [--passfd] [--tag <foo>] [--clear|--enable|--disable|--mode <mode>|--quit|--udev|--add <devices...>|--remove <devices...>] DESCRIPTION
This program is used to issue commands to a running triggerhappy daemon. It utilizes an unix domain socket bound by the daemon. OPTIONS
--socket socket The socket file opened by the running triggerhappy daemon instance. --add <devices...> Instruct the running daemon to open the input devices specified on the command line --remove <devices...> Remove specified devices from the running daemon. --clear Remove all devices from the running daemon. --udev Deduce operation and device name from udev environment (for use in udev rules). --disable Disable the execution of triggers. --enable Re-enable the execution of triggers. --mode <newmode> Change the mode of the triggerhappy daemon to <newmode>. If no new mode is specified, the daemon switches to default mode. --quit Terminate the triggerhappy daemon. --passfd Instead of instructing the daemon to open the device, open the device and pass the file descriptor to the daemon. This allows the adding of new devices to a daemon having dropped its privileges, however the th-cmd process must have access to the device file. --grab Grab the device; the triggerhappy daemon will try to get exclusive access to the device, other applications will not receive the events emitted by it. --tag foo Label the added device with the tag <foo>; this can be used to limit the scope of event handlers to a subset of input devices. AUTHOR
Stefan Tomanek <stefan.tomanek+th@wertarbyte.de> 0.3.4 2011-05-10 TH-CMD(1)
All times are GMT -4. The time now is 03:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy