[Dovecot] Deleting messages from MailDir

mouss mouss at netoyen.net
Thu Feb 14 19:23:55 EET 2008


Bill Cole wrote:
> At 12:27 PM +0100 2/14/08, Edgar Fuß wrote:
>   
>> Am 13.02.2008 um 14:56 schrieb Bill Cole:
>>
>>     
>>> Not on all filesystems. Note what HFS+ (MacOS) does:
>>>
>>> ~ $ ls -lc foo
>>> -rwxr-xr-x   1 wkc  wkc  332 Jan 29 03:32 foo
>>> ~ $ mkdir foodir
>>> ~ $ mv foo foodir
>>> ~ $ ls -lc foodir/foo
>>> -rwxr-xr-x   1 wkc  wkc  332 Jan 29 03:32 foodir/foo
>>> ~ $ date
>>> Wed Feb 13 08:39:24 EST 2008
>>>       
>> It's what I'd expect. In fact, it's what UFS does. Renaming a file doesn't change it's inode.
>>     
>
> That's not true for the Solaris 9 implementation of UFS:
>
> $ uname -a
> SunOS sysadm05 5.9 Generic_118558-21 sun4u sparc SUNW,Ultra-80
> $ df -k .
> Filesystem            kbytes    used   avail capacity  Mounted on
> /dev/md/dsk/d2       6050021 5050411  939110    85%    /
> $ grep dsk/d2 /etc/mnttab
> /dev/md/dsk/d2  /       ufs     rw,intr,largefiles,logging,xattr,onerror=panic,suid,dev=1540002 1202637838
> $ ls -lc jar_cache30536.tmp
> -rw-r--r--   1 colew    adm        64258 Jan 13 22:28 jar_cache30536.tmp
> $ mv $_ foo
> $ ls -lc foo              
> -rw-r--r--   1 colew    adm        64258 Feb 14 09:53 foo
>
>
>   

same under *BSD (tested on FreeBSD and NetBSD):

% ll -c foo
-rw-r--r--  1 mouss mouss - 30 Jan 11 00:20 foo
% mv foo bar
% ll -lc bar
-rw-r--r--  1 mouss mouss - 30 Feb 14 18:15 bar






More information about the dovecot mailing list