09-28-2007
It should read as "devfsadm" (not devsadm) in my previous post..sorry for that..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Guys:
Would like to know how to take an entire system backup.. Here is the entire scenario.. I am working on a system that is AIX RS6000 M80 Server. We have loaded the OS and installed all the patches and then we took an entire system backup. We also verified by restoring the same... (2 Replies)
Discussion started by: ST2000
2 Replies
2. Shell Programming and Scripting
I want to write a script that tells me if the tape device is ready, if the answer is not yes ($?is not 0) i get an answer that the tape_device is not ready. If the tape is ready i can do a
tar -cvf $tape1 * .
How can i write a script to control if the tapedevice is ready or not?
How can i... (1 Reply)
Discussion started by: eddyvdv
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Needing to perform a backup of one system to the tape unit on another system. Why, well because the local tape device is stuffed and I desparately need to have a backup completed successfully sooner rather than not at all.
My question is how do I set the below code to allow me to perform... (3 Replies)
Discussion started by: Cameron
3 Replies
4. UNIX for Advanced & Expert Users
Has anyone seen this before?
if i ls a particular directory (an email Maildir) i get a long list of files, if i 'du -h' that same directory, i get messages like:
du: `./1053894791.17207_0.srweb,S=6199': No such file or directory
strange. so using tab will complete this filename too, giving... (3 Replies)
Discussion started by: dittonamed
3 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
I´m a newbie in Linux, but I´m trying to solve some problems studying on my own, but I´ve had some problems with AWK.
Look, I have one single backup log file per server and I want to make a daily delection from the last backup job to show in a intranet of my work.
The log files are from... (0 Replies)
Discussion started by: metalfreakbr
0 Replies
6. Shell Programming and Scripting
Hi Friends,
I need help. I have around 100 users. I want to take date wise backup of files which are on desktop for every user.
My user directory path is -: /home/dr/<user_name>/Desktop
1) Script has to run on a perticular time everyday
2) Script has to take backup of all files present... (2 Replies)
Discussion started by: paragnehete
2 Replies
7. HP-UX
Hi Experts,
When i taking backup of my servers in Tape Library simultaneously the Temp folder is getting full...... these file like OB2DBG*.txt (2 Replies)
Discussion started by: purushottamaher
2 Replies
8. Shell Programming and Scripting
I am trying to work on a script that will first check to see if a backup of a file exists, and if it does it will prompt the user to ask if he/she wants it replace. Of course, if the user says no then the file should be skipped.
Here is the code I have written. Does it look as if it is working... (1 Reply)
Discussion started by: xshellscriptx
1 Replies
9. Shell Programming and Scripting
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies
10. AIX
I am trying to configure dump devices on my AIX server. Running 7100-03-04-1441. My dump device needs to be about 2GB in size. My PP Size is 1024MB, so I create the device with 2 PPs. When I run lslv on the dump device, it shows the 2 PPs, and a PP Size of 1024 megabytes. However, a dumpcheck... (4 Replies)
Discussion started by: paqman
4 Replies
LEARN ABOUT MOJAVE
devfsadm
devfsadm(1M) System Administration Commands devfsadm(1M)
NAME
devfsadm, devfsadmd - administration command for /dev
SYNOPSIS
/usr/sbin/devfsadm [-C] [-c device_class] [-i driver_name] [ -n] [-r root_dir] [-s] [-t table_file] [-v]
/usr/lib/devfsadm/devfsadmd
DESCRIPTION
devfsadm(1M) maintains the /dev namespace. It replaces the previous suite of devfs administration tools including drvconfig(1M), disks(1M),
tapes(1M), ports(1M), audlinks(1M), and devlinks(1M).
The default operation is to attempt to load every driver in the system and attach to all possible device instances. Next, devfsadm creates
logical links to device nodes in /dev and /devices and loads the device policy.
devfsadmd(1M) is the daemon version of devfsadm(1M). The daemon is started during system startup and is responsible for handling both
reconfiguration boot processing and updating /dev and /devices in response to dynamic reconfiguration event notifications from the kernel.
For compatibility purposes, drvconfig(1M), disks(1M), tapes(1M), ports(1M), audlinks(1M), and devlinks(1M) are implemented as links to
devfsadm.
In addition to managing /dev, devfsadm also maintains the path_to_inst(4) database.
OPTIONS
The following options are supported:
-C Cleanup mode. Prompt devfsadm to cleanup dangling /dev links that are not normally removed. If the -c option is
also used, devfsadm only cleans up for the listed devices' classes.
-c device_class Restrict operations to devices of class device_class. Solaris defines the following values for device_class: disk,
tape, port, audio, and pseudo. This option might be specified more than once to specify multiple device classes.
-i driver_name Configure only the devices for the named driver, driver_name.
-n Do not attempt to load drivers or add new nodes to the kernel device tree.
-s Suppress any changes to /dev. This is useful with the -v option for debugging.
-t table_file Read an alternate devlink.tab file. devfsadm normally reads /etc/devlink.tab.
-r root_dir Presume that the /dev directory trees are found under root_dir, not directly under root (/). No other use or
assumptions are made about root_dir.
-v Print changes to /dev in verbose mode.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
FILES
/devices device nodes directory
/dev logical symbolic links to /devices
/usr/lib/devfsadm/devfsadmd devfsadm daemon
/dev/.devfsadm_dev.lock update lock file
/dev/.devfsadm_daemon.lock daemon lock file
/etc/security/device_policy device policy file
/etc/security/extra_privs additional device privileges
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
svcs(1), add_drv(1M), modinfo(1M), modload(1M), modunload(1M), rem_drv(1M), svcadm(1M), tapes(1M), path_to_inst(4), attributes(5), privi-
leges(5), smf(5), devfs(7FS)
NOTES
This document does not constitute an API. The /devices directory might not exist or might have different contents or interpretations in a
future release. The existence of this notice does not imply that any other documentation that lacks this notice constitutes an API.
devfsadm no longer manages the /devices name space. See devfs(7FS).
The device configuration service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/device/local:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.10 6 Aug 2004 devfsadm(1M)