[BusyBox 0000839]: cab't make ext3 fs with mke2fs comand
bugs at busybox.net
bugs at busybox.net
Mon Feb 11 10:10:40 PST 2008
The following issue has been CLOSED
======================================================================
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: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 04-15-2006 10:46 PDT
Last Modified: 02-11-2008 10:10 PST
======================================================================
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.
----------------------------------------------------------------------
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
======================================================================
More information about the busybox-cvs
mailing list