[BusyBox 0000562]: mount fails to mount "auto" filesystems
bugs at busybox.net
bugs at busybox.net
Fri Nov 25 18:14:50 UTC 2005
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=562
======================================================================
Reported By: iggarpe
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 562
Category: Standards Compliance
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-25-2005 10:14 PST
Last Modified: 11-25-2005 10:14 PST
======================================================================
Summary: mount fails to mount "auto" filesystems
Description:
Mount fails to mount those filesystems described in /etc/fstab as type
"auto".
The cause is that the standard C librar getmntent will return "auto" as
the filesystem type, and the mount.c code incorrectly checks for a NULL
string:
if (fsType || ...
Should be:
if (strcmp(fsType, "auto") || ...
Trivial patch attached.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-25-05 10:14 iggarpe New Issue
11-25-05 10:14 iggarpe Status new => assigned
11-25-05 10:14 iggarpe Assigned To => BusyBox
11-25-05 10:14 iggarpe File Added: mount-auto.diff
======================================================================
More information about the busybox-cvs
mailing list