pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46670: sysutils/e2fsprogs fix for DragonFly

>Number:         46670
>Category:       pkg
>Synopsis:       sysutils/e2fsprogs fix for DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 07 21:30:01 +0000 2012
>Originator:     Antonio Huete Jimenez
DragonFly BSD
DragonFly dfly32 3.1-DEVELOPMENT DragonFly v3.1.0.925.g104cf-DEVELOPMENT #140: 
Mon Jun 18 00:43:23 CEST 2012     
antonioh@dfly32:/usr/obj/home/source/dfbsd/sys/GENERIC  i386


Following patch makes e2fsprogs to work under dragonfly.
Build has been tested in both i386 and x86_64.

Basic tests have been performed:

dfly32# mkfs.ext2 -O ^resize_inode /dev/da1s1a
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: (unknown os)
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65280 inodes, 260790 blocks
13039 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 37 mounts or

dfly32# mount_ext2fs /dev/da1s1a /mnt/ext2/

dfly32# mount |grep ext
/dev/da1s1a on /mnt/ext2 (ext2fs, local)

dfly32# df -h /mnt/ext2
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/da1s1a   1.0G    20K   952M     0%    /mnt/ext2

dfly32# df -h /mnt/ext2
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/da1s1a   1.0G    20K   952M     0%    /mnt/ext2
dfly32# umount /mnt/ext2/
dfly32# fsck.ext2 /dev/da1s1a
e2fsck 1.41.12 (17-May-2010)
/dev/da1s1a: clean, 11/65280 files, 4111/260790 blocks

dfly32# tune2fs -l /dev/da1s1a
tune2fs 1.41.12 (17-May-2010)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          3d50c4f4-8516-42ee-ad68-b68c159c9fde
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr dir_index filetype sparse_super
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       (unknown os)
Inode count:              65280
Block count:              260790
Reserved block count:     13039
Free blocks:              256679
Free inodes:              65269
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8160
Inode blocks per group:   510
Filesystem created:       Sat Jul  7 23:25:46 2012
Last mount time:          n/a
Last write time:          Sat Jul  7 23:25:57 2012
Mount count:              0
Maximum mount count:      37
Last checked:             Sat Jul  7 23:25:46 2012
Check interval:           15552000 (6 months)
Next check after:         Thu Jan  3 22:25:46 2013
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group wheel)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Default directory hash:   half_md4
Directory Hash Seed:      ac9dca21-7e9c-471d-8eff-ef9409a59e72

Antonio Huete


Home | Main Index | Thread Index | Old Index