Opened 12 years ago

Closed 12 years ago

#4443 closed defect (fixed)

/proc/mounts can contain escaped mount paths

Reported by: Nigel Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Mounted volumes that contain spaces:

% df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              4820232   2896276   1679796  64% /
/dev/hda3             33427104   1341396  32085708   5% /myth
tmpfs                   256640         4    256636   1% /dev/shm
/dev/scd1                 6360      6360         0 100% /media/Nigel Test Media-1

cause some recoverable errors:

% mythfrontend -v media
...
                 Device name/type | Current mountpoint
                 -----------------+-------------------
                           rootfs | /
                        /dev/hda1 | /
                             none | /proc
                             none | /sys
                        /dev/hda1 | /dev/.static/dev
                            tmpfs | /dev
                        /dev/hda3 | /myth
                            usbfs | /proc/bus/usb
                            tmpfs | /dev/shm
                        /dev/scd1 | /media/Nigel\040Test\040Media-1
                 =================+===================
2008-01-08 13:26:49.643 /dev/scd1 Disk OK, type = MEDIATYPE_UNKNOWN
2008-01-08 13:26:49.667 /dev/scd1 Current status MEDIASTAT_UNKNOWN
2008-01-08 13:26:49.728 Found a data disk
2008-01-08 13:26:49.750 Mountpoint '/media/Nigel\040Test\040Media-1' doesn't exist

Not a big problem, but I will try and fix it.

Change History (1)

comment:1 Changed 12 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [15376]) Deal with "\040" in /proc/mounts. Closes #4443

Note: See TracTickets for help on using tickets.