Re: xfs_db

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

 



On 10/15/12 9:34 AM, Anshul Kundra wrote:
> Suppose in XFS file system I want to corrupt a inode of my choice,
> will it be possible using xfs_db
> 
> Xfs_db blockget < inode number > blocktrash < seed value and type of
> block >
> 
> In the manuals it is written that it takes a random inodes for the
> corruption which it does in actual practice, so can I use any
> specific command to corrupt the inode (131 )

As the manual says, blocktrash trashes random metadata blocks (possibly
of specified type).

You can, however, write whatever you want into various fields of
inode 131 via xfs_db, there's just no built-in random method to
do that.

-Eric

> 
> Thanks & Regards
> 
> Anshul Kundra
> 
> 
> 

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux