FreeBSD Bugzilla – Attachment 154616 Details for
Bug 198731
Generated ext2/ext3 filesystem is reported to have corrupted directory inodes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Script that triggers the bug
bugraising.sh (text/plain), 551 bytes, created by
Arrigo Marchiori
on 2015-03-21 11:28:33 UTC
(
hide
)
Description:
Script that triggers the bug
Filename:
MIME Type:
Creator:
Arrigo Marchiori
Created:
2015-03-21 11:28:33 UTC
Size:
551 bytes
patch
obsolete
>#!/bin/sh >set -e -x > ># File to be used as backing store >backing_store=disk.img ># Size of the backing store [megabytes] >backing_store_size=128 ># Filesystem for mkfs and fsck [ext2 or ext3] >fs=ext2 ># Sleep time [seconds] >sleep_time=1 > >dd if=/dev/zero of=${backing_store} bs=1M count=${backing_store_size} >md=`mdconfig -a -t vnode -f ${backing_store}` >mkfs.${fs} /dev/${md} >mount -t ext2fs /dev/${md} /mnt >tar -C /mnt -xjf bugraising.tar.bz2 >sleep ${sleep_time} >umount /mnt >fsck.${fs} -f /dev/${md} || echo "**** ERROR DETECTED ***" >mdconfig -d -u ${md}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 198731
:
154616
|
154649