Bug 219840

Summary: use of spaces in local DVD mount point produces confusing "mount -a" output
Product: Red Hat Enterprise Linux 5 Reporter: Dave Wysochanski <dwysocha>
Component: halAssignee: David Zeuthen <davidz>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-15 19:47:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Wysochanski 2006-12-15 18:05:58 UTC
Description of problem:
Arguably this is a nit, but it is probably worth mentioning.  When you insert a
DVD it gets automouted at a point that has spaces in it.  That's fine if you're
just using the graphical browse tool.  However, if you want to use something
else (i.e. I wanted to do a xen guest OS install, so needed the local mount
point), the actual mount point is misleading to the eyes if you look at the
"mount" output.

Here's what I captured with ps for the automount part:

> root      5082  3380  0 12:52 ?        00:00:00 /usr/libexec/hal-storage-mount
> root      5083  5082  0 12:52 ?        00:00:00 /bin/mount -t iso9660 -o
noexec,nosuid,nodev,uid=11277,noatime,utf8 /dev/hda /media/FC-6 x86_64 DVD





Version-Release number of selected component (if applicable):
# rpm -qf /usr/libexec/hal-storage-mount
hal-0.5.8.1-17.el5
hal-0.5.8.1-17.el5


How reproducible:
Every time.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
# mount | grep media
/dev/hda on /media/FC-6 x86_64 DVD type iso9660
(ro,noexec,nosuid,nodev,noatime,uid=11277,utf8)


Expected results:
Output from "mount" that is not easy to fool the eyes - maybe use underscores or
dashes instead of spaces?

Additional info:

Comment 1 David Zeuthen 2006-12-15 19:47:57 UTC
No, it's a bug if tools can't handle spaces in mount points.

Comment 2 Dave Wysochanski 2006-12-18 14:54:47 UTC
Did you even read the bug?

Comment 3 David Zeuthen 2006-12-18 15:52:11 UTC
Sure I did! I agree my comment 1 was a bit misleading since I mentioned tools
and you mentioned something with output "being hard on the eyes".