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

Bug#601144: freebsd-utils: mount can't mount /media/cdrom0 using /etc/fstab



Hi,

the problem is slightly different - problematic options in fstab.

1st, the "user" option is not supported.
2nd, the  cdrom cannot be mounted read-write and the error code
	is misleading:

bsd:~# grep cd0 /etc/fstab
/dev/cd0                /cdrom          cd9660  noauto  0       0
bsd:~# mount /cdrom
mount: /cdrom has unknown file system type

But with correct options

bsd:~# grep cd0 /etc/fstab
/dev/cd0                /cdrom          cd9660  ro,noauto  0       0
bsd:~# mount /cdrom
bsd:~# echo $?
0
bsd:~# mount | grep cdrom
/dev/cd0 on /cdrom (cd9660, local, read-only)


Petr




Reply to: