Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automount, cosa uso?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Sun Nov 25, 2007 6:19 pm    Post subject: Automount, cosa uso? Reply with quote

Ciao a tutti, mi domandavo quale sia attualmente il sistema migliore per gestire l'automounting di periferiche usb. Ho provato nel tempo udev, ivman, script fatti a mano...
Cosa dovrei utilizzare? C'e' qualche guida in proposito?
Federico
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Sun Nov 25, 2007 6:41 pm    Post subject: Reply with quote

un pò di tempo fa mi ero lanciato su autofs, comunque per i DE più consistenti dovrebbe essere sufficiente installare hal+dbus
_________________
LP
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Sun Nov 25, 2007 7:16 pm    Post subject: Reply with quote

lucapost wrote:
un pò di tempo fa mi ero lanciato su autofs, comunque per i DE più consistenti dovrebbe essere sufficiente installare hal+dbus


eppure il mio gnome con hal e dbus non monta un tubo...
C'e' un sistema figo per mappare un nome per ogni device e montarlo dove dico io?
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Sun Nov 25, 2007 7:30 pm    Post subject: Reply with quote

federico wrote:

C'e' un sistema figo per mappare un nome per ogni device....

questo lo fai con udev, questo è il mio file di configurazione:
Code:
 ~/> cat /etc/udev/rules.d/10-local.rules
ATTRS{idProduct}=="5041", ATTRS{idVendor}=="04e8", NAME="%k", SYMLINK="samsung%n"
ATTRS{idProduct}=="2168", ATTRS{idVendor}=="0ea0", NAME="%k", SYMLINK="pendrive%n"

la guida migliore che ho trovato è questa: http://www.reactivated.net/writing_udev_rules.html
dai un'occhiata agli esempi.

Comunque c'è qualcosa anche sul wiki: http://gentoo-wiki.com/HOWTO_Customizing_UDEV
_________________
LP
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Sun Nov 25, 2007 7:33 pm    Post subject: Reply with quote

federico wrote:
C'e' un sistema figo per mappare un nome per ogni device e montarlo dove dico io?

Figo? Pensa che io uso le cose perché funzionano ... Sono proprio preistorico!
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Sun Nov 25, 2007 7:52 pm    Post subject: Reply with quote

skypjack wrote:
federico wrote:
C'e' un sistema figo per mappare un nome per ogni device e montarlo dove dico io?

Figo? Pensa che io uso le cose perché funzionano ... Sono proprio preistorico!


Effettivamente...
Io devo avere le cose che funzionano, e se sono esoteriche anche meglio :)
Altrimenti rimarrei sempre uno dei tanti :twisted: :twisted: :twisted:
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Nov 25, 2007 7:56 pm    Post subject: Reply with quote

federico wrote:
skypjack wrote:
federico wrote:
C'e' un sistema figo per mappare un nome per ogni device e montarlo dove dico io?

Figo? Pensa che io uso le cose perché funzionano ... Sono proprio preistorico!


Effettivamente...
Io devo avere le cose che funzionano, e se sono esoteriche anche meglio :)
Altrimenti rimarrei sempre uno dei tanti :twisted: :twisted: :twisted:


in ogni caso asbesto ha pubblicato su questo forum una guida all'installazione di autofs... se la trovo la linko, però forse è un po' outdated.
personalmente uso ivman+hald+dbus
e in fstab ho i devices specificati by-uuid
questo mi consente di nominare i device singolarmente... volevo provare a fare la cosa delle regole di udev però è pure troppo e se devo modificare qualcosa devo ripigliarmi la guida e sinceramente non mi va...
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Sun Nov 25, 2007 8:24 pm    Post subject: Reply with quote

Peach wrote:

e in fstab ho i devices specificati by-uuid

cosa vuol dire?
_________________
LP
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Nov 25, 2007 8:48 pm    Post subject: Reply with quote

lucapost wrote:
Peach wrote:

e in fstab ho i devices specificati by-uuid

cosa vuol dire?


Code:
/dev/disk/by-uuid/34622df6-f4ca-4b2c-a5cc-77ee92f02419  /mnt/MoreStuff  ext3             noatime,noauto,exec,dev,suid,rw 0 0

_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Sun Nov 25, 2007 8:53 pm    Post subject: Reply with quote

Peach wrote:

Code:
/dev/disk/by-uuid/34622df6-f4ca-4b2c-a5cc-77ee92f02419  /mnt/MoreStuff  ext3             noatime,noauto,exec,dev,suid,rw 0 0

8O
nerdissimo!

a questo punto in vacca le regole di udev e mi creo dei link con dei nomi decenti a quella roba li, forse funge...ora provo.
_________________
LP
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Nov 25, 2007 9:27 pm    Post subject: Reply with quote

lucapost wrote:
8O
nerdissimo!

a questo punto in vacca le regole di udev e mi creo dei link con dei nomi decenti a quella roba li, forse funge...ora provo.


lol!!!

cmq l'howto su autofs che citavo era questo:
https://forums.gentoo.org/viewtopic-t-242949-highlight-autofs+howto.html
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Sun Nov 25, 2007 9:48 pm    Post subject: Reply with quote

http://gentoo-wiki.com/HOWTO_Auto_mount_filesystems_(AUTOFS) è più recente.

:wink:
_________________
LP
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Sun Nov 25, 2007 10:22 pm    Post subject: Reply with quote

