BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000562 [BusyBox] Standards Compliance minor always 11-25-05 10:14 11-25-05 11:19
Reporter iggarpe View Status public  
Assigned To BusyBox
Priority normal Resolution duplicate  
Status closed   Product Version svn
Summary 0000562: 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.
Additional Information
Attached Files  mount-auto.diff [^] (459 bytes) 11-25-05 10:14

- Relationships

- Notes
(0000697)
vapier
11-25-05 11:19

Dupe of 534, attach your patch there please
 

- 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
11-25-05 11:19 vapier Note Added: 0000697
11-25-05 11:19 vapier Status assigned => closed
11-25-05 11:19 vapier Resolution open => duplicate


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker