larsbrinkhoff / linux-ddt

DDT for Linux
2 stars 2 forks source link

Filenames #4

Open aloofschipperke opened 6 years ago

aloofschipperke commented 6 years ago

The four-component filename from ITS provided many interesting features for DDT.

Device and sname can be mapped directly. Fn1 fn2 not so much.

One option is to not implement fn2 -- device:dir;fn

Opinions?

aloofschipperke commented 6 years ago

I haven't implemented ITS-type filename parsing, but I'm preparing for it. The code uses system calls such as openat(), which use a directory file descriptor, This maps nicely to "sname;".

No use of "dev:" yet,

aloofschipperke commented 6 years ago

The latest update includes filename parsing. dev: dir; filename Various arrangements of this should work. The only dev: is currently dsk:, which is /. The directory portion is parsed, but not supported yet.

aloofschipperke commented 5 years ago

Some special filenames. Showing as two-name filenames, so not yet listing them in a checklist.

.file. (dir) .m.f.d. (file) ..new. (dir) (typo here. correct one is ..new. (udir) < as fn1 or fn2 > as fn1 or fn2

eswenson1 commented 5 years ago

Are you sure the ..new. FN2 isn't (udir), rather than (dir)?

aloofschipperke commented 5 years ago

oof, yes. Noting it above.