-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 reopen 648579 tags 648579 + fixed-upstream pending thanks
On 2/18/2014 9:35 AM, Harald Dunkel wrote: > This is just 50% of the story. Since mount cannot create mount > points, you have to enter the directory name _twice_ (/etc/fstab > and on the mkdir command), giving you twice the probability to > introduce a typo, plus the probability to forget one step. > > Not to mention that some file systems are empty by default (e.g. > tmpfs used for /run and some subdirs). > > How about a command option to tell mount to create missing dirs? > The default behavior would be unchanged. This makes sense. I posted the idea upstream and it turns out they already did it in v2.23: mount now supports the option x-mount.mkdir[=mode] to create the mountpoint if it does not exist. This should hit debian unstable any day now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTA6GgAAoJEI5FoCIzSKrwux0H+wbqjGhghBFuSZmAI254UA0V 6enRs0PDqkiYbZ0DgzYZwlw6RsPKt7Om/uwZHN4iDNgSBhZhi/3wJLu/0IEtt3sY IKgU4t3PbU8ol2Er66SB5cjibY8Ud731uKuwEejrZv4HZxg/Zly7kx3vi+XvWGLE u0Q3Qzre88dSJz2/vbUAeZmSQHEabgiawKEMKw6hCGfLRgdqm+jlXoXlg4W/7/AO 6kzIhmb7RnaNbNTQSUBce9Aeuy4M/cv8x5m7AhS+QESfagXFF6F47AdF1P/Vi4b+ ZlQ8K8bxBI/pcXOUYS1GzTmyGSxaDcY9CbK8KiI7PZdZprYMW+eYD2DykuU8nU4= =7yca -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org