Re: [PATCH 0/2] make automatic device_id generation possible

Minchan Kim
2015-03-05T01:33:14Z

On Thu, Mar 05, 2015 at 10:20:43AM +0900, Sergey Senozhatsky wrote:
> On (03/05/15 09:58), Sergey Senozhatsky wrote:
> > /* yet "/dev/zram$(id -u)" thing looks interesting */
> >
>
> hm, I can think of a huge build server with tons of users. /dev/zram$(id -u)
> created during user login and destroyed during logout. so users use theirs own
> zram devices with predictable device ids (which also makes it simpler for admin)
> for compilation/etc., and don't pressure hdds that much.

They upgraded the system and from now on, one of app tries automatic
id with zram for some reason. What happens if he gets some user id
before the user login? The system should have fallback in the case of
failing to create own userid assignment.

Hmm, Coexisting specific and automatic id assign seem to be not a
godd idea.

>
> -ss

--
Kind regards,
Minchan Kim