:: Re: [DNG] slashes in FAT file names
Inizio della pagina
Delete this message
Reply to this message
Autore: Olaf Meeuwissen
Data:  
To: karl
CC: dng
Oggetto: Re: [DNG] slashes in FAT file names
Hi Karl,

karl@??? writes:

> Didier:
> ...
>> 2) there isn't a function in the C library which permits to change
>> the name of a file (or open it), except by giving its whole pathname.
>> Eg. it's not possible to open it from its directory entry.
> ...
>
> man openat
> man renameat


These still require a *pathname*, which is problematic in the case
Hendrik initially described as it contains a `/`.

I'm not sure whether Didier meant absolute or relative pathname but I'm
fairly certain that he was trying to point out that you cannot open or
rename a file using just its inode.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join