| Anonymous | Login | Signup for a new account | 11-10-2008 10:45 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000281 | [BusyBox] Other | major | always | 06-03-05 00:39 | 02-18-08 04:59 | ||||
| Reporter | jbowler | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.00 | ||||||
| Summary | 0000281: mount -at <type> mounts all the file systems, not just those of type <type> | ||||||||
| Description |
mount -a -t nfs (and the like) is used within standard init scripts to mount only nfs file systems in fstab. Busybox mount accepts these options but ignores the -t nfs and mounts everything. This is bad because it remounts stuff like tmpfs partitions, obscuring any boot time setup already done in them. |
||||||||
| Additional Information |
The fix requires recognition of a somewhat extended set of 'type' options - the argument can be a list with an optional 'no' prefix to invert the test. The attached patch implements the fix. Notice that the semantics of 'no' are poorly defined - the behaviour of this patch matches the documentation of a recent mount version on Gentoo Linux as well as the actual use in a real shell script (which use does not correspond to the documentation, fortunately it just uses an undefined syntax...) |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |