On Mon, 16 Jun 2003, Leroy, Lode wrote:
> has anyone written an "ntfsls" that lists files in an ntfs volume?
There is in the old utilities but I would suggest to write a new one. It
shouldn't be very difficult... The library provides ntfs_readdir() and
ntfs_lookup_inode_by_name(). Those should be sufficient to implement the
equivalent of ls completely (obviously in addition to the othe library
functions like ntfs_inode_open(), etc).
> I'm "porting" the ntfs tools to cygwin, so I can access the filesystem
> at the lowest level. This actually works nice! Any interested parties
> on having a copy? You can actually look inside the filesystem while
> windows is running on it!
Yes, I would be interested, especially so if the changes are not too big
so that we can have ntfsprogs compile both on Linux and Win32/Cygwin.
Cheers,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|