?
Solved

AMD, automounting local devices

Posted on 1997-02-20
1
Medium Priority
?
282 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
[X]
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
1 Comment
 
LVL 19

Accepted Solution

by:
xterm earned 200 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

771 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