From owner-freebsd-current@freebsd.org Thu Apr 21 12:26:06 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A49F1B15524 for ; Thu, 21 Apr 2016 12:26:06 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from mail.rdsor.ro (mail.rdsor.ro [193.231.238.10]) by mx1.freebsd.org (Postfix) with ESMTP id 39D541E2A; Thu, 21 Apr 2016 12:26:05 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from [192.168.1.155] (unknown [86.125.33.32]) by mail.rdsor.ro (Postfix) with ESMTP id 4FB41C4A3; Thu, 21 Apr 2016 15:26:03 +0300 (EEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: [CFT] packaging the base system with pkg(8) From: Dan Partelly In-Reply-To: <20160421095706.GA57206@brick> Date: Thu, 21 Apr 2016 15:26:02 +0300 Cc: freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: <30F6CCDE-E099-49EF-9A1A-68F147FBF50B@rdsor.ro> References: <76093.1461096570@critter.freebsd.dk> <5716AD65.8070007@shrew.net> <5716FA70.4080604@freebsd.org> <571765BB.3050908@quip.cz> <79117ce18bd3332c7df3e55e12a161b4@rdsor.ro> <20160421095706.GA57206@brick> To: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2016 12:26:06 -0000 The scenario is: Let=E2=80=99s say I have autofs_enable , working with media map. If I have a CD in CD drive , all is well and when the system is fully = booted up /media contains a directory through which I can access the content of = the=20 CD-ROM. Now if you eject this CD , and insert a new one, nothing = happens. /media does not contain a new access point for the new disk inserted in = the=20 device. =20 What I would expect is when I change the media in Cd-rom , a new=20 access point for the volume in question should be reated in /media. Perhaps this functionality is exposed differently by the automounter, but them I would not expect the CDrom to be accessible at all though the=20= media map.=20 =20 > he problem here is that it's quite hard to fix, there's a risk > of breaking existing functionality, and the problem is largely = cosmetic. until you have more than 10 of them there, when it largely annoying. anyway, what is the reason it is very hard to fix and it would break = existing functionality. can you please shed some light ? =20 > Huh, never heard about that. I'd expect the existing mechanism to = handle > that case just fine. Could you submit a PR? > On 21 Apr 2016, at 12:57, Edward Tomasz Napiera=C5=82a = wrote: >=20 > On 0420T1545, dan_partelly wrote: >=20 > [..] >=20 >> Another example is the autofs mounter. The prject was marked as = complete >> by FreeBSD foundation in 2014. Last I tried it to autmount removable >> devices, it left directory after directory in the autofs managed = directory. >> This is known behavior. >=20 > Yup. The problem here is that it's quite hard to fix, there's a risk > of breaking existing functionality, and the problem is largely = cosmetic. >=20 >> It also did not worked as it should ??? (show it >> manage removable media correctly ) changing CD/DVD media disks. = Presumably >> In could have somehow manage it to work by making yet another = scaffolding >> of scripts as a questionable glue between devd and automounters. = That if >> devd receives media change notifications. I dont know. If not I could = patch >> the kernel, yeah. But it is just much to simple to not bother at all = and >> use OSx.=20 >=20 > Huh, never heard about that. I'd expect the existing mechanism to = handle > that case just fine. Could you submit a PR? >=20 > [..] >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"