Re: /media -> /run/media???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 18.08.2014 um 03:42 schrieb Nico Kadel-Garcia:
> On Sun, Aug 17, 2014 at 9:12 PM, Robert Nichols
> <rnicholsNOSPAM@xxxxxxxxxxx> wrote:
> 
>> The media would not get scrubbed since it is not yet mounted at that
>> point in the boot sequence. What _does_ get scrubbed is any leftover
>> /run/media/$USER directories and the temporary mount points they
>> contain, which is arguably preferable to allowing that cruft to
>> accumulate in /media.
> 
> Good luck with that. In a world where udisk2 was the only thing that
> mounted in /run/media/$user/medianame directories, that could be maybe
> relied on. But it's reliant on well behaved applications to follow a
> standard overlaid on top of a misreading of the file system hierarchy

you refuse to understand what a mountpoint is

* dynamic mountpoint get created
* media is mounted in that mountpoint
* on shutdown any media is unoumted unconditionally
* since the mountpoint is on tmpfs, well the empty dir don't exist after reboot
* nothing there scrubs the media, that's just not possible, there is no rm -rf anywhere

> As soon as someone else follows the _practice_ of mounting things in
> /run/media, and doesn't follow the extra and underdocumented
> requirements of protecting /run/media/$username, you're in trouble.
> 
> Sorry, it was an unnecessary change from day one. /media was already
> specified for just such removable media uses

well, agreed, but stop to pretend media get scrubbed

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux