Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 20:17:55 +0200
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        samm@freebsd.org
Subject:   Re: smartmontools and update-smart-drivedb
Message-ID:  <20200429181755.GA2481@elch.exwg.net>
In-Reply-To: <SN6PR04MB5021A8218A5D99DEC45291A780AD0@SN6PR04MB5021.namprd04.prod.outlook.com>
References:  <SN6PR04MB5021A8218A5D99DEC45291A780AD0@SN6PR04MB5021.namprd04.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
## Carmel NY (carmel_ny@outlook.com):

> 1) Why is the "update" procedure deliberately removed from the port?

The svn history does mention it:
https://svnweb.freebsd.org/ports?view=revision&revision=527607
"Remove drivedb update binary as it will modify tracked files"
A port has no business modifying itself once installed - if
installed files have to be updated at runtime, these files should
live in /var/db/.
An acceptable solution in this case would be moving that drive db
to /var/db/smartmontools/ (or similar). When I start thinking about
that... perhaps the original (shipped) drive db should be kept as a
fallback, in case the user did not download (or delete) the updateable
drive db: I haven't seen any complaints about missing drive db updates
until now, which makes me suspect that for most people (me included)
the shipped drive db is "good enough" and few people ever tried to
update the drive db at all.

Regards,
Christoph

-- 
Spare Space



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200429181755.GA2481>