View previous topic :: View next topic |
Author |
Message |
Highlands Guru
Joined: 22 Apr 2003 Posts: 366 Location: Sundsvall, Sweden
|
Posted: Fri Jun 27, 2003 9:23 am Post subject: automounting |
|
|
can I put a line i fstab so that when I put a CD in the slot then it mounts it to /mnt/cdrom? _________________ If Windows is the answer, you don't understand the question!
http://counter.li.org/cgi-bin/certificate.cgi/339446 |
|
Back to top |
|
|
Brown Eyed Boy Tux's lil' helper
Joined: 08 Jun 2003 Posts: 85 Location: England
|
|
Back to top |
|
|
stustill Guru
Joined: 25 Feb 2003 Posts: 333 Location: Aberdeen, Scotland
|
Posted: Fri Jun 27, 2003 11:14 am Post subject: |
|
|
I think you can do this with supermount. You will need to compile it either into your kernel or as a module. Then I believe you simply add supermount to your fstab like so:
Code: | /dev/cdroms/cdrom0 /mnt/dvdrom iso9660 noauto,ro,supermount 0 0 |
Stu |
|
Back to top |
|
|
eeknay Guru
Joined: 07 Jul 2003 Posts: 402 Location: EndOfTheRainbow
|
Posted: Sat Jul 19, 2003 10:37 am Post subject: |
|
|
can you mount a vfat partition the same way? i guess so... _________________ Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering." |
|
Back to top |
|
|
pYrania Retired Dev
Joined: 27 Oct 2002 Posts: 650 Location: Cologne - Germany
|
Posted: Sat Jul 19, 2003 11:26 am Post subject: |
|
|
yes, it is possible. _________________ Markus Nigbur |
|
Back to top |
|
|
StinkingMonkey Apprentice
Joined: 24 May 2003 Posts: 183 Location: UK
|
Posted: Sun Jul 20, 2003 1:39 am Post subject: |
|
|
this will mount windows 98 automatically, just make sure you have vfat support either build in or as a module and if it is a module add vfat to /etc/modules.autoload
/dev/hda1 /mnt/Win98 vfat user,auto 0 0 |
|
Back to top |
|
|
Nicom Guru
Joined: 30 Jan 2003 Posts: 380
|
Posted: Sun Jul 20, 2003 11:28 pm Post subject: |
|
|
I use supermount all the time for my cd drive, works perfectly |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Sun Jul 20, 2003 11:36 pm Post subject: |
|
|
emerge autofs ..... when you cd into /mnt/cdrom it will mount it automatically .... then when you cd out it will unmount. |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Mon Jul 28, 2003 5:47 am Post subject: |
|
|
I also need a kernel wich supports supermount?
Or just as you said: emerge autofs and that's it? _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
pmjdebruijn Guru
Joined: 24 Jul 2003 Posts: 506 Location: Sittard, The Netherlands
|
Posted: Mon Jul 28, 2003 11:36 am Post subject: |
|
|
This might also be worth to take a shot at:
http://supermount-ng.sourceforge.net/
It's a kernel patch... It's a reimplementation of the Mandrake supermount thingy!
Bye,
DrZ |
|
Back to top |
|
|
amittp Tux's lil' helper
Joined: 02 Jul 2002 Posts: 123 Location: USA
|
Posted: Mon Jul 28, 2003 12:38 pm Post subject: |
|
|
I cannot get nautilus to start after adding supermount support for CDROM.
Any ideas what is the problem? Is anyone having same problem? _________________ Believe in yourself |
|
Back to top |
|
|
acidreign Tux's lil' helper
Joined: 21 Apr 2002 Posts: 122 Location: Brisbane, Australia
|
|
Back to top |
|
|
dharma n00b
Joined: 22 Jul 2003 Posts: 10 Location: Russia, Moscow
|
Posted: Tue Jul 29, 2003 7:06 am Post subject: Re: automounting |
|
|
Highlands wrote: | can I put a line i fstab so that when I put a CD in the slot then it mounts it to /mnt/cdrom? |
I use submount (supermount replacement). |
|
Back to top |
|
|
the_way n00b
Joined: 03 May 2003 Posts: 2 Location: Romania
|
Posted: Tue Jul 29, 2003 7:21 am Post subject: Automaunt with UNHIDE |
|
|
is it possible use supermount to mount the cd with the unhide option set??
what is thye magic syntax??? |
|
Back to top |
|
|
lurid Guru
Joined: 12 Mar 2003 Posts: 595 Location: Florida
|
Posted: Wed Jul 30, 2003 6:32 am Post subject: |
|
|
How would I go about mounting an smb share automatically on boot? Is that possible? _________________ Go find a cheerleader and saw her legs off. - Nny |
|
Back to top |
|
|
phelan Tux's lil' helper
Joined: 22 Aug 2002 Posts: 110 Location: Zürich, Switzerland
|
Posted: Wed Jul 30, 2003 10:37 am Post subject: |
|
|
lurid wrote: | How would I go about mounting an smb share automatically on boot? Is that possible? |
Yes. You don't need automount or supermount for this, but a kernel compiled with SMB support. Edit this line and put it in your fstab:
Code: |
//host/sharename /mount_path smbfs username=somename,password=somepassword,dmask=777,fmask=777 0 0
|
|
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Mon Oct 13, 2003 10:57 pm Post subject: |
|
|
How do you turn off automount on the CD? It seems to be causing some problems with bootstrap...
Q |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Tue Oct 14, 2003 10:46 am Post subject: |
|
|
Mmm.. No response from here and no response from the devs... I know this is an old thread, but if any of you guys know how to turn automount off on the live CD, please let me know.
Kind regards,
Q |
|
Back to top |
|
|
g3n Guru
Joined: 13 Dec 2003 Posts: 543 Location: México
|
Posted: Wed May 19, 2004 7:03 pm Post subject: |
|
|
stustill wrote: | I think you can do this with supermount. You will need to compile it either into your kernel or as a module. Then I believe you simply add supermount to your fstab like so:
Code: | /dev/cdroms/cdrom0 /mnt/dvdrom iso9660 noauto,ro,supermount 0 0 |
Stu |
Where do i enable supermount in the kernel? _________________ --[G]-- |
|
Back to top |
|
|
andrew_j_w Guru
Joined: 28 Jun 2003 Posts: 534 Location: York, UK
|
Posted: Wed May 19, 2004 9:50 pm Post subject: |
|
|
If you're running at 2.6 kernel then it's under Device Drivers -> Kernel Automounter Support.
HTH,
Andrew
p.s. I'm not sure if these forums have a policy on necroing dead threads, but you'd probably get a better reponse by starting a new thread rather than resurrecting a dead one, IMHO. |
|
Back to top |
|
|
Plastic l33t
Joined: 24 Mar 2004 Posts: 649
|
Posted: Wed May 19, 2004 11:48 pm Post subject: |
|
|
submount is better than supermount. emerge submount to build the subfs module. |
|
Back to top |
|
|
g3n Guru
Joined: 13 Dec 2003 Posts: 543 Location: México
|
Posted: Mon Mar 07, 2011 4:20 pm Post subject: |
|
|
hossar wrote: | Wow, what an old thread here, seems like I lost my bearings a little bit. | Yeah, the answer is the other way _________________ --[G]-- |
|
Back to top |
|
|
|