diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-24 02:14:10 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-24 02:14:10 +0200 |
commit | a2a902d82d88f849d97c53bd73b98111129e2248 (patch) | |
tree | 97365585e533533537e471a757112b3d488b145d /sutils | |
parent | 8bc29be6ce900f3e6c683d030fa69ca915fcd969 (diff) | |
download | hurd-a2a902d82d88f849d97c53bd73b98111129e2248.tar.gz hurd-a2a902d82d88f849d97c53bd73b98111129e2248.tar.bz2 hurd-a2a902d82d88f849d97c53bd73b98111129e2248.zip |
Also do not realpath "procfs" pseudo-device
* sutils/fstab.c (fstab_find_device): Do not realpath "procfs" pseudo-device.
Diffstat (limited to 'sutils')
-rw-r--r-- | sutils/fstab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sutils/fstab.c b/sutils/fstab.c index 9748ae9b..7540f3ca 100644 --- a/sutils/fstab.c +++ b/sutils/fstab.c @@ -490,7 +490,8 @@ fs_remount (struct fs *fs) inline struct fs * fstab_find_device (const struct fstab *fstab, const char *name) { - if (strcmp (name, "none") == 0 || strcmp (name, "proc") == 0) + if (strcmp (name, "none") == 0 || strcmp (name, "proc") == 0 + || strcmp (name, "procfs") == 0) return NULL; char *real_name = realpath (name, NULL); |