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

Re: Camera SD card mounting problems (defined by systemd)



On Mon, 03 Nov 2014 21:00:02 +0100
Eric Sharkey <eric@lisaneric.org> wrote:

> autofs isn't an option for /etc/fstab, it's a completely separate way
> to specify mounts.  For something like an sd card, you would add it to
> something like /etc/auto.misc instead of /etc/fstab.  autofs
> filesystems are not mounted at boot time, but dynamically, when an
> application tries to access the contents of the mount point.
> 
> For example, I have this in /etc/autofs.misc:
> 
> sdcard          -fstype=vfat,gid=video,umask=002
> :/dev/disk/by-id/usb-Generic-_SD_MMC_20060413092100000-0\:2-part1
> 
> and my sdcards are automatically mounted by attempting to read the
> contents of /var/autofs/misc/sdcard/.
> 
> Eric

Thanks Eric, you can learn a lot of useful stuff on this list if you just keep
poking it. Say something wrong get a clarification. That's good.

-- 
CK


Reply to: