:: Re: [DNG] Preferred automounter beh…
Góra strony
Delete this message
Reply to this message
Autor: sth
Data:  
Dla: dng@lists.dyne.org
Temat: Re: [DNG] Preferred automounter behavior?
as long as you're not using dash or something as a user, /mnt and /media are usually both 4 keystrokes (slash m _ tab), so the 'convenience' factor of /mnt is nil. but I'm not sure why you'd want to blindly auto mount every partition on an ambiguous USB device. maybe a conf file that you can add trusted UUIDs to if you _must_ auto mount?

--seth

> On 26 Dec 2015, at 06:40, Adam Borowski <kilobyte@???> wrote:
>
>> On Fri, Dec 25, 2015 at 04:32:58PM -0500, Stephanie Daugherty wrote:
>> FHS 2.3 apparently. They appear to serve mostly the same purpose, but /mnt
>> is specified as "temporarily mounted filesystems" while /media is specified
>> as just "removable media".
>>
>> Regardless, since the implementation of /media, automounters have tended to
>> mount stuff there, while things manually mounted have tended to be mounted
>> in /mnt, presumably avoiding conflict between what the administrator wants
>> to do and what the automounter wants to do - which is a good precedent to
>> follow IMHO.
>
> Actually, the difference _does_ matter. Paths under /mnt are made by the
> sysadmin and thus are secure, paths under /media are created based on
> untrusted input.
>
> These two need at least _some_ namespace disambiguation, and /mnt vs /media
> serves that purpose.
>
> --
> A tit a day keeps the vet away.
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng