Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

AMD, automounting local devices

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 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