Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
A few quick comments:
* Just for clarify, let's talk some terminology first. A mount point is just a directory, so to "create a mount point" you just need to create a directory where you want to mount something (using the mkdir command). Presumably the real question is thus not how to create the mount point, but how to mount the tape drive.
* If the device file (presumably /dev/IBMtape0, with lower case "d") exists, it already has a major and minor number. Run "ls -l /dev/IBMtape0" to find it. Please post the output if you want an explanation of what you're looking at.
* The type of device (character or block) does not determine whether it can be mounted. Many character devices (like /dev/tty*, /dev/pts*, /dev/zero, /dev/random and even a hard drive (not partition) like /dev/sda) can not be mounted.
* For a device to be mounted, you must be able to create a file system on it, and I am not aware of any file system type that works on sequential devices. There might be something out there that I have not come across, though.
I need to create a mount point for a tape device /Dev/IBMtape0.
When i issue df -h/df -k i want to see tape device mount point. As it is a sequential device creating mount point is not same as creating mount point for other devices such as CD-ROM.
Please do the needful.
You can't mount a tape drive like you do a CD/DVD/hard drive. Tape devices are sequential, period...you cannot access them like you would a non-sequential device. Don't know what you heard, or where, but cliffordw gave you the right answer, but you apparently don't believe us.
Here's a quick explanation of the key things you see in the "ls -l" output as promised:
crw-rw-rw- 1 root root 250, 0 Jul 9 16:44 /dev/IBMtape0
^ ^ ^ ^ ^ ^
| | | | | |
| | | | | Device Minor Number
| | | | Device Major Number
| | | Group
| | Owner
| Number of links
Indicates that this is a character special device