Date: Thu, 6 Aug 2009 10:39:57 -0500 From: Jamie Ostrowski <jamie.ostrowski@gmail.com> To: freebsd-fs@freebsd.org Subject: Extracting block pointer list -- ffsinfo? Message-ID: <29ae62fc0908060839u430fb073hf5b9f7837f9bc8b6@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm a student studying filesystems, and I'd like to find a way to list the block pointers in an inode. Are there any tools in FreeBSD that can do that? For example, I've tried the following command, but I'm not seeing a list of the block pointers: ffsinfo -i 2 -l 256 /dev/da0s1f ===== START UFS2 INODE DUMP ===== # 0@28202200: Inode 0x00000002 mode u_int16_t 040755 nlink int16_t 0x0012 uid u_int32_t 0x00000000 gid u_int32_t 0x00000000 blksize u_int32_t 0x00000000 size u_int64_t 0x0000000000000200 blocks u_int64_t 0x0000000000000004 atime ufs_time_t 1249545661 mtime ufs_time_t 1243012475 ctime ufs_time_t 1243012475 birthtime ufs_time_t 1230822454 mtimensec int32_t 0x00000000 atimensec int32_t 0x00000000 ctimensec int32_t 0x00000000 birthnsec int32_t 0x00000000 gen int32_t 0x50291104 kernflags u_int32_t 0x00000000 flags u_int32_t 0x00000000 extsize int32_t 0x00000000 db ufs2_daddr_t[0] 0x bc8 ===== END UFS2 INODE DUMP =====
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29ae62fc0908060839u430fb073hf5b9f7837f9bc8b6>