Solved

AMD, automounting local devices

Posted on 1997-02-20
1
255 Views
Last Modified: 2012-05-04
Hello !!!

I don't know how to mount local devices automatically using amd. Devices such as cdrom, floppy discs ...

I've read somewhere that it's posible.
0
Comment
Question by:rvalle
1 Comment
 
LVL 19

Accepted Solution

by:
xterm earned 100 total points
ID: 1584179
Conventionally, your devices to mount at boot time are in
/etc/mtab (/etc/fstab shows all mounts)  There is proprietary
software to mount these devices at boot time, but in my
experience in order to mount a CD at boot time, you must have
one in the drive.  A better way to do it is this:

/root/bin/cd-on
mount -t iso9660 /dev/cdrom /cdrom  # or your mount point
/root/bin/cd-off
umount /dev/cdrom
/root/bin/floppy
mount -t ext2 [or msdos] /dev/fd0 /mnt/floppy # or whatever
/root/bin/unfloppy
umount /dev/fd0

You get the idea -- simple one line shell scripts to
automate the tasks when needed.  Remember to chmod +x
these files after you create them. (and it doesn't have
to be /root/bin -- I just use that so I can see all the
neat little 'binaries' I've created)
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question