Sono un po' confuso, cosa dovrei usare? :roll: :?: 8O 8O 8O 8O
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Sun Nov 25, 2007 10:23 pm    Post subject: Reply with quote

federico wrote:
eppure il mio gnome con hal e dbus non monta un tubo...
Il tuo utente è membro del gruppo plugdev?
Back to top
View user's profile Send private message
hujuice
Guru
Guru


Joined: 16 Oct 2007
Posts: 352
Location: Nicosia, Cyprus

PostPosted: Mon Nov 26, 2007 12:47 am    Post subject: Reply with quote

federico wrote:
Sono un po' confuso, cosa dovrei usare? :roll: :?: 8O 8O 8O 8O


Tom Robbins, Beati come rane su foglie di ninfea wrote:

«Una scelta non è una scelta se non comporta conseguenze. Dipende dal senso che vuoi dare alla parola libertà.»


Citazioni a parte, la libertà di Linux è proprio il fatto di poter scegliere, no? 8)

Io faccio come Peach, però l'fstab lo scrivo diversamente.
Peach modificato:

UUID=34622df6-f4ca-4b2c-a5cc-77ee92f02419  /mnt/MoreStuff  ext3             noatime,noauto,exec,dev,suid,rw 0 0


Buon lunedì,
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Mon Nov 26, 2007 12:56 am    Post subject: Reply with quote

Ma l'automount e' ancora un problema ? Ma sul serio ?
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Nov 26, 2007 9:08 am    Post subject: Reply with quote

"Cosa uso per ..." é decisamente una discussione ;-)

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
Ciao da me!
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Mon Nov 26, 2007 9:12 am    Post subject: Reply with quote

con gnome io utilizzo con soddisfazione gli strumenti propri di gnome, cioè
Code:

gnome-base/gnome-mount
gnome-base/gnome-volume-manager

abbinati ad hal + dbus e all'inclusione del mio utente nel gruppo plugdev. E tutto funziona out of the box.
Certo, se poi vuoi qualcosa di esoterico....
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
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: Mon Nov 26, 2007 9:30 am    Post subject: Reply with quote

hujuice wrote:
Io faccio come Peach, però l'fstab lo scrivo diversamente.
Peach modificato:

UUID=34622df6-f4ca-4b2c-a5cc-77ee92f02419  /mnt/MoreStuff  ext3             noatime,noauto,exec,dev,suid,rw 0 0

A me in quel modo non funziona... e nemmeno specificando LABEL=XXX

P.S. rox monta automaticamente le directory corrispondenti ad un mountpoint di fstab quando ci clicchi sopra! :)
_________________
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
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Mon Nov 26, 2007 10:45 am    Post subject: Reply with quote

MeMyselfAndI wrote:
Ma l'automount e' ancora un problema ? Ma sul serio ?


si nel 2007 abbiamo ancora questo problema.
diciamo che gli utenti desktop arrivano dopo... ma lasciamo stare questo discorso per questa volta altrimenti m'arrabbio :evil:

@cazzantonio: sempre con hal+ivman ???
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Tue Nov 27, 2007 12:49 am    Post subject: Reply with quote

MeMyselfAndI wrote:
Ma l'automount e' ancora un problema ? Ma sul serio ?

Per me si, non uso di solito cose automatiche e ora che ho voglia di usarle non so come fare...
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Tue Nov 27, 2007 12:51 am    Post subject: Reply with quote

riverdragon wrote:
federico wrote:
eppure il mio gnome con hal e dbus non monta un tubo...
Il tuo utente è membro del gruppo plugdev?

onip wrote:

con gnome io utilizzo con soddisfazione gli strumenti propri di gnome
abbinati ad hal + dbus e all'inclusione del mio utente nel gruppo plugdev. E tutto funziona out of the box.
Certo, se poi vuoi qualcosa di esoterico....



No, l'ho messo ora ma faccio le prove domani, perche' sono fuso (e confuso :p), e vi so dire... Grazie a entrambi intanto.
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk


Last edited by federico on Tue Nov 27, 2007 12:55 am; edited 1 time in total
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Tue Nov 27, 2007 12:52 am    Post subject: Reply with quote

randomaze wrote:
"Cosa uso per ..." é decisamente una discussione ;-)

Moved from Forum italiano (Italian) to Forum di discussione italiano.


Sono mesi e mesi che non riesco a postare niente nell'altro forum, quasi non so neanche a cosa serva, c'e' qualcuno che ha davvero problemi di installazione? :) E' perche' vi ostinate a non usare
Code:

altair ~ # more /etc/make.conf
ACCEPT_KEYWORDS="~x86"

e ad evolvervi a nuovi problemi piu' spirituali :o
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Tue Nov 27, 2007 12:29 pm    Post subject: Reply with quote

Beh consgliare di usare un sistema non stabile non mi sembra il miglior modo per ridurre le domande sul forum.. o forse le volevi aumentare ?
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue Nov 27, 2007 2:41 pm    Post subject: Reply with quote

MeMyselfAndI wrote:
Beh consgliare di usare un sistema non stabile non mi sembra il miglior modo per ridurre le domande sul forum.. o forse le volevi aumentare ?


si dai, è ovvio: nel forum italiano (non discussione) ci sono poche domande. si fa come si faceva una volta, dove tutti quelli che venivano da debian testing mettevano subito ARCH="~x86" appena installavano, e così c'erano un sacco di richieste d'assistenza "genuine" ;) :lol:
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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