OpenSolaris

Printable Version Enter a New Search
Bug ID 6579780
Synopsis zfs mount -o <invalid dataset> should report an error but does not
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Richard Morris
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_71
Fixed In snv_71
Release Fixed solaris_nevada(snv_71) , solaris_10u6(s10u6_01) (Bug ID:2156418)
Related Bugs
Submit Date 12-July-2007
Last Update Date 29-April-2008
Description
with latest 07/03 nightly,  the following 'zfs mount -o /pool/fs' command should return an error, but it doesnot do that:

bash-3.00# zfs list
NAME           USED  AVAIL  REFER  MOUNTPOINT
pool          10.2M  53.3M    21K  /pool
pool/fs         33K  53.3M    18K  /pool/fs
pool/fs@snap    15K      -    18K  -
pool/fs1        18K  53.3M    18K  /pool/fs1
pool/vol        16K  63.2M    16K  -
bash-3.00# zfs mount
pool                            /pool
bash-3.00# zfs mount -o /pool/fs        <== it should return with error
pool                            /pool
bash-3.00# echo $?
0
bash-3.00# zfs mount -o "" /pool/fs
cannot open '/pool/fs': invalid dataset name
bash-3.00# zfs mount /pool/fs
cannot open '/pool/fs': invalid dataset name
Work Around
N/A
Comments
N/A