TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
MicroSD-Speicherkarten benutzen …

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> eSOM/3517
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
kdw



Joined: 05 May 2006
Posts: 1460

PostPosted: 27.06.2013, 16:27    Post subject: MicroSD-Speicherkarten benutzen … Reply with quote

Hallo Forum.

Um eine MicroSD-Speicherkarte, die sich im On-Board-Steckplatz des eSOM/3517 befindet, in das Linux einzubinden, ist folgender mount-Befehl erforderlich:

Code:
mount –t vfat /dev/mmcblk0p1 /media/mmcp1


Der –t Parameter in diesem Beispiel steht für “FAT-Dateisystem”. Der Name „mmcblk0p1“ wird für Karten mit einer einzigen Partition benutzt.

Die Eingabe

Code:
umount /media/mmcp1


dient dazu, um eine MicroSD-Speicherkarte wieder vom eSOM/3517-Dateisystem zu trennen.

Gruß KDW
Back to top
View user's profile Send private message
kdw



Joined: 05 May 2006
Posts: 1460

PostPosted: 04.07.2013, 17:21    Post subject: Bei jedem Booten mounten … Reply with quote

Hallo Forum.

Wenn Sie die MicroSD-Speicherkarte bei jedem Bootvorgang automatisch in das Dateisystem einbinden wollen, gehen Sie bitte wie folgt vor:

1. Erzeugen Sie auf Ihrem PC eine Datei mit dem Namen autostart.sh und dem folgenden Inhalt:

Code:
#!/bin/sh

mount -t vfat /dev/mmcblk0p1 /media/mmcp1



2. Übertragen Sie diese Datei per FTP in das Verzeichnis /flash

3. Versehenen Sie die Datei im Verzeichnis /flash mit den folgenden Rechten:

Code:
chmod +x autostart.sh


Dieses Skript wird am Ende jedes Bootvorgangs automatisch ausgeführt und die MicroSD-Speicherkarte somit immer eingebunden.

Gruß KDW.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> eSOM/3517 All times are GMT + 1 Hour
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

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015