Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev a automount
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Tue Nov 23, 2004 7:57 pm    Post subject: udev a automount Reply with quote

dunque da qualche parte ho letto che supermount è deprecato perchè udev fa già quel lavoro (non mi ricordo dove), però qualcosa mi sfugge...
Ho capito generalmente il funzionamento di udev e hotplug, però non ho capito come potrei fargli automontare qualcosa (tipo pennine usb o hard disk esterni), voi che dite??

altrimenti come potrei fare?

grazie a tutti...
Back to top
View user's profile Send private message
sharael
n00b
n00b


Joined: 11 Nov 2004
Posts: 6

PostPosted: Tue Nov 23, 2004 8:20 pm    Post subject: Reply with quote

Nella faq di kernel.org, ho trovato quanto segue. Non so se ti puo' essere utile, e sopratutto non so se funzioni poiche' non ho mai usato l'automounter.

Quote:

Q: Can I use udev to automount a USB device when I connect it?
A: Technically, yes, but udev is not intended for this. Projects that do
automount hotplugged storage devices are:
* Usb-mount http://users.actrix.co.nz/michael/usbmount.html
* devlabel http://linux.dell.com/projects.shtml#devlabel

Alternatively, it is easy to add the following to fstab:
/udev/pendrive /pendrive vfat user,noauto 0 0

This means that users can access the device with:
$ mount /pendrive
And don't have to be root but will get full permissions on /pendrive.
This works even without udev if /udev/pendrive is replaced by /dev/sda1


Ah, inoltre c'e' questo piccolo thread:
https://forums.gentoo.org/viewtopic.php?t=233589&highlight=udev+automount

Spero ti possa essere utile
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Wed Nov 24, 2004 12:16 am    Post subject: Reply with quote

ma non bisogna usare submount adesso?
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Vide
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 201
Location: Barcelona

PostPosted: Wed Nov 24, 2004 12:18 am    Post subject: Reply with quote

Naa, submount è roba vecchia :P
Io comunque per ora mi tengo ancora il mio caro supermount che funziona perfettamente per quel che mi serve. Il giorno che hal + dbus + ivman saranno perfettamente funzionanti al 100% allora migrerò
_________________
http://www.heavy-metal.it
Metal, hard rock and much more..
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Wed Nov 24, 2004 7:10 am    Post subject: Reply with quote

Cazzantonio wrote:
ma non bisogna usare submount adesso?

No puoi ancora scegliere. Io consiglio submount se non bisogna fare cose strane questo perche' nel fstab ha una sintassi omogenea al resto
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Wed Nov 24, 2004 2:07 pm    Post subject: Reply with quote

ok ho messo submount, ma ora posso dare config-kernel --allow-writable=no??

se non ho capito male serviva solo per potersi installare come modulo senza dover patchare il kernel giusto?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Wed Nov 24, 2004 2:17 pm    Post subject: Reply with quote

@tuxer: non mi ricordo piu' molto guarda il post di motaboy che spiega molto bene
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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