[BusyBox 0000839]: cab't make ext3 fs with mke2fs comand
bugs at busybox.net
bugs at busybox.net
Fri Apr 21 13:16:52 UTC 2006
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=839
======================================================================
Reported By: clausmuus
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 839
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 04-15-2006 10:46 PDT
Last Modified: 04-21-2006 06:16 PDT
======================================================================
Summary: 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"
======================================================================
----------------------------------------------------------------------
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.
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
======================================================================
More information about the busybox-cvs
mailing list