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
0000839 [BusyBox] Other minor always 04-15-06 10:46 02-11-08 10:10
Reporter clausmuus View Status public  
Assigned To BusyBox
Priority normal Resolution won't fix  
Status closed   Product Version svn
Summary 0000839: cab't make ext3 fs with mke2fs comand
Description It is not posible to make a ext3 fs with the mke2fs command like "mke2fs -j /dev/hda1". For that I must make a ext2 fs, mount it and after that I can make it to ext3 with the tune2fs command like "mke2fs /dev/hda1; mount /dev/hda1 /mnt; tume2fs /dev/hda1"
Additional Information
Attached Files

- Relationships

- Notes
(0001314)
alanh
04-21-06 06:16

Because of this piece of code in e2fsprogs/ext2fs/ismounted.c at around line 180 you get this...

#ifdef __linux__
        retval = check_mntent_file("/proc/mounts", file, mount_flags,
                                   mtpt, mtlen);
        if (retval == 0 && (*mount_flags != 0))
                return 0;
#endif /* __linux__ */

The problem is the check (*mount_flags != 0) which should be removed entirely to claim that the filesystem isn't mounted, as *mount_flags is 0 when the filesystem isn't mounted.
 
(0004004)
vda
02-11-08 10:10

mke2fs is no longer in busybox
 

- Issue History
Date Modified Username Field Change
04-15-06 10:46 clausmuus New Issue
04-15-06 10:46 clausmuus Status new => assigned
04-15-06 10:46 clausmuus Assigned To  => BusyBox
04-21-06 06:16 alanh Note Added: 0001314
04-21-06 08:05 alanh Issue Monitored: alanh
02-11-08 10:10 vda Status assigned => closed
02-11-08 10:10 vda Note Added: 0004004
02-11-08 10:10 vda Resolution open => won't fix


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker