#257 Issue closed
: DVD layout gets saved in disklayout.conf when mounted¶
Labels: bug
gdha opened issue at 2013-06-25 14:39:¶
On Fedora19:
# grep sr /var/lib/rear/layout/disklayout.conf
fs /dev/sr0 /media iso9660 options=ro,relatime
On OpenSuse 12.3:
# grep sr /var/lib/rear/layout/disklayout.conf
fs /dev/sr0 /run/media/gratien/openSUSE-12.3-DVD-x86_640110 iso9660 options=ro,nosuid,nodev,relatime,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2
fs /dev/sr0 /var/run/media/gratien/openSUSE-12.3-DVD-x86_640110 iso9660 options=ro,nosuid,nodev,relatime,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500
Seems like we forgot to exclude CD/DVD-rom devices in script
layout/save/GNU/Linux/23_filesystem_layout.sh
gdha commented at 2014-01-10 12:13:¶
The /usr/share/rear/layout/save/GNU/Linux/23_filesystem_layout.sh
script produces:
++ read device on mountpoint type fstype options junk
++ '[' dev/sr0 = /dev/sr0 ']'
++ '[' '!' -b /dev/sr0 ']'
++ [[ /dev/sr0 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/sr0 /media iso9660 '
++ case "$fstype" in
++ options='ro,relatime)'
++ options=ro,relatime
++ case "$fstype" in
++ echo -n ' options=ro,relatime
[Export of Github issue for rear/rear.]