Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
automounting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Highlands
Guru
Guru


Joined: 22 Apr 2003
Posts: 366
Location: Sundsvall, Sweden

PostPosted: Fri Jun 27, 2003 9:23 am    Post subject: automounting Reply with quote

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
View user's profile Send private message
Brown Eyed Boy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2003
Posts: 85
Location: England

PostPosted: Fri Jun 27, 2003 10:53 am    Post subject: Reply with quote

No, I don't think you can just do it like that. Take a look at the Automount mini-Howto: http://en.tldp.org/HOWTO/mini/Automount.html.

Hope this helps :-)

~Brown Eyed Boy
Back to top
View user's profile Send private message
stustill
Guru
Guru


Joined: 25 Feb 2003
Posts: 333
Location: Aberdeen, Scotland

PostPosted: Fri Jun 27, 2003 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Sat Jul 19, 2003 10:37 am    Post subject: Reply with quote

can you mount a vfat partition the same way? i guess so... :oops:
_________________
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
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Sat Jul 19, 2003 11:26 am    Post subject: Reply with quote

yes, it is possible.
_________________
Markus Nigbur
Back to top
View user's profile Send private message
StinkingMonkey
Apprentice
Apprentice


Joined: 24 May 2003
Posts: 183
Location: UK

PostPosted: Sun Jul 20, 2003 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Nicom
Guru
Guru


Joined: 30 Jan 2003
Posts: 380

PostPosted: Sun Jul 20, 2003 11:28 pm    Post subject: Reply with quote

I use supermount all the time for my cd drive, works perfectly
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Sun Jul 20, 2003 11:36 pm    Post subject: Reply with quote

emerge autofs ..... when you cd into /mnt/cdrom it will mount it automatically .... then when you cd out it will unmount.
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Mon Jul 28, 2003 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message
pmjdebruijn
Guru
Guru


Joined: 24 Jul 2003
Posts: 506
Location: Sittard, The Netherlands

PostPosted: Mon Jul 28, 2003 11:36 am    Post subject: Reply with quote

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
View user's profile Send private message
amittp
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 123
Location: USA

PostPosted: Mon Jul 28, 2003 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
acidreign
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2002
Posts: 122
Location: Brisbane, Australia

PostPosted: Mon Jul 28, 2003 5:34 pm    Post subject: Shameless plug Reply with quote

This is documented quite well at the Gentoo Server Project wiki: Check it out.

http://www.subverted.net/wakka/wakka.php?wakka=GentooAutoFS
_________________
Gentoo Server Project
http://www.subverted.net
Back to top
View user's profile Send private message
dharma
n00b
n00b


Joined: 22 Jul 2003
Posts: 10
Location: Russia, Moscow

PostPosted: Tue Jul 29, 2003 7:06 am    Post subject: Re: automounting Reply with quote

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
View user's profile Send private message
the_way
n00b
n00b


Joined: 03 May 2003
Posts: 2
Location: Romania

PostPosted: Tue Jul 29, 2003 7:21 am    Post subject: Automaunt with UNHIDE Reply with quote

is it possible use supermount to mount the cd with the unhide option set??
what is thye magic syntax???
Back to top
View user's profile Send private message
lurid
Guru
Guru


Joined: 12 Mar 2003
Posts: 595
Location: Florida

PostPosted: Wed Jul 30, 2003 6:32 am    Post subject: Reply with quote

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
View user's profile Send private message
phelan
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2002
Posts: 110
Location: Zürich, Switzerland

PostPosted: Wed Jul 30, 2003 10:37 am    Post subject: Reply with quote

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
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Mon Oct 13, 2003 10:57 pm    Post subject: Reply with quote

How do you turn off automount on the CD? It seems to be causing some problems with bootstrap...

Q
Back to top
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Tue Oct 14, 2003 10:46 am    Post subject: Reply with quote

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
View user's profile Send private message
g3n
Guru
Guru


Joined: 13 Dec 2003
Posts: 543
Location: México

PostPosted: Wed May 19, 2004 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
andrew_j_w
Guru
Guru


Joined: 28 Jun 2003
Posts: 534
Location: York, UK

PostPosted: Wed May 19, 2004 9:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Wed May 19, 2004 11:48 pm    Post subject: Reply with quote

submount is better than supermount. emerge submount to build the subfs module.
Back to top
View user's profile Send private message
g3n
Guru
Guru


Joined: 13 Dec 2003
Posts: 543
Location: México

PostPosted: Mon Mar 07, 2011 4:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum