Re: [PATCH] Add checks for new and tmp directories to mx_is_maildir()
Milan Straka <[email protected]>
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <aYXsGdzQ9YASnvwc@tensor> |
Hi all, > -----Original message----- > From: Crystal Kolipe via Mutt-dev <[email protected]> > Sent: 4 Feb 2026, 18:54 > > Well, if it's been written to a BD-R, for example, fixing it means re-writing > it to a new disc. That was the type of scenario I was thinking of, not a > regular partition mounted read-only, which could easy be changed. in case of such a situation, it should be simple do create a required structure and symlink the `cur` directory to the medium, right? Something like mkdir -p fixed_maildir/{new,tmp} ln -s /whatever_path/cur fixed_maildir/cur If someone decided to manually modify the maildir, I guess they are capable of fixing it this way (or in any of many other possible ways), and I would not complicate the source to handle it. Cheers, Milan S.
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEv7AjFJMzCctYtAgRcf41aucGSU0FAmmF7BkACgkQcf41aucG SU33SQ//VnhVwEWkKAmgO6RUiuvB0wcTCKVfzzcuKOgaqLtZHLk8QNvK66xuRPrL xXmi7PgR7SaiwIUVU+5CTu5HY8XZBAiECs2TIGBhNUxfAAur4pHQt8h3b1L6A8pz ZjiZD7Lhx2d4SOVxkvdmLCh7qEEyskXQjRmqH13LkZ4XUJF0rb6Cnjc5eGbjSVKy hOUZ3l/lV0GMBDeCqKoZ27Dsx/zGSyE+i/RJEz2H5/LwuZo0+p1jA0/ghWxDOSha /Hbt/0grAwu2ErplrNPjrs7Bfr6vhAqR020JnmcERHBPB12duqVY03ry+XbE2d49 tmezT5zOUTz7gDDn0pz9bDAfpH1iOA3EnQU7NfbVgAbusYRZgIvQPqtpQvZ9k8h8 jbwYXgiQ/UQ8Dem9oj2JnZuPtQ00jQB+5CBGJAsUsAgdkoZNP38bZjmigV7lucpH /mU6x9RFSjSEYslrMdN75m5Izgq4j9iMKNYP66JSjWGTC8t0IuNR9tutkt2siDax zeKvuwFwcbKFdDEjiz3tGGXGvu7bDGHWdYaepba42n4Fh31LN6f28udmwSuNQKfm /ZSwmYqTSjBkf8w+f4EIPXbuTXUwW6kLM9hU5QV08J2GHqT70DbJFtaCuU1otPY1 IWtyj3Og446UXBCstWgfLmr+8sQXfrMxd1nDjbwW2OxW3a4xqck= =0G+B -----END PGP SIGNATURE-----