- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Diff between insf,mksf,mknod commands
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2010 10:40 PM
тАО09-28-2010 10:40 PM
Diff between insf,mksf,mknod commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2010 10:54 PM
тАО09-28-2010 10:54 PM
Re: Diff between insf,mksf,mknod commands
can provide you lot of informations
insf - install special (device) files
mksf - make a special (device) file
(E.g) mksf -C printer -I 2 /dev/printer
mknod() - make directory, special, or ordinary file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2010 11:19 PM
тАО09-28-2010 11:19 PM
Re: Diff between insf,mksf,mknod commands
Same discussion on the below link
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1097016
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2010 11:21 PM
тАО09-28-2010 11:21 PM
Re: Diff between insf,mksf,mknod commands
Using the insf Command
----------------------------------
The insf command creates device files for new devices. It is automatically executed during the boot
process; however, you can also use it later to create additional devices. For example, to create device
files for tape drives, you can use the following command.
insf -C tape
This command does not create device files for existing devices. If you delete device files accidentally,
insf will not recreate the device files at boot time. For creating device files for existing devices, you need
to use the command line option -e. For example, if you accidentally delete the device file for your CDROM,
which is attached to hardware path 0.1.0, use the following command to recreate it.
insf -H 0.1.0 -e
***************************************************************
Using the mksf Command
-------------------------------------
This command is used to create device files if the system already knows the devices. An existing device
is one that already has been assigned an instance number by the system. The mksf command can also
create a directory if needed for the device file. It has some built-in options and file naming conventions;
however, you can override these options using the command line.
************************************************************************
Using the mknod Command
---------------------------------------
The mknod command can be used to create character device files, block device files, or files
representing named pipes. To create character or block device files, you have to specify major and
minor numbers at the command line. To create a character device file for a tape drive with major number
212 and minor number 0x030080, you will use this command.
mknod /dev/rmt/0m c 212 0x030080
To create a block device file, replace "c" with "b" on the command line.
************************************************************
please check man pages for available option to use with these commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2010 12:57 AM
тАО09-29-2010 12:57 AM
Re: Diff between insf,mksf,mknod commands
http://docs.hp.com/en/hpuxman_pages.html