From a163eb60bbcedcf0c668064c3bfa1ac9cdee3a3c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 11 Dec 2025 18:58:17 +0000 Subject: fstab2s6rc: doc typo fix; add binddep even for non-bind mounts --- src/s6-linux-utils/fstab2s6rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/s6-linux-utils/fstab2s6rc.c b/src/s6-linux-utils/fstab2s6rc.c index d48caaa..14d817a 100644 --- a/src/s6-linux-utils/fstab2s6rc.c +++ b/src/s6-linux-utils/fstab2s6rc.c @@ -212,7 +212,7 @@ static inline int add_fs (struct mntent *mnt, genalloc *root, stralloc *sa, uint e = process_servicename(sa, mnt->mnt_dir, 0) ; if (e) return e ; f.binddep = sa->len - 1 ; - if (mnt->mnt_fsname[0] == '/' && hasmntopt(mnt, "bind")) adjust_binddep(&f.binddep, mnt->mnt_fsname + 1, genalloc_s(fsent, root), genalloc_len(fsent, root), sa->s) ; + if (mnt->mnt_fsname[0] == '/') adjust_binddep(&f.binddep, mnt->mnt_fsname + 1, genalloc_s(fsent, root), genalloc_len(fsent, root), sa->s) ; return fstab_insert_mount(&f, root, sa->s) ; } -- cgit v1.3.1