Weired things
Hi all,
I have got some strange things on my system.
As I do not understand, what is wrong, this is what I intend to do:
I want to automatically mount a sd-card (/dev/mmcblk0p1, with ext2)
to "/media/sd-card", and so I added the following line to /etc/fstab
/dev/mmcblk0p1 /media/sd-card auto defaults,user,rw 0 2
Additionally I intend to automount either a second sd-card (/dev/mmcblk1p1,
auto) as an cf-card (/dev/sde1, vfat). So here are the required auto.master:
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
/media /etc/auto.misc --timeout=60
# /smb /etc/auto.smb
# /misc /etc/auto.misc
# /net /etc/auto.net
# /media /etc/auto.misc
as well as the auto.misc
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
sd-card-ext2 -fstype=ext2 :/dev/mmcblk0p1
sd-card-fat32 -fstype=vfat :/dev/sde1
I cannot see any wrong in this configuration, but this is not working at all.
It is even not possible, to add a directory (sd-card) below /media !
stdout is telling me:
protheus2:/media# LANG=C mkdir sd-card
mkdir: cannot create directory `sd-card': No such file or directory
protheus2:/media#
Can someone tell me, what I am doing wrong ? When I try to add a new directory
using the midnight commander, it is telling me, the directory already exists.
Any help is welcome !
Regards
Hans
Reply to: