guix-devel/guix
Ludovic Courtès a5acc17a3c
file-systems: Remove 'title' field and add <file-system-label>.
The 'title' field was easily overlooked and was an endless source of
confusion.  Now, the value of the 'device' field is self-contained.

* gnu/system/file-systems.scm (<file-system>): Change constructor name
to '%file-system'.
[title]: Remove.
(<file-system-label>): New record type with printer.
(report-deprecation, device-expression)
(process-file-system-declaration, file-system): New macros.
(file-system-title): New procedure.
(file-system->spec, spec->file-system): Adjust to handle
<file-system-label>.
* gnu/system.scm (bootable-kernel-arguments): Add case for
'file-system-label?'.
(read-boot-parameters): Likewise.
(mapped-device-user): Avoid 'file-system-title'.
(fs->boot-device): Remove.
(operating-system-boot-parameters): Use 'file-system-device' instead of
'fs->boot-device'.
(device->sexp): Add case for 'file-system-label?'.
* gnu/bootloader/grub.scm (grub-root-search): Add case for
'file-system-label?'.
* gnu/system/examples/bare-bones.tmpl,
gnu/system/examples/beaglebone-black.tmpl,
gnu/system/examples/lightweight-desktop.tmpl,
gnu/system/examples/vm-image.tmpl: Remove uses of 'title'.
* gnu/system/vm.scm (virtualized-operating-system): Remove uses of
'file-system-title'.
* guix/scripts/system.scm (check-file-system-availability): Likewise,
and adjust fix-it hint.
(check-initrd-modules)[file-system-/dev]: Likewise.
* gnu/build/file-systems.scm (canonicalize-device-spec): Remove 'title'
parameter.
[canonical-title]: Remove.
Match on SPEC's type rather than on CANONICAL-TITLE.
(mount-file-system): Adjust caller.
* gnu/build/linux-boot.scm (boot-system): Interpret ROOT here.
* gnu/services/base.scm (file-system->fstab-entry): Remove use of
'file-system-title'.
* doc/guix.texi (File Systems): Remove documentation of the 'title'
field.  Rewrite documentation of 'device' and document
'file-system-label'.
2018-05-28 13:24:11 +02:00
..
build union: Do not warn about harmless collisions. 2018-05-17 10:48:37 +02:00
build-system gnu: android-make-stub: Update to 0.6.0. 2018-05-10 15:35:28 +02:00
import
scripts file-systems: Remove 'title' field and add <file-system-label>. 2018-05-28 13:24:11 +02:00
store
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
ci.scm Add (guix ci). 2018-03-28 16:17:06 +02:00
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
discovery.scm discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
docker.scm
download.scm download: Use ungrafted tools in 'url-fetch/tarbomb' and 'url-fetch/zipbomb'. 2018-04-23 15:25:56 +02:00
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: Disable deprecation warnings for 'imported-modules'. 2018-05-15 10:34:45 +02:00
git-download.scm
git.scm git: Increase modularity and expose 'update-cached-checkout'. 2018-04-02 23:16:30 +02:00
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
graph.scm
hash.scm
hg-download.scm
http-client.scm http-client: Send redirection messages to stderr. 2018-05-26 17:04:17 +02:00
i18n.scm
licenses.scm
man-db.scm
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm modules: Report the search path in &missing-dependency-error. 2018-04-08 17:41:08 +02:00
monad-repl.scm
monads.scm
nar.scm
packages.scm guix: Separate the package name and version with "@", not "-". 2018-05-08 21:55:46 -07:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Add hook to generate "gschemas.compiled". 2018-05-21 09:56:37 +02:00
profiling.scm
progress.scm
records.scm records: Insert record type ABI checks in constructors. 2018-05-23 10:21:02 +02:00
scripts.scm
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm self: Add "guix-packages-base" derivation. 2018-05-07 00:17:34 +02:00
serialization.scm
sets.scm
ssh.scm
store.scm
svn-download.scm
tests.scm
ui.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
upstream.scm discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
utils.scm utils: Add 'version-prefix?'. 2018-05-13 13:29:27 +02:00
workers.scm
zlib.scm