Package: e2fsprogs
Version: 1.38+1.39-WIP-2006.04.09-1
Followup-For: Bug #366017

I also see this problem.  The following command:

mke2fs -c -c -j -L backup500 /dev/sdb1

Gives the following output:

mke2fs 1.39-WIP (09-Apr-2006)
Filesystem label=backup500
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
61063168 inodes, 122096000 blocks
6104800 blocks (5.00%) reserved for the super user
First data block=0
3727 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000

/dev/sdb1 is apparently in use by the system; it's not safe to run badblocks!
Writing inode tables:  ...

Note the error from badblocks.  The device is definitely not in use, by the way.

However, invoking badblocks directly:

badblocks -w /dev/sdb1 -s -b 4096 -o /tmp/bb

is successful.

I believe the test in badblocks for whether the device is in use is fairly new
so maybe mke2fs is leaving a file descriptor connected to the device when
invoking badblocks.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages e2fsprogs depends on:
ii  e2fslibs      1.38+1.39-WIP-2006.04.09-1 ext2 filesystem libraries
ii  libblkid1     1.38+1.39-WIP-2006.04.09-1 block device id library
ii  libc6         2.3.6-7                    GNU C Library: Shared libraries
ii  libcomerr2    1.38+1.39-WIP-2006.04.09-1 common error description library
ii  libdevmapper1 2:1.02.03-1                The Linux Kernel Device Mapper use
ii  libselinux1   1.30-1                     SELinux shared libraries
ii  libsepol1     1.12-1                     Security Enhanced Linux policy lib
ii  libss2        1.38+1.39-WIP-2006.04.09-1 command-line interface parsing lib
ii  libuuid1      1.38+1.39-WIP-2006.04.09-1 universally unique id library

e2fsprogs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to