[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem automount und hotplug



On 04.Aug 2005 - 22:24:42, Enrico Apel wrote:
> Am Donnerstag, 4. August 2005 16:10 schrieb Andreas Pakulat:
> 
> > Da gibts auch nicht, lies die Doku zu usbmount und aendere die Konfig
> > bei Bedarf ab und das wars dann. Gemountet wird automatisch beim
> > "reinstecken".
> 
> Mit der Doku komm ich nicht so recht klar, da dort andere Anweisungen als
> dann in der conf stehen.
> 
> README
> The following environment variables are available to the scripts (in
                ^^^^^^^^^^^
> addition to those set in /etc/usbmount/usbmount.conf and by the hotplug
> and udev systems):

Diese Variablen haben nichts mit den Variablen in der Config zu tun.

> in der conf gibt es dagegen
> 
> MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
>              /media/usb4 /media/usb5 /media/usb6 /media/usb7"

Das sind die verfuegbaren Mountpoints, da kannst du nach Belieben neue
Verzeichnisse hinzufuegen...

> FILESYSTEMS="fat16 fat32 ext2 ext3 vfat"

Das sind die Dateisystem die auf deinen Sticks/Karten so existieren.

> MOUNTOPTIONS="sync,noexec,nodev,noatime"

Das sind die Mountoptionen.

> FS_MOUNTOPTIONS=""
> 
> Was würde mir denn nun die Angebe von VENDOR und MODEL bringen?

Keine Ahnung, wie gesagt ich kenne das Skript nicht wirklich (ist schon
ne Weile her).

> Aug  4 22:14:46 localhost usbmount[8487]: executing command: mount -tvfat
> -osync,noexec,nodev,noatime /dev/sda1 /media/usb2
> Aug  4 22:14:46 localhost usbmount[8487]: executing command:
> run-parts /etc/usbmount/mount.d

Also usbmount hat dir die Karte unter /media/usb2 eingehaengt.

> Das sieht demnach ja nicht schlecht aus, allerdings sind die Rechte
> root:root
> 
> Ich nehme an, dass ich nun mit diesem part aus der conf spielen muss

Ja.

> FS_MOUNTOPTIONS=""
> 
> Wahrscheinlich bewirken dann dmask und fmask etwas?

Du solltest fuer die jeweiligen Optionen die Manpage von mount
konsultieren. Eventuell reicht auch ein generelles umask=000 in den
MOUNTOPTIONS.

Andreas

-- 
You will be the victim of a bizarre joke.



Reply to: