[Unit] Description=CD-ROM mount (/media/cdrom) # Only run this unit if /dev/cdrom exists and is tracked via systemd. (systemd # ships with a udev rule to tag and symlink the first suspected cdrom device to # /dev/cdrom) BindsTo=dev-cdrom.device After=dev-cdrom.device DefaultDependencies=no Conflicts=umount.target Before=local-fs.target umount.target [Mount] What=/dev/cdrom Where=/media/cdrom Type=iso9660 Options=ro,defaults,nosuid,nodev,noexec,noatime