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

Re: systemd, fstab, noauto and nofail



On 20/11/2014 21:44, Simon McVittie wrote:
> noauto is appropriate for detachable/removable media that are not
> normally present. The other option for such media is to leave them out
> of fstab altogether, and use something like udisks to mount them
> on-demand: that's what you'd typically do in GNOME or KDE or whatever.

  I found another issue with systemd and noauto.
I've a card reader that export various hardware port as different devices.
As, when I use it, I want to see my photo in /media/photos whatever
physical card type I use (it depends from which camera the card come
from), I have several lines in /etc/fstab :
/dev/disk/by-id/usb-Generic_USB_SM_Reader_058F412D8PB1-0:2-part1 /media/photos  vfat    noauto,user,rw,nosuid,nodev,shortname=lower,umask=0133,dmask=0022,utf8=1,flush  0 0
/dev/disk/by-id/usb-Generic_USB_SD_Reader_058F412D8PB1-0:0-part1 /media/photos  vfat    noauto,user,rw,nosuid,nodev,shortname=lower,umask=0133,dmask=0022,utf8=1,flush  0 0
/dev/disk/by-id/usb-Generic_USB_SM_Reader_000000000000100-0:3-part1 /media/photos       vfat    noauto,user,rw,nosuid,nodev,shortname=lower,umask=0133,dmask=0022,utf8=1,flush  0 0
/dev/mmcblk0p1  /media/photos       vfat    noauto,user,rw,nosuid,nodev,shortname=lower,umask=0133,dmask=0022,utf8=1,flush  0 0

  It always worked for me. I never put several cards at the same time
and I always found my photos under /media/photos.

  But, with systemd, I get at boot time a warning about systemd
not being able to correctly create generators (or something like
that) and, at runtime, my photos are not mounted under
/media/photos or not with the options I specify (I need to check
that exactly)

  Do you think I should do a bugreport ?

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0xD17897FA         vdanjean@debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main


Reply to: