On Sunday, 23 de November de 2014 15:09:53 Vincent Danjean escribió: > 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,f > lush 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,f > lush 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,f > lush 0 0 /dev/mmcblk0p1 /media/photos vfat > noauto,user,rw,nosuid,nodev,shortname=lower,umask=0133,dmask=0022,utf8=1,f > lush 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
Yes, please do so. Admin should be able to point several media to be mounted to the same mountpoint, and if systemd can not cope with that, it is a bug in systemd. Anyway I see that you do not use the noauto option. Is that on purpose? Regards Noel er Envite
signature.asc
Description: This is a digitally signed message part.