[Bug 242485] mount(8): not able to parse -e option for cd9660 filesystem
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 6 13:52:28 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242485
Bug ID: 242485
Summary: mount(8): not able to parse -e option for cd9660
filesystem
Product: Base System
Version: 12.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: vermaden at interia.pl
>From the *man mount* page.
Any additional options specific to a file system type that is not
one of the internally known types (see the -t option) may be
passed as a comma separated list; these options are distinguished
by a leading “-” (dash). For example, the mount command:
mount -t cd9660 -o -e /dev/cd0 /cdrom
causes mount to execute the equivalent of:
/sbin/mount_cd9660 -e /dev/cd0 /cdrom
Then '-e' option should be handled the same by *mount_cd9660* and *mount -t
cd9660* commands ... at least in theory.
In practice *mount(8)* can not handle the '-e' option for cd9660 filesystem as
shown below.
% file FreeBSD.iso
FreeBSD.iso: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,2),
end-CHS (0x3ff,255,63), startsector 1, 1816971 sectors
% mdconfig -a -t vnode -f FreeBSD.iso
md0
% mount -t cd9660 -e /dev/md0 /mnt
mount: illegal option -- e
usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type]
mount [-dfpruvw] special | node
mount [-dfpruvw] [-o options] [-t ufs | external_type] special node
% mount -t cd9660
(none)
% mount_cd9660 -e /dev/md0 /mnt
% mount -t cd9660
/dev/md0 on /mnt (cd9660, local, read-only)
Regards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list