Solved

AMD, automounting local devices

Posted on 1997-02-20
1
236 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now