Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHPを使用して/ dev/sda2のランダムなinode番号から100個のランダムなファイルを取得する方法を知っている人はいますか?
iノード番号によるランダムファイル、それは可能ですか?
例: 56、1093、321、1231、4231、512... これらの番号は、ファイルの場所をランダムに指す inode 番号です。PHPを使用してそれらを取得する
いいえ、できません。i ノード番号ではなく、パスでのみファイルを検索できます。(すべてのファイルシステムにinode 番号があるわけではありません。)